Internet Explorer Window Form User Control - Embed - Urgent

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!!!!!!!!!!!
 
N

Natty Gur

Hi,

try to run gacutil /ldl. it should list all assemblies download by
explorer. look for those two assemblies that need to be download.
you can also try to use any dependency walker tool so find all
assemblies / dlls that should be available in order to successfully run
assembly from client machine.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
I

ib

try to run gacutil /ldl. it should list all assemblies download by
explorer. look for those two assemblies that need to be download.
you can also try to use any dependency walker tool so find all
assemblies / dlls that should be available in order to successfully run
assembly from client machine.

Natty Gur[MVP]

Natty,

Thanks for the advice, due to some other constraints having to do with
Active X security and issues with the content we were trying to embed
in the browser control, we have decided to use a popup window instead
of the Active X control.

I very much appreciate your timely response to this question.

Ilan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top