devxlogo

Tip Bank

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

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

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

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

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

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

Event-Oriented Programming

Question: What’s the meaning of “event oriented programing?” Answer: Basically, it means that you program everything as a response to an event, instead of a topdown program where the ordering

Modifying Startup Project

Question: Is there a way to make VB skip that annoying new project it displays on startup. I work on existing projects 80%+ of the time. It would be even

One Large Program vs. Several Small Programs

Question: We have 4 good size programs, and we are considering consolidated theminto 1 single program. Combined, these 4 programs would have about 60 forms and a total of 500