Platform SDK: DirectX |
This topic applies to applications written in Visual Basic
Although you can use the DirectSetup functions in your Visual Basic application by declaring references to the functions in your module, the recommended method is to use the Application Wizard. The following steps are used to distribute your application via compact disk.
Distributing your Visual Basic application
1. Start the Application Wizard
2. Remove DxVBLib.dll from the dependency list
3. Add all the files in the Redist folder from the DirectX SDK CD located in \Dxf\Redist\Directx7 for retail and \Dxf\Debug for debug
4. Click Finish to exit the Application Wizard
5. Overwrite Setup1.exe (created by the Application Wizard) with Setup1.exe from the support folder on the DirectX SDK CD
6. 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.
7. The files are now ready to be distributed via compact disk.