BUG: DHTML Page Designer Does Not Insert the <HTML> Tag (190255)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q190255 SYMPTOMS- The browser incorrectly displays your HTML page.
- Unexpected behavior occurs when you work on your page in the
designer window of your DHTML application.
CAUSE
DHTML Page Designer is not inserting an <HTML> tag at the beginning of the
HTML file it creates.
RESOLUTION
To work around this problem, use one of the following three options:
Option 1
Store your DHTML Page Designer page as an external HTML file. Edit the HTML
file manually using an external editor and insert the <HTML> tag.
Option 2
Import an existing HTML file when creating a new DHTML Page Designer page.
Option 3
Change the default DHTML Page Designer template so all HTML files have the
<HTML> tag. The template project is "DHTML application.vbp". This project
is stored under the Visual Studio folder in the VB98\Template\Projects
subfolder. NOTE: Save copies of all the files for the "DHTML application.vbp" (this is
the default DHTML Page Designer template) in a backup location in case
something goes wrong. Follow these steps: - Open the "DHTML application.vbp" project in Visual Basic.
- Open the DHTMLPage1 Properties dialog box.
- Select "Save the HTML as an External file".
- Select "Create new HTML file".
- Launch the external editor to edit this HTML page.
- Delete the two lines with <HTML> and <HEAD> tags (there seems to be a
corrupted character on one of them).
- Retype the <HTML> and <HEAD> tags.
- Open the DHTMLPage1 Properties dialog box.
- Select "Save HTML as part of the VB project".
- Select the File menu item and save both the DHTMLPage1.dsr file
and DHTMLPage1.vbp file
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
REFERENCES
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
Modification Type: | Minor | Last Reviewed: | 4/18/2003 |
---|
Keywords: | kbBug kbPageDesigner KB190255 |
---|
|