Tip Bank

DevX - Software Development Resource

Making the List Drop Automatically

Question: How can I make the combo box drop its list easily? Answer: On form load, do combo.additem , until allitems are placed into the combo list.To cause the combo

DevX - Software Development Resource

Flushing I/O Buffer

Question: Is there a way within VB to flush information sent to a file? Normally, information is buffered and not sentto the file until the buffer size is exceeded or

DevX - Software Development Resource

Putting Controls on a TabStrip

Question: The number of Tabs are determined at run time. Control Array of text boxes are established on Tab 0 at design time. Each tab is to contain the same

DevX - Software Development Resource

Incompatible Version Errors

Question: I know that there is a fix needed in order to use VB 3.0 and Microsoft Access 2.0. I have downloaded the file COMLYR.EXE and have run it. I

DevX - Software Development Resource

Trapping Cancel Button

Question: In a simple loop on a form with a Cancel Button:DoHere I want to Check to see if a user pushed a cancel button(Cancel Property is set to true)(While

DevX - Software Development Resource

Passing Variants to Methods

Question: I’m trying to call a method on my ActiveX control from VBScript. The method has one input argument (a long) and three output arguments (doubles). I Dim variables for

DevX - Software Development Resource

Managing Images in a Toolbar

Question: I’ve created a toolbar for an MDI app using a top-aligned panel and a number of image controls. When the user clicks on an “up” image, the image picture