devxlogo

Tip Bank

Passing Arrays to Functions

Question: How can I pass my array to function as parameter? Answer: A declaration would be as follows:Sub Foo (ArrayVar() as String * 4)The call to it would be as

Interform Communication

Question: I need to run a menu option from Form1 that actualy executes amenu option on Form2. What I have had to do is show Form2 and use SendKey to

Displaying Help

Question: How do you use the Common Dialog Box help. When I set all of the parameters and tried it, it didn’t display my helpfile. Answer: Did you set the

Buffer Return Problems

Question: I am feeling very sick and was wondering if you could help me. I am trying to access the Lan Manager 2.1 API and am having difficulty get return

Access 2.0 Requirements

Question: I have heard a vicious rumour going round that any programs I write in VB 3.0 using Access 2.0 will only be able to run on computers that have

Converting 4.0 Files to 3.0 Format

Question: I use version 4.0 and the school I go to uses version 3.0. I use windows 95 and they use windows 3.1. I know you can convert a 3.0

Creating Delays

Question: Can you suggest ways to delay sending keystrokes to the external application? I’ve tried inserting ‘For-Next’ loops of different durations but without success. Answer: Try a timer control. That

Deleting Control Code

Question: How do I delete a control AND the corresponding code? Answer: When a control is deleted, the code is listed in the (general) section in the Procedures drop-down list

Using Ampersands in Labels

Question: I can’t seem to figure out how to place a “&” sign in a text field or in a label’s caption. Answer: Try putting two ampersands next to each