Tip Bank

DevX - Software Development Resource

Moving Controls on Screen

Question: I was wondering how you can move pictures and controls from one end of a screen (that part I know) and then have it go back or down? Answer:

DevX - Software Development Resource

Using the WITH Operator

Question: This code is in pascal how can i implement it in VB ? with treasuremap do move Answer: VB 3 does not support the With operator. (version 4 does,

DevX - Software Development Resource

Masked Edit Control: Clearing the Text

Question: Could you tell me how to clear a MaskEdit Field? Answer: To clear a masked edit field’s text, you first have to set the mask to “”, then set

DevX - Software Development Resource

Copying Controls and Code

Question: Is there a way to easily copy all theevent code for a control from one form to another or even within thesame form. As an example I have a

DevX - Software Development Resource

Accessing a DBGrid Cell

Question: How can get the Text contained in a specified Cell in DBGrid? Answer: If you set the Row and Col properties first, you can then look at the “Text”

DevX - Software Development Resource

Compilation Requirements

Question: I know I need VB40032.DLL to run my visual basic programs,but I was wondering if it is possible to make a VB executablethat does not require VB40032.dll. Answer: VB40032.DLL

DevX - Software Development Resource

Available Report Writers

Question: Is there a database query/report design tool with source code written in VB, that works reasonably fast. In addition to being relatively fast, the program would have to be

DevX - Software Development Resource

Passing Control Arrays to a Function

Question: Is it possible to pass a control array to a function? I have tried for days unsuccessfully, but nowhere in the VB ocumentation can I find that this is

DevX - Software Development Resource

Scrolling Image

Question: I cannot seem to find any documentation on how to scrollthe contents of a page. Can you help? Answer: The Visual Basic Knowlege Base, which is installed with Visual