Tip Bank

DevX - Software Development Resource

Counting Lines in RichTextBox

Question: I want to develop a word-processor with VB 4.0 and the RichTextBox. I’ve got all the functions like bold, italic etc. but I’m missing a function to count the

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

DevX - Software Development Resource

Searching on Numerical Fields

Question: When using the FindFirst method I seem to be able to locate only records which are defined as strings using a variable in the search pattern. When I am

DevX - Software Development Resource

Updating Bound Controls

Question: In my program from a combo list one can select an item (that happens to be a table in an MDB file)so that the DATA1.recordsource matches the item selected