devxlogo

Tip Bank

Creating a Sorted List

Question: I am creating a touch screen directory for a hospital. All of departments are listed in alphabetic order as a button which, when pressed displays a map of the

Filling DBGrid Manually

Question: Id like to no how you address text to the DbGrid1 custom control. For example the Grid control addressesby How would I do this with the DbGrid1 custom control

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

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

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

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

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,

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

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