devxlogo

Tip Bank

Templates

Question: I’m porting a UNIX app to NT; one of the class hierarchies includes something like this: template class base{ // stuff};template class derived : public base, public base{ //

Columns ListView Control

Question: How can I insert an item into different columns? Answer: To insert data into multiple columns, you use the same command as for single columns, except that in your

Don’t stop timers when a MsgBox is active

Not all developers know that Timer controls in compiled VB5 and VB6 applications aren’t stopped by MsgBox statement, so the Timer’s Timer event procedure is regularly executed even when the

Check whether a form is loaded

You can load several instances of the same form, but VB doesn’t let you determine how many forms of a given class are currently loaded. You can work around this

Open the list portion of a ComboBox control

To programmatically open and close the list portion of a ComboBox control, all you need is sending the CB_SHOWDROPDOWN message to the control. Here is a routine that encapsulate the

Registering DLLs in DHTML Applications

Question: I’ve just started using DHTML in Visual Basic 6.0 and have encountered a few glitches. When using ActiveX DHTML, where does the compiled DLL file have to be stored

The Advantages of XML Over CSV

Question: What is the advantage of XML over say, a comma delimited file? If you’re using it for data transfers between platforms, I would think that always having to explicitly