Tip Bank

DevX - Software Development Resource

Sharing Data Between Forms

Question: I have a VB app that uses multiple forms. On the first form, I entercustomer information. The other forms calculate the cost of my services tomy customer. I would

DevX - Software Development Resource

Multiple Simultaneous Table Inserts

Question: I am programming a multiple table database and can’t figure out to link each table together so that when a person is posting data to one table that the

DevX - Software Development Resource

Passing to Functions

Question: Just started crunching similar code into functions. How do you pass an arguement to a function that references a control? It’s prob really simple eh? Answer: Here is an

DevX - Software Development Resource

Forcing List to Drop

Question: I have loaded a ComboBox with several items. When running, if I click on the down arrow the items will display in the drop down list box OK and

DevX - Software Development Resource

Disconnecting a Network Drive

Question: I understand how to connect a network drive using the WnetAddConnection API function; however, I do not know how to disconnect the network drive. How do I go about

DevX - Software Development Resource

Using Drawing Methods From DLL

Question: I wanted to create a front end GUI panel using VB. This panel would have command buttons, and a picture box. When the user clicks on a command button,

DevX - Software Development Resource

Checking for File Extension

Question: What’s wrong with this code :if file1.filename=”*.bmp” then picture1.LoadPicture(file1.filename) Answer: I’m guessing you’re trying to check the selected filename to see if it ends in .BMP, right? The problem

DevX - Software Development Resource

PEEKing and POKEing in VB 3.0

Question: How I peek and poke on Visual Basic 3.0, or is there a replacement available for the INP/OUT functions? Answer: In my File Archives area, I have a file

DevX - Software Development Resource

Benefits of Using Control Arrays

Question: Is there an advantage to using a control array instead of using x number of labels, textboxes, etc ? Answer: There are several advantages to using control arrays. First