Tip Bank

DevX - Software Development Resource

Checking for Existence of a File

Question: How do you check to see if the name of a file you want to RENAME a file to already exists? Answer: Here is a great example of how

DevX - Software Development Resource

Selecting Visual Basic vs. Visual C++

Question: Where would you use Visual Basic over Visual C++? Answer: Well, personally, I’d almost always use VB over VC++ for a few reasons: Ease of use – it’s much

DevX - Software Development Resource

Running 32 Bit Applications

Question: I tried running a “hello world” VB4 32bit program from Win32 in Windows 3.1 (on a machine that has VB3 Pro and not VB4), which caused the following errors:VBRUN40032.DLL

DevX - Software Development Resource

Using Large Dynasets

Question: I have a VB app that I use to correct records on an Rdb database on a VAX. I am using Microsoft’s TCP/IP and DEC’sODBC drivers. Our databases can

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