devxlogo

Tip Bank

Communication Between Forms

Question: I have two forms. There is a combo box on Form1 and a list box on Form2. Form1 has functions to add and delete names from the combo box.

Using Global Variables

Question: I have visual basic 2.0 Hopefully not for long. If I make a button that does a funtion like this. n = n + 1 print nit gives me

Manipulating Strings

Question: I don’t know how to access individual characters in a string.ie. accessing single elements in an array of characters.Each time I try I keep getting Type mismatch. Answer: You

Using Global Variables as Counters

Question: I am trying to put a counter in my program which will keep track of how many times a command button is pressed.I know it is simple but I

Exiting Program after Windows Close

Question: Just recently I noticed that if I close my app while it is minimized, the app seems to be left in memory and is still recognized by Windows as

Writing Data to Disk

Question: I have written a testing program that writes results to a grid.How do I write the grid to disk so that changes can be addedfrom testing session to testing

Moving the Mouse Pointer

Question: Can you tell me if its possible to move the mouse cursor to a specific screen location and then return control of it to the user. If it is

Binding Across Forms

Question: We want to use multiple VB forms with independent controls bound to independent data controls accessinga single table.In Vb 3.0, we are not able to save the controls dataof

Event-Oriented Programming

Question: What’s the meaning of “event oriented programing?” Answer: Basically, it means that you program everything as a response to an event, instead of a topdown program where the ordering