Tip Bank

DevX - Software Development Resource

Screen Saver Development

Question: What all do I need to know to create a screen saver in Visual Basic? Answer: Windows screensavers are easy and fun to write in Visual Basic, but there

DevX - Software Development Resource

Opening a Topic Through Code

Question: What steps do I take to open/ retrieve a particular help topic (usingContext string/ID) of a Help File? Answer: This code, using the CommonDialog control, could be put behind

DevX - Software Development Resource

Binding to a Database

Question: Is it possible to bind a cell in a grid with a database field (as we can do for text boxes and some other controls)? Answer: In VB3, the

DevX - Software Development Resource

Redirecting DIR Command Output

Question: How do I create the VB equivalent of the command belowDIR C: /S /B >MYFILE.LSTI need this routine for a program that keeps track of installedand removed files. Answer:

DevX - Software Development Resource

Multicolored List Box

Question: I have an input file whose structure consists of a code forforeground color, a code for background color, and some text.I’d like to display the text in a scrollable

DevX - Software Development Resource

Showing, Loading, and Unloading

Question: I have forms that I want to load, unload, and then load again. I use Show and Unload to do this. After I unload the form and try to

DevX - Software Development Resource

Creating a Rich Text Field

Question: How do I go about creating a RICH TEXT FIELD in VB ? Answer: This problem has been fixed in VB4…they included a rich textbox control. However, I don’t

DevX - Software Development Resource

Declaring DLL Functions

Question: A colleague wants to create a DLL using Borland C++ to callfrom Visual Basic 3.0 but she keeps getting an error message”Sub or Function Not Defined”.Do you know of