devxlogo

Tip Bank

Clearing the Contents

Question: Is there an easy way to clear a combo box’s contents, other than using the Clear method? Answer: One of my users suggested that if you add a space

Exiting and Restarting Windows

Question: I am currently writing and testing an installation program which will soon be distributed. During the this process, I edit the SYSTEM.INI file. Most Windows software willallow you to

Implementing Security

Question: I am looking for a easy way to implement security in a VB4 application with multiple users (100+). I would like to be able to enable/disable controls at login

Controlling Netscape

Question: I’m trying to write an application that loads URLs into the user’s web browser, but it’s based on the shell function and fires up a second Netscape window when

Varying Length Dynamically

Question: I know VB insists on a _constant_ for the array subscript. Has anyone found a way around this? I would like to set an array length equal to the

Using DISTINCT Clause

Question: I have a Access table and I want to pull from that table one of each type and place it into a combo box using SQL. How can I

Parsing Calculations Automatically

Question: A VB form displays select financial numbers from an Access DB. The user can build a calculation. If the arithmetic operation is stored as text in the DB, how

Creating a Password Box

Question: I am writing a Visual Basic application that will require the user to enter a password. I have a inputbox set up for the user to enter the password.