Article ID: 258818
Article Last Modified on 5/11/2006
APPLIES TO
- Microsoft Internet Explorer 4.0 128-Bit Edition
- Microsoft Internet Explorer 4.01 Service Pack 2
- Microsoft Internet Explorer 4.01 Service Pack 1
- Microsoft Internet Explorer 4.01 Service Pack 2
- Microsoft Internet Explorer 5.0
- Microsoft Internet Explorer 5.01
- Microsoft Internet Explorer 5.5
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition Service Pack 3
This article was previously published under Q258818
SUMMARY
You distribute a Visual Basic DHTML application, but the application does not work correctly on some computer. Typically it gives run-time error 13, "type mismatch".
CAUSE
Either the application was developed on a computer with Internet Explorer 5.x and distributed to systems with Internet Explorer 4.x or it was developed on a computer with Internet Explorer 4.x and distributed to computers running Internet Explorer 5.x
RESOLUTION
Visual Basic DHTML applications developed on computers with Internet Explorer 4.x can only be run on computers with Internet Explorer 4.x, and applications developed on computers with Internet Explorer 5.x can only be run on computers with Internet Explorer 5.x.
MORE INFORMATION
The type library found in the Internet Explorer 4.x Mshtml.dll and in Internet Explorer 5.x Mshtml.tlb files are slightly different, and the virtual function tables are compiled to be slightly different when the .dll file is generated.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
241932 PRB: Run-Time Error 13 While Running VB DHTML Applications
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Additional query words: VB DHTML Type Mismatch
Keywords: kbprb kbdhtml KB258818