Tip Bank

DevX - Software Development Resource

Dynamically Generating Variable Names

Question: I have a number of objects, say shapes, which I have named s1, s2 , s3, s4 , s5.I would like to refer to the shapes fillcolor property witha

DevX - Software Development Resource

Unload vs. Hide

Question: My application makes use of different forms.I call forms by ‘hide’ the current form and ‘show 1’ to showthe next one.When I want to return to the previous form

DevX - Software Development Resource

Centering a Form on the Screen

Question: How do I center a form on the monitor regardless of monitor resolution? Answer: The Screen object contains the properties of the current display. In the Form_Load event, you

DevX - Software Development Resource

Changing Default Title on Window

Question: I made a copy of a project for a new application. The problem is that each time a message box is displayed it has the old project name as

DevX - Software Development Resource

Screen Saver Development

Question: What all do I need to know to create a screen saver in Visual Basic? Answer: Windows screensavers are easy and fun to write in Visual Basic, but there

DevX - Software Development Resource

Opening a Topic Through Code

Question: What steps do I take to open/ retrieve a particular help topic (usingContext string/ID) of a Help File? Answer: This code, using the CommonDialog control, could be put behind

DevX - Software Development Resource

Binding to a Database

Question: Is it possible to bind a cell in a grid with a database field (as we can do for text boxes and some other controls)? Answer: In VB3, the

DevX - Software Development Resource

Wait Window

Question: My VB application accesses Oracle on VAX and it takes atleast15 secs to get connected to Oracle. How can I display a waitwindow/msgbox/form while it is trying to connect