What is the difference among Standard EXE, Active-X DLL,
Active-X EXE?

Answers were Sorted based on User's Feedback



What is the difference among Standard EXE, Active-X DLL, Active-X EXE?..

Answer / pravin ahire

A standard exe application is one that is created using
Standard EXE project. It is the most widely used Project
type using VB6. Standard EXE application is normally the
most widely used among the available Project types in Visual
Basic. Stand-alone programs have an .EXE file extension.

Usage
A standard EXE application is normally used when you want to
develop a stand-alone application. Examples include
calculators, text editors, and other similar applications.

An ActiveX EXE application is one that is created using
ActiveX EXE project. ActiveX EXE are widely used in
conjunction with standard EXE applications. There are three
types of widely used of ActiveX projects. These are:

a. ActiveX EXE

b. ActiveX DLL

c. ActiveX Control

ActiveX EXE: Unlike a stand-alone EXE file, an ActiveX EXE
file is designed to work as an OLE server, which is nothing
more than a program designed to share information with
another program. It has an .EXE file extension.

ActiveX DLL: ActiveX DLL files are not meant to be used by
themselves. Instead, these types of files contain
subprograms designed to function as building blocks when
creating a stand-alone program. It has a .DLL file extension.

ActiveX Control: Unlike an ActiveX DLL or ActiveX EXE file,
an ActiveX Control file usually provides both subprograms
and a user interface that you can reuse in other programs.
It has an .OCX file extension.

Usage
1. The ActiveX EXE/DLL is normally used when you need to
build a component that is separate from the main program.
The concept is based on COM model.

2. ActiveX DLL/EXE allows multiple applications to share the
same code. This allows for scalability of programs, and
saves time because you only need to write the code once.

3. ActiveX DLLs and ActiveX EXEs are almost same in the ways
they are built and used. In either case, you build one or
more classes that applications can use to do something.

4. One of the main differences between ActiveX EXE and an
ActiveX DLL's is that the code is executed within the main
program's address space for ActiveX DLL. This is because the
code lies inside the program's address space, calling
methods and execution of code is very fast.

Differences

An ActiveX Exe provides the reusability of code, by
accessing it from different clients.

An ActiveX Exe is a component that can be called by another
application by providing a reference to the component. But a
Standard Exe application cannot be called in this way.

An ActiveX EXE's code is run in a separate process. When the
main program calls an ActiveX EXE's method, the application
passes required parameters into the ActiveX EXE's and calls
the method. The ActiveX EXE, upon execution may return the
results to the main program. This is slower than running an
ActiveX DLL's method inside the main program's address space

Is This Answer Correct ?    4 Yes 0 No

What is the difference among Standard EXE, Active-X DLL, Active-X EXE?..

Answer / mohit mathur

Standard EXE can be executed by double-clicking on it
whereas ActiveX EXE and ACtiveX DLL cannot.

ActiveX EXE/DLL can be called by creating an object of it.
but Standard EXE cannot be called like this.

ActiveX EXE executes in a seperate address space whereas
ActiveX DLL exectes within the same address space as of the
main application.

Is This Answer Correct ?    7 Yes 10 No

Post New Answer

More Visual Basic Interview Questions

what is use of book mark in excel ? send answer in my id ashishpal11@rediffmail.com

0 Answers  


Explain the creation project schedule.

0 Answers  


What are the Style properties of List Box?

2 Answers  


Types of cursors in DAO?

0 Answers  


What is the difference in passing values ByRef or ByVal to a procedure?

1 Answers  






how a multiple routing works ?

0 Answers  


What is ado data control in vb6 0?

0 Answers  


What is the use of OLE?

0 Answers   IBM,


What is visual basic used for?

0 Answers  


Why does everybody say I should save in TEXT not BINARY?

0 Answers  


What is connection object in vb net?

0 Answers  


CONNECTIVITY OF SQL 2000 + VB USING ODBC. steps i Follow- 1) Go to Control panel-->Admintrative Tools-->Double -click Data sources(ODBC)-->click Add button-->I choose SQL server (last option), Is it right or wrong option for connecting to SQL 2000.Then a new screen appears Create a New dataSource-->in name textbox,we can write anyname--Right or wrong. suppose i enter sonia, & my server name is .,so I enter . in server & click next button-->On the Next screen i have checked the option With Sql server authentication-- >Login Id-sa, Password-->Blank-->Click next button-->Next-- >Finish-->Then I click on button Test Data source-->Mesage Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok. These steps we have to do or not for Connectivity using ODBC. If yes,then what after these steps we have to do??Plz reply me early ??Thx in advance.

6 Answers  


Categories