PRB: Visual Basic Program Does Not Run on Other Computers
Article ID: 152609
Article Last Modified on 7/14/2004
APPLIES TO
- Microsoft Visual Basic 4.0 Standard Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 16-bit Enterprise Edition
- Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
This article was previously published under Q152609
SYMPTOMS
A Visual Basic program runs properly on the development computer. The
executable file, along with the associated control (.OCX) and .DLL files,
are copied to another computer. Attempting to run the program on the other
computer results in the error 424 with the following message:
You do not have an appropriate license to use functionality.
CAUSE
- The controls or DLLs used by the program were not registered in the
system registry of the other computer.
- Some controls used by the program require dependency files that need to
be installed and registered in the other computer.
- Some files, such as those for JET, are required to be in specific
directories.
WORKAROUND
Use the Setup Wizard in Visual Basic to create an installation program that
copies all the required files to the correct locations and makes the proper
registry modifications. To install the program into another computer, use
the installation program and the compressed files developed using Setup
Wizard to properly install the program.
STATUS
This behavior is by design.
Additional query words: kbvbp400 kbDSupport kbdss setup Error 424
Keywords: kbsetup kbprb KB152609