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 Distribution Wizard. To distribute your application through a compact disc, follow these steps.
Distributing your Visual Basic application
- Start the Distribution Wizard.
- Remove DX8VB.dll from the dependency list.
- Add all the DirectX 8 redistributable files. They are located in the \DXF\Redist\DirectX8 folder on the Microsoft® DirectX® 8 SDK CD.
- Click Finish to exit the Distribution Wizard.
- Overwrite the Setup1.exe file created by the Distribution Wizard with Setup1.exe from the \DXF\Samples\Multimedia\VBSamples\Misc\bin folder on the DirectX 8 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 Distribution Wizard.
The files are now ready to be distributed through a compact disc.