devxlogo

October 1, 1996

Getting all Filenames

Question: I am using VB4.0 Pro (16 bit) in WFWG and need to read entire directory of files, one after the other, without using the common dialog control. Answer: Look

Disconnecting a Network Drive

Question: I understand how to connect a network drive using the WnetAddConnection API function; however, I do not know how to disconnect the network drive. How do I go about

Modifying Startup Project

Question: Is there a way to make VB skip that annoying new project it displays on startup. I work on existing projects 80%+ of the time. It would be even

Pausing After Dialing

Question: How do you pause after dialing a phone number ? I want to be able to dial a pager number and then pause 3 -5 seconds before sending the

Setting Windows Wallpaper

Question: I am trying to use the API call SystemParametersInfo to change the Windows wallpaper. It works great in a Borland C program I wrote, but doesn’t work in VB.

Playing WAV Files

Question: How can I play WAV or MID files through Visual Basic? Answer: Use the MSMCI.VBX, provided with VB/Win Pro 3.0. You can also declare and call the MM-functions manually:Declare

Controlling Execution Flow

Question: How do you command a button to go to another form, I put like follows:Sub Double_Click ( ) GoTo form2 EndEnd Sub OR Sub Double_Click ( ) Load form2

Getting Windows Directory

Question: How do I determine the Windows directory? Answer: The API call to use is “GetWindowsDirectory”. The Declare statement is listed in the the Windows 3.1 API help and the

Creating a Status Bar

Question: How do I put a status bar at the bottom of an MDI parent form like in Word for Windows.Whenever I place a 3d panel on the form it