devxlogo

Tip Bank

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.

Switching Databases/DAO Levels

Question: How can I use Access 7.0 databases within my Visual Basic 4.0 Professional Application?Everytime I try to open such a database, I always get error messages. Answer: I’m guessing

Using User-defined Types Within Procedures

Question: This is a beginner’s question but in a smalldatabase application when I click on a commandbutton the code gives me the error message “Invalid Inside procedure” and highlights the

Locking Box Against Input

Question: I want to disable a text box without having its text dimmed. I know of one way, which is put the controlinto a picture box and disable the picture

Repairing a Corrupted File

Question: Not knowing that my hard disk was almost full, I tried to load a VB MAK file that I had created in VB3. When I did, a message said

Combining VB with C

Question: Can I write a module in Ansi C language and compile it together with a VB program? If cannot, how can I combine these two modules? Answer: You can’t

Monitoring Port

Question: Do you know if there is a Win API or Winsock call that will tell me when I’ve connected/disconnected to myinternet provider. Answer: What you might want to do

Type Declarations

Question: I define a user-defined type as follow..Type Complex Re As Double Im As DoubleEnd TypeI created a function like this…Function CompAdd( a As Complex, b As Complex ) As