Microsoft KB Archive/190251
Article ID: 190251
Article Last Modified on 4/18/2003
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q190251
The DHTML Page Designer does not add an Option Explicit statement to code by default. With this statement, Visual Basic requires you to declare variables before you use them.
To add Option Explicit to your DHTML Page Designer pages:
- Right-click on DHTML page in the Visual Basic Project window.
- Select View Code from the pop-up menu.
- Insert the text "Option Explicit" as the very first line.
- Repeat this process for all DHTML pages in the project and every time you create a new DHTML page.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Please see the following Microsoft Knowledge Base article for more information on the DHTML Page Designer:
190249 INFO: VB 6.0 Readme Part 9: DHTML Page Designer Issues
Keywords: kbbug kbpagedesigner KB190251