DOCUMENT:Q195162 06-NOV-1998 [vbwin] TITLE :HOWTO: Use the Batch File Generated by PDW PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS:WINDOWS KEYWORDS:kbVBp kbVBp600 kbWizard kbAppSetup ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0 --------------------------------------------------------------------- SUMMARY ======= Launching the Batch file generated by the Package and Deployment Wizard (PDW) after making changes to the control does not include the latest version of the control in the cab file. Therefore, the changes are not reflected when you launch the HTML file. MORE INFORMATION ================ Here are the steps to follow to make sure that the latest version of the control is included in the cab file: 1. Compile your control after making/saving changes. Make sure that your control is Binary Compatible. To make your control binary Compatible, follow these steps: a. Before making the OCX for the first time, go to project properties, components tab and click the "no compatibility" button. b. Go to file menu and select "make OCX." c. Go back to the components tab under project properties and click the "Binary compatible" button. Type the complete path of the .OCX file you just created in the text box under that option, or click the command button next to the text box, which will bring the file dialog box up where you can select the .OCX file. d. Click OK. Go back to the file menu and make the OCX. Make sure you select the same OCX when prompted, and click "Yes" when asked if you want to overwrite the previous OCX. This assures that the control is binary compatible. 2. Copy the new version of the OCX in the support directory generated by PDW, as this is not updated. 3. Modify the .INF file to change the version number under the section for this control. 4. Now run the batch file. 5. Modify the .HTML file such that the codebase attribute has the version = . 6. Now launch the HTML file and the new version of the control should be downloaded on the client machine. REFERENCES ========== For additional information, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q190046 TITLE : INFO: VB6 Readme Part 6 - Wizard Issues Additional query words: ====================================================================== Keywords : kbVBp kbVBp600 kbWizard kbAppSetup Version : WINDOWS:6.0 Platform : WINDOWS Issue type : kbhowto ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.