21+ Activex Interview Questions And Answers

Spread the love

Activex Interview Questions

Question 1. Explain Object Serialization?

A serialized object represents the kind of knowledge saved within the object, its data. Object serialization is a strategy of studying or writing a whole object from a file. This helps in saving session state data by servlets, for sending parameters for Remote Method Invocation (RMI) calls.

Question 2. Explain About Guid?

Globally Unique Identifier – A 16-byte quantity generated by Microsoft packages that uniquely identifies a community or consumer or pc or doc. It is without doubt one of the components of data that may be handed if you hook up with an Internet web site, and it might be saved in cookies.

A globally distinctive identifier (GUID) is used for distinctive IDs. No two GUIDs are the identical it doesn’t matter what pc they had been generated on. The attribute clsid defines the GUID of the related ActiveX management to make use of.

Question 3. How Com Provide The Language Transparency?

COM defines an API to permit for the creation of parts to be used in integrating customized functions or to permit various parts to work together.

But with a purpose to work together, parts should adhere to a binary construction specified by Microsoft.

As lengthy as parts adhere to this binary construction, parts written in numerous languages can interoperate.

Question 4. Explain About Type Library?

A file or part inside one other file that comprises customary descriptions of uncovered objects, properties, and strategies

A sort library comprises a binary description of an interface uncovered by a COM-component. In this sense, they comprise the identical data that’s contained in an IDL (Interface Definition Language) file.

Question 5. Explain What Is Component Object Model?

COM defines an API to permit for the creation of parts to be used in integrating customized functions or to permit various parts to work together.

But with a purpose to work together, parts should adhere to a binary construction specified by Microsoft.

As lengthy as parts adhere to this binary construction, parts written in numerous languages can interoperate.

Question 6. Explain What Is Iunknown Interface?

IUnknown interface supplies purchasers like DirectX management of to get tips that could different interfaces. All COM interfaces are inherited from IUnknown interface. It is used In a number of inheritance the place the varied interfaces can share one implementation of IUnknown.

Question 7. Define Activex And Ole?

Object Linking and Embedding (OLE) is about utilizing paperwork generated by one software inside one other software.

ActiveX is a Microsoft rebranding of OLE with extra give attention to good Windows controls.

Question 8. Define Shallow And Deep Copy?

A shallow copy simply copies the values of the info as they’re. Even if there’s a pointer that factors to dynamically allotted reminiscence, the pointer within the copy will level to the identical dynamically allotted.

Question 9. Explain Stl, Standard Template Library?

STL comprises lessons, algorithms, and iterators. It comprises set of prepared to make use of C++ lessons that can be utilized with in-built kind and consumer outlined operations. STL makes use of templates to realize the outcomes.

Question 10. What Are Some Other Development Tools That Support Creating And Using Activex Controls?

MFC
ATL
C++
VB by way of Visual Studio.

Question 11. What Is An Ole Custom Control?

We can customise these objects by saving into picture

Question 12. What Is Frontpage?

Front web page is a software program used to design a webpage.

Question 13. What Is Activex Control?

Activex management is a prepared to make use of management….. In our system there might be some inbuilt energetic x controls given by the os, similar to…home windows media participant ,calender and many others…thease controls can be utilized in any platform (c ,c++,java,dotnet….).So we are able to additionally create the energetic x controls that can be utilized wherever in any software…utilizing actrive x controls in vc++ could be very simple

Question 14. What Are The Two Types Of Events Generated By Activex Controls?

Stock occasions
Custom Events

Question 15. What Is An Activex Interface?

An ActiveX interface is a gaggle of associated capabilities which are grouped collectively.

Question 16. What Is An Activex Method?

A technique is an uncovered perform that may be utilized to a management through the IDispatch interface.

Question 17. What Are The Properties Exposed By Activex Controls?

Stock: These are customary properties provided to each management, similar to font or colour. The developer should activate inventory properties, however there may be little or no coding concerned.
Ambient: These are properties of the setting that surrounds the management – properties of the container into which it has been positioned. These cannot be modified, however the management can use them to regulate its personal properties. For instance, it may set the management’s background colour to match the container’s background colour.
Extended: These are properties that the container handles, normally involving dimension and placement onscreen.
Custom: These are properties added by the management developer.
Question 18. What Does The Logo Mean?

This comes on the comiplization time, If we give the LOGO choice to the compiler, it take a bitmap file (i.e, ) as emblem earlier than loading the Application.

Question 19. Using Activex In Webplayer?

There is not any solution to execute any little bit of native code within the webplayer, even when it is put in on the customers computer, which truly would not smaller the safety challenge. System companies as “format” are additionally obtainable on the customers computer, however to have the ability to name it from a webplayer.

Question 20. How Can I Send A Command From Unity’s Activex Control To My Windows Form Application?

As the Unity ActiveX-control, whereas “technically supported” is just not actually documented (or “actually supported” ), The solely actual choice for communication between the container and the Web participant could be through a community connection and your personal proprietary communications protocol.


Spread the love