Tip Bank

DevX - Software Development Resource

Creating Toolbars

Question: I’d like to create a floating window that has a small titlebar,like the VB toolbox window, for instance. In the VB FAQ,it says to see the sample program in

DevX - Software Development Resource

Creating Help Files for VB

Question: I am new to Visual Basic and wanted to know how to write those nifty little help files. Answer: Help files are fairly easy to create. All you need

DevX - Software Development Resource

Calculating Elapsed Time

Question: Do you know an algorithm that will give me the elapsed time froma beginning and end date/times (day:hh:mm:ss)? Answer: The DateDiff function, included with VB 3 and 4, will

DevX - Software Development Resource

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

DevX - Software Development Resource

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

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

Maintaining Focus on a Command Button

Question: I see that an input box appears to maintain a focus on one the command buttons even when entering text. How is this done? Answer: What you are seeing