Tip Bank

DevX - Software Development Resource

VB4 GetPrivateProfileString Problems

Question: I am trying to use GetPrivateProfileString to access INI entries in a INI file using Visual Basic 4.0. Whenever I try to run my program it produces the error

DevX - Software Development Resource

Closing DOS Window When Completed

Question: I have a real problem that in windows 95 when a dos shell is finished it does not close. I use these dos shells when interfacing to old equipment

DevX - Software Development Resource

Searching for Apostrophes

Question: When using VB4 and the Jet Engine with Access 2.0, I do I execute an SQL query that searches for a string that contains the apostrophe ? Answer: If

DevX - Software Development Resource

Detecting Combo Box List Retraction

Question: How would you detect the Retraction of a Combo Box Dropdown List in VB 4.0? I have asolution which claims to work under VB 3.0 andVB 2.0 using the

DevX - Software Development Resource

Grids with Spanning Columns

Question: I need a way to make a grid/table that would support headers and cell data spanning multiple rows as wellas multiple columns. Any ideas? Answer: VideoSoft has a product

DevX - Software Development Resource

Using Registry Editing Functions

Question: How do I get VB to edit the registry inruntime? Answer: The easiest way, assuming you’re in VB 4.0 and using Win95, is to use the GetSetting and SaveSetting

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