Tip Bank

DevX

CD-ROM Detection

Question: How can I find the CD-Rom drive letter(s) from Visual Basic 5.0? Answer: The simplest method is to call the Win32 GetDriveType API against drives C:-Z:.Private Declare Function GetDriveType

DevX

List boxes

Question: How can I put the output of a do-while loop in a list box then delete it for the next run?ex.o=0do (o=o+1)Randomize timerx=rnd( * 6)+1z=x*4Print z to loop Answer:

DevX

Browsing with Netscape

Question: I need a way to find the “netscape.exe” file using VB. Then I want to send them to an Internet address using API. Answer: What if Netscape isn’t installed?

DevX

Solving problems with Distributed PB Apps

Question: I had some problems with distributed applications. I developed a DPB project (both the server and the client). The server has a NVO that connects to a database and

DevX

Web Browser using VB 5

Question: I am currently writing software that will act as client and server software for a small ISP. I waswondering if there is any way to view web pagesusing Visual

DevX

Searching Multiple Files

Question: I use VB5 and I’m trying to search through multiple files for a string and open this file in a TextBox. How can I do this? Answer: There really

DevX

Year 2000

Question: Do you have any information on Year 2000 compliance effort for VB4 / VB5 systems? Answer: Visual Basic itself is and has been year 2000 compliant. The built-in Date

DevX

Bitmap size in PB toolbar

Question: How can I use a bitmap of 32X32 size for my toolbar icons? Does PB5.0 support this or is it necessary to shrink them to 16X16. Answer: The bitmap