PDA

Click to See Complete Forum and Search --> : Activex Document DLL Problem


mleach2
Aug 7th, 2001, 12:31 PM
I have created an activex Document dll in VB6 using the doc migration wizard. I have compiled my project using the setup and package wizard.

When I try to view the .htm file that was created, it has a link on it to the .vbd form. When I click the link the "open with" window pops up. When viewing the html for this page the followng code is commented out:
"<HTML>
<OBJECT ID="docDiaView"
CLASSID="CLSID:624BBD0F-8B46-11D5-957A-0050BA4A9D61"
CODEBASE="DiaViewer4.CAB#version=1,0,0,0">
</OBJECT>

<SCRIPT LANGUAGE="VBScript">
Sub Window_OnLoad
Document.Open
Document.Write "<FRAMESET>"
Document.Write "<FRAME SRC=""docDiaView.VBD"">"
Document.Write "</FRAMESET>"
Document.Close
End Sub
</SCRIPT>"
</HTML>"


I thought this was supposed to display the .VBD form.
I tried removing the commented part and just using the html code above & viewing it that way but the same thing happens.

Any Ideas on what the problem is?

Thanks
ML