Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 27-02-2009
Member
 
Join Date: Feb 2009
Posts: 7
What is ActiveX and Types of ActiveX Components in VB?

Hi,

What is ActiveX and what are the types of ActiveX Components in VB?
Reply With Quote
  #2  
Old 27-02-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: What is ActiveX and Types of ActiveX Components in VB?

The main term here is ActiveX component. The remaining things i.e. ActiveX control, ActiveX Exe and ActiveX Dll are three different kinds of ActiveX components.
ActiveX Dll and ActiveX Exe are code components that are not integrated in the VB IDE like the ActiveX control, so that u cant put any instances of those code components by double clicking or drag-dropping those on ur form. Rather these code components expose their functionality by methods and properties, that u can change/access through only ur code. More precisely code components are classes that must be accessed through a properly declared object variable and they dont have a visible interface.
Now ActiveX Exe and ActiveX dll are different from each other in how they get instantiated with the client application. This is a detailed topic, so i cant discuss it here and u need to study this from some book.
Reply With Quote
  #3  
Old 27-02-2009
Member
 
Join Date: Jun 2008
Posts: 97
Re: What is ActiveX and Types of ActiveX Components in VB?

1.Standard EXE.
2.ActiveX EXE.
3.ActiveX DLL.
4.ActiveX document.
5.ActiveX Control.
6.Project Group.
Reply With Quote
  #4  
Old 27-02-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: What is ActiveX and Types of ActiveX Components in VB?

Visual Basic 5 and 6 give you all the tools you need to create powerful ActiveX controls, which you can then reuse in all your projects. More precisely, you can create two different types of ActiveX controls:
  • Private ActiveX controls that can be included in any type of Visual Basic project. They're saved in files with the .ctl extension, and you can reuse them in any other Visual Basic project merely by adding the file to the project. (This is reuse at the source-code level.)
  • Public ActiveX controls that can be included only in ActiveX control projects; you have to compile them into OCX files, and then you can use them in any other Microsoft Windows application written in Visual Basic, Microsoft Visual C++, or any other development environment that supports ActiveX controls. (This is reuse at the binary level.)

Visual Basic 5 was the first language that permitted programmers to create ActiveX controls using a visual approach. As you'll see in a moment, you can create powerful controls by simply grouping simpler controls together: These controls are known as constituent controls. By putting together a PictureBox and two scroll bar controls, for example, you can create an ActiveX control that can scroll its contents. Visual Basic also allows you to create an ActiveX control without using any constituent controls. These are the so-called owner-drawn ActiveX controls.

You should also keep this in mind when working with ActiveX controls: You're used to distinguishing between two distinct types of people interacting with your program-the developer and the user. To better understand how ActiveX controls behave, you need to take another role into account, the author of the control itself. The author's job is to prepare a control that will be used by the developer to deliver an application to the user. As you'll see, the author's and developer's perspectives are sometimes different, even though the two roles might be occupied by the same person. (That is, you might act as the author of the control and then as the developer who uses it.)

Creating the UserControl Module
Reply With Quote
  #5  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 44
Re: What is ActiveX and Types of ActiveX Components in VB?

Please have a look at this!
http://msdn.microsoft.com/en-us/libr...94(VS.60).aspx
Hope this helps you!
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What is ActiveX and Types of ActiveX Components in VB?"
Thread Thread Starter Forum Replies Last Post
Unable to install ActiveX-Components- FVS336G SSL VPN aGRaTA Networking & Security 2 19-09-2011 12:01 AM
What is difference between ActiveX DLL and ActiveX EXE Pratap Gad Software Development 3 08-04-2009 07:36 PM
VB6 ActiveX EXE on Vista Nobleman Software Development 6 13-01-2009 07:11 PM
How bad is ActiveX? Joachim Software Development 5 07-11-2008 07:10 PM


All times are GMT +5.5. The time now is 09:04 AM.