473,327 Members | 1,892 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,327 software developers and data experts.

asp.net control to run in web page like just COM

Hi All,

I need to run a ASP.NET (C#) native compiled binary on a web page. COM
runs using a OBJECT tag, I need to know how can a .net control run in
the same manner. If possible, what are the browser constraints if any.

Regards,
Vikas
Feb 10 '06 #1
3 920
Are you trying to use Windows Forms Controls in Internet Explorer?

http://samples.gotdotnet.com/quickst...eSourcing.aspx

"vikas" <vy****@csmails.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,

I need to run a ASP.NET (C#) native compiled binary on a web page. COM
runs using a OBJECT tag, I need to know how can a .net control run in
the same manner. If possible, what are the browser constraints if any.

Regards,
Vikas

Feb 10 '06 #2
Thanks Ken!

Just one query, the classid has "http:SimpleControl.dll#" - what url is
that? Does the web user should alrweady have the control installed?
SimpleControl.dll is not a domain name. or does it assume the file is in
the current directory? can i write
"http://somwewhere.com/dlls/control.dll#assembly.control"?

Regards,
Vikas

Ken Cox - Microsoft MVP wrote:
Are you trying to use Windows Forms Controls in Internet Explorer?

http://samples.gotdotnet.com/quickst...eSourcing.aspx

"vikas" <vy****@csmails.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,

I need to run a ASP.NET (C#) native compiled binary on a web page. COM
runs using a OBJECT tag, I need to know how can a .net control run in
the same manner. If possible, what are the browser constraints if any.

Regards,
Vikas


Feb 10 '06 #3
Yes, you can use windows forms controls within ASP.NET applications. There
are some security (and other) limitations that you should be aware of, and
the syntax must be very precise. I've detailed this information here:
http://SteveOrr.net/articles/WinformControls.aspx

--
I hope this helps,
Steve C. Orr
MCSD, MVP
http://Steve.Orr.net

"vikas" wrote:
Hi All,

I need to run a ASP.NET (C#) native compiled binary on a web page. COM
runs using a OBJECT tag, I need to know how can a .net control run in
the same manner. If possible, what are the browser constraints if any.

Regards,
Vikas

Feb 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: paul meaney | last post by:
All, myself and another developer have been staring blankly at a screen for the past 48 hours and are wondering just what stunningly obvious thing we are missing. We are trying to load up 2...
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
4
by: Andrea Williams | last post by:
I'm trying to set up a user control and change some values from the aspx page, but I keep running into trouble. What I really would like to do is be able to set a Label.Text in the user control...
3
by: MattGood | last post by:
Hi! I can't show a ascx-control in a correct manner when the ascx-control uses another ascx-control, the IsPostBack and ViewState's etc. don't seems to work, problably because there can only be...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
9
by: McGeeky | last post by:
Is there a way to get a user control to remember its state across pages? I have a standard page layout I use with a header and footer as user controls. Each page uses the same layout by means of...
9
by: TCORDON | last post by:
I have a user control that contains 2 image buttons, when you click one of them, both must change the image source, the thing is that the first time you click any one of them the page appears to do...
3
by: Beavis | last post by:
I hate to repost a message, but I am still at the same point where I was when I originally posted, and hopefully someone else will see this one... Ok, so I have gone off and documented the...
5
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library...
4
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.