devxlogo

Tip Bank

DevX - Software Development Resource

Definition of hDlg

Question: I want to make a list-combo visible but, I can’t get using API function :SendDlgItemMessage.What is “hDlg” in the following declaration?Declare function SendDlgItemMessage Lib “User” (Byval hDlg as Integer,

DevX - Software Development Resource

Creating Generic ToolTips Module

Question: I want to write a form module that is generic, that will give tooltips ability to any VB program. I need it to intercept mousemove messages so that it

DevX - Software Development Resource

Using Field Names With Spaces

Question: I have an established Access v2.0 database with fields intables named “Circuit ID”, for example. How can I use VB v3.0 to query this database without changing all references

DevX - Software Development Resource

Getting Procedure Location Name

Question: Can I get the name of the procedure that an error has occurred in?For example, I would like to send my error to a form that containsthe error number,

DevX - Software Development Resource

Putting a ProgressBar on a StatusBar

Question: Both the ProgressBar and the StatusBar appear to be welcome additions to the VB controls set. But, while I have had to create each of the various built-in StatusBar

DevX - Software Development Resource

Using Access 7.0/95 with VB 3.0

Question: I am working on a system with Windows ’95 and Office for Windows ’95. This includes Access 7.0. How can I get VB 3.0 to recognize databases I have

DevX - Software Development Resource

Creating 3D Forms

Question: I have been successfully using the CTL3DV2.DLL to make 3D message boxes and common dialogs, but I have not been able to get it to work with standard VB

DevX - Software Development Resource

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

DevX - Software Development Resource

Using Dynasets vs. Using Data Controls

Question: In writing a VB database application, is it more effecient to open up the database once in the beginning of the program, and build queries/recordsets to access the appropriate