devxlogo

October 1, 1996

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

Getting Entries from INI Files

Question: I want to read the MSMAIL.INI file to get information for my program when it starts, and write information there when the program is terminated. I am looking at