Tip Bank

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

DevX - Software Development Resource

Using Rnd Function

Question: Is there any way I can have a % chance in random events. (say you click on a button and you have a 30% chance of it doing one

DevX - Software Development Resource

Changing Picture Colors in File List Box

Question: How can I make the little folders yellow and the little drives gray in the File List Box? I have tried background color, this just makes the background of

DevX - Software Development Resource

Interpreting Command-Line Arguments

Question: How can I interpret the command line arguments for a .EXEcreated with VB ? Answer: The Command$ variable contains the arguments that were on the command line when a

DevX - Software Development Resource

Creating a Bit Field

Question: How do I create a bit-mask in VB? What I wish to do is “read” a binary number where each bit represents a different state for an electrical system.