Tip Bank

DevX - Software Development Resource

Displaying Formatted Data

Question: I have defined a field as Double in my Table to store prices. Then I bound my database to a grid.I would like to display the contents of the

DevX - Software Development Resource

Automatically Converting to Uppercase

Question: I’m trying to use the KeyPress event to automatically uppercase what the user types. How do I do it? Answer: Put the following code into the KeyPress event of

DevX - Software Development Resource

Changing MDIChild Property at Runtime

Question: Is it possible to change the MDICHILD property atruntime? I will give birth to your children if you have an answer. Answer: Well, I have an answer, but you’re

DevX - Software Development Resource

Monitoring Line Status

Question: Is there a way to determine when your modem is connected and signed on to an Online Service such as MSN or America Online? I’ve tried using API calls

DevX - Software Development Resource

OpenTable Problems with ODBC

Question: Why does MyDb.OpenTable(“My_Table”) not work with a Sybase database? I get the error “Invalid Argument” Err Num 3001. Answer: ODBC does not allow you to do an OpenTable on

DevX - Software Development Resource

Using 16 bit DLLs in 32 bit VB 4.0

Question: Can I use 16 bit .DLLs in VB 4.0 32 bit? Answer: No, you can’t. In order to access it, you’ll either have to recompile the DLL (and possibly

DevX - Software Development Resource

Allowing Network Usage

Question: How do I turn a single pc VB3 application using MS Access2 into an app that’s capable of running on a network? Answer: Really, the basic thing you have

DevX - Software Development Resource

Using Counters

Question: I am designing a database as a correspondance register.Each bit of inwards and outwards mail is given a unique number. At present I have set up a counter field

DevX - Software Development Resource

Disappearing Controls

Question: At apparently random times, some controls disappear frommy form. Not all of the controls disappear. Minimizingand then restoring the form, as well as clicking onthe ‘invisible’ controls, brings them