473,387 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Embed UserControl in IE from local assembly or GAC ?

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
3 1689
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dave McCracken | last post by:
I am hosting .Net UserControls in HTML pages with Object Tags. These UserControls are clients of remotable objects that run on the same machine. The remote objects execute callbacks via sponsor...
2
by: Eric Barr | last post by:
I've found myself using XSD files for my datasets. I'm loading them up from disk right now. I was hoping there was a way to embed the file in the assembly, so I could have access to it without...
0
by: keith | last post by:
I have a win app that will load a usercontrol which is in a dll file, e.g. UserControl1.dll. The UserControl1.dll refers another usercontrol which is in another dll file, e.g. UserControl2.dll. ...
7
by: Sky | last post by:
What I have currently: I have a user control called mod_container.aspx that is basically two divs -- the top a toolbar, that expands/collapse the second div which can contain other...
2
by: Sascha | last post by:
Hi there, I searched carefully through the web before finally deciding to post this message, because I could not find a solution for my problem. Hopefully someone will have a hint or explanation...
2
by: Kym | last post by:
I have an application which dynamically inserts a UserControls at run time. When I instansiate the UserControl I need to pass it an object however I am getting errors like... 'Value of type...
2
by: Alex Maghen | last post by:
I want to create a utility function that will seach the current page for one of my UserControls by it's type. So, let's say that I have a UserControl whose class I defined as follows: namespace...
0
by: Mark | last post by:
I am converting a VB6/COM application to VB.NET and must remove all COM objects. VB6/COM App Architecture: Windows Form hosts WebBrowser which loads HTML snippets from local disk. Some of the...
1
by: Kaysetoaster | last post by:
Hi Coding-Gurus :) I hope you can help me:) I'm trying to embed my VB.NET usercontrol into a HTML document. I builded one that returns some HTML code. When I call it on the body's event...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.