Installing DirectX for Visual Basic Applications
Although you can use the Microsoft® DirectSetup® functions in your Microsoft Visual Basic® application by declaring references to the functions in your module, the recommended method is to use the Application Wizard. To distribute your application through a compact disc, follow these steps.
Distributing your Visual Basic application
- Start the Application Wizard.
- Remove DxVBLib.dll from the dependency list.
- Add all the files in the Redist folder from the Microsoft DirectX® SDK CD located in \Dxf\Redist\Directx7 for retail and \Dxf\Debug for debug.
- Click Finish to exit the Application Wizard.
- Overwrite Setup1.exe (created by the Application Wizard) with Setup1.exe from the support folder on the DirectX SDK CD.
- If you are using Visual Basic 5.0, use the compress utility to compress Setup1.exe to Setup1.ex_. If you are developing on Visual Basic 6.0, run the batch file created by the Application Wizard.
The files are now ready to be distributed through a compact disc.