Active X web Control  vs .Net web Controls

Posted on 2005-03-23
Medium Priority
Last Modified: 2013-11-18
I have been doing this for a while and it constently amazes me about the most common things that I cannot speak intelligently about.  

When developing a web based application in vb.net what is the difference between Active X controls and .Net controls.  I am being quized by a client and am trying to increase my knowledge about the inner workings. To this point I have been fotunate in that the controls work and I could concentrate on the business layer. Now I need to extend my knowlege so the help and guidence is appreciated.

Question by:GregWeber
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Expert Comment

ID: 13614213
an active x control is often a client side control - executing in the address space of the browser. a .NET control on the other hand runs in the servers address space.

active x controls can also run on the server - but this is less common, COM objects tend tio be used in this case.
LVL 10

Accepted Solution

makerp earned 2000 total points
ID: 13614275
active x controls also only work in IE and unless they are signed people wont trust them. this is because they have complete unrestricted access to the host they are runing on, for example they can format a disk etc, this is unlike a java applet for example which can not say write to the local disk.

signing an active x makes a nice dialog pop up with a name on it - the user can then choose to trust the control based on the name shown. active x controls can also be marked 'safe for scripting', this means that code within the browser can manipulate the control using VB Script for example.

signing a control is generally not such an issue when the control is on a LAN based web site, and the author is known and trusted. although you may want to warn your users so they expect an unsigned control

LVL 44

Expert Comment

ID: 13615212
on the other hand, a .NET web control is 'executed' on the SERVER, and what is sent to the Client is PURE HTML, there is generally no client-side executable code (possibly some small amount of JavaScript).  This makes the .NET web control much more general, and .NET web controls can be used almost independent of the browser, without any of the client-side security issues.


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question