Tip Bank

DevX - Software Development Resource

Showing, Loading, and Unloading

Question: I have forms that I want to load, unload, and then load again. I use Show and Unload to do this. After I unload the form and try to

DevX - Software Development Resource

Creating a Rich Text Field

Question: How do I go about creating a RICH TEXT FIELD in VB ? Answer: This problem has been fixed in VB4…they included a rich textbox control. However, I don’t

DevX - Software Development Resource

Declaring DLL Functions

Question: A colleague wants to create a DLL using Borland C++ to callfrom Visual Basic 3.0 but she keeps getting an error message”Sub or Function Not Defined”.Do you know of

DevX - Software Development Resource

Copying a File

Question: How do I write VB code to copy one file to another? Answer: You can either use the FileCopy Visual Basic command, or use the method outlined elsewhere in

DevX - Software Development Resource

Detecting Microsoft Video for Windows

Question: I need to inquire if Video for Windows has been installed beforeattempting to play an AVI file. How can I do this? Answer: All versions of Windows keep track

DevX - Software Development Resource

Using Seek Method

Question: I am currently migrating my VB/Access application to Microsoft SQL Server. However, the “SEEK” function in my old program does not work any more and I can not find

DevX - Software Development Resource

Embedding Registration Information

Question: Is it possible to edit a VB3 executable at runtime, i.e. inserting Registered user name and serial number information into the executable so that it can come up when

DevX - Software Development Resource

Editing Forms Directly

Question: I want to present screens of text in an application. I plan to use label controls and would like to cut and paste the text from my word processor

DevX - Software Development Resource

Panel Controls Not Painting Correctly

Question: I have a 3D Panel on a form that fills in incrementally when certain operations are run. I expect that the panel should be visible when the form appears