Groups | Blog | Home
all groups > dotnet faqs > september 2003 >

dotnet faqs : Activex like component usage in dotnet ?



K
9/4/2003 12:02:56 PM
In traditional way, if my client is runnign IE, I can put a file in the web
server, then the client can run the ActiveX object. Does it have similar
technology in .NET ? I'd like to run my web server in apache under Linux,
but i want to have a UI componet in .NET running in client side without
installing in client computer at first. Is it feassible ?

Dmitriy Lapshin [C# / .NET MVP]
9/5/2003 11:44:56 AM
Hi,

Windows Forms controls can be hosted in the client's browser much like
ActiveX controls. This, however, requires presence of the .NET Framework on
the user's computer as well as certain version of the browser (I suppose IE
6.0 and above). There should not be any restrictions on a technology used at
the server side - that is, I think there's no problem with Linux/Apache.

Windows Forms controls doesn't require installation, they will be just
downloaded from server and run. They, however, run under tight security
restrictions, unlike ActiveX controls that could do anything user's
permissions allowed them to do.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

[quoted text, click to view]
Mercy Vincent
9/6/2003 1:05:12 AM
How about updating a file locally in client computer ??
I supposed my custom control can be downloaded ( the assembly ) to user
side, right ?


[quoted text, click to view]

Dmitriy Lapshin [C# / .NET MVP]
9/8/2003 2:15:26 PM
Yes, the user's browser will download the user control's assembly to his/her
local PC. But I am not so sure about updating - just never did such things
in practice.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

[quoted text, click to view]
Dino Chiesa [MSFT]
9/15/2003 6:07:39 PM
Q1. Does .NET have something that allows me to host controls in IE?
Yes. Google for IEHost, or look here:
http://www.winisp.net/cheeso/controltest.htm

for a working example and a few links.
or
http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/default.aspx
for an article

Q2a. Can I download the component from IIS to a .NET IE browser and
dynamically run it?
Yes.

Q2b. Can I download the component from Apache/Linux to a .NET IE browser and
dynamically run it?
No. I don't believe this is possible. I cannot recall what the issue is.




[quoted text, click to view]

AddThis Social Bookmark Button