I
ib
Hi,
This is URGENT, THANKS!
Without getting into the "why", here's what I'd like to do, followed
by where I am:
1. I would like to embed an Internet Explorer user control within
Internet Explorer. I do not want to use IFRAME to simply call up
another page.
Where I am:
1. I've "scoured" the net and my books on how to approach this problem
and have been able to develop and test a generic Window Form with a
treeview control in it.
- The dll is created and copied to the root directory of the
application.
- The following OBJECT code is used:
<OBJECT id="MyWinControl1" height="200" width="200"
classid="http:WinControls.dll#WinControls.WinTreeview" VIEWASTEXT>
</OBJECT>
- The control appears to load into the page and operate correctly.
2. Following the success of (1) I create a new Window Form User
Control that embeds the "Internet Web Browser" control in it.
Further, I test this contorl in a Windows Application setting and it
works.
- The dll is created and copied to the root directory of the
application (same as above)
- The following OBJECT code is used:
<OBJECT id="MyWinControl3" height="200" width="200"
classid="http:IEControl.dll#IEControl.myie" VIEWASTEXT>
</OBJECT>
- The control DOES NOT load into the page (I get a blank image box)
- I suspect this has to do with the control's ability to access the
following two dlls, created as part of the new control:
Interop.SHDocVw.dll and AxInterop.SHDocVw.dll. I've placed these 2
dlls in the root directory as well, but to no avail.
Does ANYONE have any idea what the issue may be? Also, if you have an
example of an embedded web browser control in a page that would be
teriffic! I'm on a time sensitive project, thanks!!!!!!!!!!!
This is URGENT, THANKS!
Without getting into the "why", here's what I'd like to do, followed
by where I am:
1. I would like to embed an Internet Explorer user control within
Internet Explorer. I do not want to use IFRAME to simply call up
another page.
Where I am:
1. I've "scoured" the net and my books on how to approach this problem
and have been able to develop and test a generic Window Form with a
treeview control in it.
- The dll is created and copied to the root directory of the
application.
- The following OBJECT code is used:
<OBJECT id="MyWinControl1" height="200" width="200"
classid="http:WinControls.dll#WinControls.WinTreeview" VIEWASTEXT>
</OBJECT>
- The control appears to load into the page and operate correctly.
2. Following the success of (1) I create a new Window Form User
Control that embeds the "Internet Web Browser" control in it.
Further, I test this contorl in a Windows Application setting and it
works.
- The dll is created and copied to the root directory of the
application (same as above)
- The following OBJECT code is used:
<OBJECT id="MyWinControl3" height="200" width="200"
classid="http:IEControl.dll#IEControl.myie" VIEWASTEXT>
</OBJECT>
- The control DOES NOT load into the page (I get a blank image box)
- I suspect this has to do with the control's ability to access the
following two dlls, created as part of the new control:
Interop.SHDocVw.dll and AxInterop.SHDocVw.dll. I've placed these 2
dlls in the root directory as well, but to no avail.
Does ANYONE have any idea what the issue may be? Also, if you have an
example of an embedded web browser control in a page that would be
teriffic! I'm on a time sensitive project, thanks!!!!!!!!!!!