By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,625 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,625 IT Pros & Developers. It's quick & easy.

Embed UserControl in IE from local assembly or GAC ?

P: n/a
I want to install a few .NET assemblies on the local machine and then
embed a UserControl in IE via COM -- in other words, I will wrap the
assembly in COM and call it form IE so that my UserControl (that is
installed locally) shows up on a web page.

Has anyone done anything like this before? I can't imagine this isn't
possible. Basically I want to leverage a .NET assembly installed on the
local machine from inside the browser (with permissions granted from
the user, of course).

Any ideas? Thanks for the help.

Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
The problem you will face is that the control is processed by IIS before
being given to the browser. IE knows nothing about the UserControl or
ASP.NET, but rather just renders the HTML. It is not really a matter of how
to get the UserControl rendered in IE. As long as it is given HTML, it is
fine. The problem is, what will process the ASP.NET code and generate the
HTML.

"Jeff Turner" <zi****@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I want to install a few .NET assemblies on the local machine and then
embed a UserControl in IE via COM -- in other words, I will wrap the
assembly in COM and call it form IE so that my UserControl (that is
installed locally) shows up on a web page.

Has anyone done anything like this before? I can't imagine this isn't
possible. Basically I want to leverage a .NET assembly installed on the
local machine from inside the browser (with permissions granted from
the user, of course).

Any ideas? Thanks for the help.

Nov 20 '05 #2

P: n/a
Peter - thanks for the reply.

I should clarify, that when I say "UserControl", I'm talking about a
WinForm UserControl, not an ASPNET control...

In more detail I'm actually trying to display a video preview window
from a webcam attached to the local machine that I control through a
(winform) UserControl installed on the local machine.

Nov 20 '05 #3

P: n/a
Peter, thanks for the reply.

I should clarify that when I say "UserControl" I'm talking about a
WinForm UserControl, not an ASPNET control...

In more detail, I'm trying to display a live video feed from a webcam
through a (winform) UserControl that is installed locally.

So I'm really trying to embed a WinForm control in the browser but I
want that control to be installed locally so it can have a specific set
of permissions that are set on install.

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.