Home All Groups Group Topic Archive Search About

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

Author
10 Feb 2006 5:42 AM
vikas
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

Author
10 Feb 2006 6:46 AM
Ken Cox - Microsoft MVP
Are you trying to use  Windows Forms Controls in Internet Explorer?

http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsIeSourcing.aspx

Show quoteHide quote
"vikas" <vya***@csmails.com> wrote in message
news:%23fNFOTgLGHA.1124@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
Author
10 Feb 2006 10:16 AM
vikas
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:
Show quoteHide quote
> Are you trying to use  Windows Forms Controls in Internet Explorer?
>
> http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsIeSourcing.aspx
>
> "vikas" <vya***@csmails.com> wrote in message
> news:%23fNFOTgLGHA.1124@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
>
>
Author
13 Feb 2006 11:40 PM
Steve C. Orr
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



Show quoteHide quote
"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
>