ActiveX DLL control help
-
I'm trying to create an ActiveX DLL control in VB but I'm running into one snag. I want a simple form in the ActiveX control that has a scrollbar and a few buttons. This is working except that my form/dialog is popping up outside of IE. I want it to show up in IE (using the OBJECT tag) like a control embeded in the web page. Any suggestions? It seems like I just need to make the form a child of the main class or IE somehow.
' MainClass
Private TheForm As TimeAdjustForm
Private Sub Class_Initialize()
Set TheForm = New TimeAdjustForm
TheForm.Visible = True
End SubPrivate Sub Class_Terminate()
Set TheForm = Nothing
End SubTodd Smith
-
I'm trying to create an ActiveX DLL control in VB but I'm running into one snag. I want a simple form in the ActiveX control that has a scrollbar and a few buttons. This is working except that my form/dialog is popping up outside of IE. I want it to show up in IE (using the OBJECT tag) like a control embeded in the web page. Any suggestions? It seems like I just need to make the form a child of the main class or IE somehow.
' MainClass
Private TheForm As TimeAdjustForm
Private Sub Class_Initialize()
Set TheForm = New TimeAdjustForm
TheForm.Visible = True
End SubPrivate Sub Class_Terminate()
Set TheForm = Nothing
End SubTodd Smith
As far as I know there is no way to directly display a VB form on a web page. You would have to build your form as a visual OCX control.
Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."