ActiveX Controls with .Net?

  • Thread starter Thread starter Klaus Jensen
  • Start date Start date
K

Klaus Jensen

Hi!

I would like to build a small application, that should be embedded in a
webpage. I want to develop it using VB.Net of course, and have the usual
opportunities of a windows app...

A common example of such an app would be an image upload control, like the
ones used at hotmail communities (and yahoo I think), many online
photo-services.

In the old days (VB6) you could create an activeX control. I never did, but
I am sure it was possible.

I have tried searching for relevant material online, but I must be using the
wrong keywords, because I have found nothing yet...

What is this type of app/applet called in these .Net days, and how do I make
one using VB.net? I think I need a few good keywords and perhaps a link to
an article or something like that, not the complete 101. :)

Any help would be appreciated.

Thanks in advance

Klaus Jensen
Developer
 
Hi Klaus,

In my eyes is the activeX control something that never has been accepted
because nobody trust it.

Why not make server based webform applications instead.

In my opinion is .Net not the application platform for making fun pages.

It is more for business applications (in the widest way, also multimedia and
things like that).

But not for standalone clientside applications.

Although Javascript, VbScript and JScript are very good to develop with
Visual.Studio.Net.

Just my thoughts,

Cor
 
I am 70% sure that you can upload files with ASP.NET, with no additional
controls needed.
 
You could also hosts Windows.Forms stuff in an Internet Explorer. This is
comparable with the "old" ActiveX control on a webpage.

For more info:
http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsIeSourcing.aspx
Using Windows Forms Controls in Internet Explorer
This topic describes how to successfully execute Windows Forms controls
within Internet Explorer (IE). Windows Forms controls within IE are
activated without a user prompt, require no registration, and utilize the
common language runtime (CLR) code access security.

There are five steps in getting a Windows Forms control activated within
Internet Explorer, and each is listed here and detailed below.

a.. Create the Windows Forms control.
b.. Create an HTML document with an object tag.
c.. Create the virtual directory and set permissions.
d.. Run the control.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 
Hi Jan,

Thanks I saw a lot of messages about this here, but this one is very clear.
Compliments,

Cor
 
Jan Tielens said:
You could also hosts Windows.Forms stuff in an Internet Explorer. This is
comparable with the "old" ActiveX control on a webpage.

Hmm... And the browser would download the control, if it is not in the
global assembly cache?

I am not really asking about image-upload controls, it is more the
technology I am interested in.

-Klaus
 
Back
Top