The information in this article applies to:
SUMMARY
The information below includes the documentation and workarounds for Visual
Basic 6.0. This information can also be found in the README.htm file that
ships with Visual Basic 6.0 on the Visual Basic 6.0 CD-ROM. Please see the
REFERENCES section of this article for a list of the Microsoft Knowledge
Base articles relating to the Visual Basic 6.0 readme.
MORE INFORMATIONSample File LocationsIf you choose to include Visual Basic samples in your MSDN setup, they are installed to the directory:
If you choose not to include the Visual Basic samples in your MSDN setup, you can find the Visual Basic samples on the MSDN CD at:
NOTE: The drive letters mentioned above may vary on your system. Visual Basic Sample: Biblio and Mouse Samples OmittedThe Biblio sample program, found in the Visual Basic documentation table of contents, is no longer included with the Visual Basic product. The Mouse sample, mentioned in "Responding to Mouse and Keyboard Events" is also no longer included with the product.Visual Basic Samples: ChrtSamp DescriptionChrtSamp is a new sample program included with Visual Basic that demonstrates the major features of the MSChart control. If you have installed the Visual Basic samples, the sample can be found in the following location on your hard disk:
If you have not installed the Visual Basic samples on your hard disk, the sample can be found on the MSDN CD at the following location:
The sample uses an Excel spreadsheet to supply data for a chart. The sample also allows you to display multi-series charts by clicking various buttons. Finally, the sample demonstrates 3D features of the control by setting the ChartType property to an appropriate value.
To RunPress F5 to run the sample. After all data has loaded, click on the "Chart Type" to change the type. To see the three-dimensional features of the sample, click the Chart Type combo box and select a 3-D chart type, such as 3dArea. While holding down the CTRL key, right-click the chart, and use the cursor to change the aspect of the chart.Visual Basic Samples: CtlsAdd Sample: Controls.mdb Must Be Read/Write Enabled on Hard DiskIf you attempt to run the CtlsAdd samples from the MSDN CD, an error will occur if you attempt to use the controls.mdb database found on the CD. Because CtlCfg.vbp sample uses an Access database (controls.mdb) to store license key information about controls, the database must be installed on a hard disk. Copy the controls.mdb file to the hard disk and make it writable.DHSHOWME.VBP Sample: You May Need to Reset the SourceFile Property For This Sample to Work Correctly in Design ModeIf your Page Designer samples appear blank when you open them in design mode, please reset the SourceFile property to reflect the location on your computer to which the project's HTML files were installed. You must reset this property for each designer in the project. Your sample should then work correctly.To reset the SourceFile property for a designer, either type a path directly into the SourceFile property in the Properties window, or select the Project Properties icon from the toolbox, click Save as an External File, then click Open and navigate to the correct .htm file. PROPBAG.VBP Sample: Possible Error on Loading the Module for this SamplePropbag.vbp references a module (Module1.bas) that is located in the default installation directory for MSDN samples. If you move this sample to another directory, you will receive an error when you open the project that the module path is incorrect. To fix this, load the project without the module, then re-add the module from the directory to which you installed your samples.Running the IObjSafe Sample ApplicationDue to some late-breaking changes, the IObjSafe sample application (IObjSafe.vbp) will not run properly unless you first make the following modifications:Load the IObjSafe.vbp project file into the development environment. Choose ucObjSafety Properties from the Project menu. On the Debugging tab, delete the path and file name from the Start program text box. Type the actual path and file name for IObjSafe.htm in the Start browser with URL text box. The actual path may vary depending on your installation. Choose Options from the Tools menu. On the General tab, choose the Break on Unhandled Errors option button. The application should now run properly. An updated version of the IObjSafe sample application is available online at the Microsoft Visual Basic samples page. Obtaining Updated Versions of Sample ApplicationsUpdated versions of many of the Visual Basic sample applications, as well as additional samples not included on the CD, are available online at the Microsoft Visual Basic samples page.REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base:
Q170164 : INFO: VB 6.0 Readme Part 1: Important Issues - Read First
Keywords : kbreadme kbVBp kbVBp600 |
Last Reviewed: January 6, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |