Article ID: 241932 - Last Review: May 11, 2006 - Revision: 3.0 PRB: Run-Time Error 13 While Running Visual Basic DHTML ApplicationsThis article was previously published under Q241932 On This PageSYMPTOMS
When running Visual Basic Dynamic HTML (DHTML) Projects on machines with Internet Explorer 5 or later installed, the following error message appears:
Run-time error '13': Type mismatch CAUSE
The first parameter of the above two functions is of type HTMLDocument and BaseWindow.Document cannot be passed to it.
RESOLUTION
Change the first parameter of the PutProperty and the GetProperty declaration objDocument As HTMLDocument to objDocument As Object. As in the following example:
MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites: http://msdn.microsoft.com/ie/
(http://msdn.microsoft.com/ie/)
For additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
http://support.microsoft.com/iep (http://support.microsoft.com/iep) 190249
(http://support.microsoft.com/kb/190249/EN-US/
)
INFO: VB 6.0 Readme Part 9: DHTML Page Designer Issues
190050
(http://support.microsoft.com/kb/190050/EN-US/
)
PRB: BuildFile Property of DHTML Application Is Missing
| Article Translations
|
Back to the top
