哪位大侠讲讲ActiveX面板上的各项都是创建哪些内容解决思路
哪位大侠讲讲ActiveX面板上的各项都是创建哪些内容
ActiveX面板上可以创建多种关于COM的组件,但是各项创建的是什么样的组件,在什么情况下需要创建哪个组件,请大侠讲一下,谢谢
------解决方案--------------------
看帮助请按F1:
Click the objects on this page to create new COM objects, Active Forms, ActiveX controls, property pages for ActiveX controls, and type libraries for Active X controls or Automation objects.
New Item Description
Active Form Create a new Active form, which is a simple ActiveX control (descended from TActiveForm) preconfigured to run on a Web browser. The ActiveX Control wizard appears to guide you through the creation process, allowing you to add controls to the form. The wizard creates an ActiveX Library project (if needed), a type library, a form, an implementation unit, and a unit containing corresponding type library declarations.Note: Unlike other ActiveX controls, you cannot modify the properties of a built Active form in a development environment unless you add code to publish the properties.
Active Server Object Create an Active Server Page from an existing application. The Active Server Object dialog appears, where you can specify the CoClass name, threading model, and so on.
ActiveX Control Create a new ActiveX control. The ActiveX Control wizard guides you through the creation process, choosing the VCL object on which you want to base the new control. Note that ActiveX controls need an ActiveX library to expose their interfaces and method arguments to client applications. If an ActiveX Library project is not open before you try to create an ActiveX control, the product opens one.
ActiveX Library Create a new ActiveX library. A template file named Project1.dpr is created as a starting point for you. If an ActiveX Library project is not open before you try to create an ActiveX control, the product opens one.
Automation Object Create a new Automation object. The Automation Object wizard allows you to enter a class name for the new Automation object, and set the threading model. Once the wizard creates the Automation object, use the Type Library editor to define the interface it exposes to clients.
COM Object Create a new COM object to implement a registered interface or a new interface that descends from IUnknown. The COM Object wizard allows you to specify the properties of a new COM server.
COM+ Event Object Create a new COM+ event object to dispatch server events to all registered clients. The COM+ Event Object wizard adds a COM+ event object to an existing event object project or starts a new event object project for the object. After the wizard generates the event object, use the Type Library editor to define its interface.
COM+ Subscription Object Create a COM+ event subscriber component using the COM+ Subscription Object wizard. You use this with a COM+ Event Object to receive notification of events fired by COM+ publisher applications.
Property Page Create a file that sets up an ActiveX property page. The property page appears in design mode, ready for you to add private and public declarations. You can design a dialog box in the form window, grouping properties to make it easy for developers to modify the control when implementing it in an application.
Transactional Object Create a new Automation object that takes advantage of the distributed application services supplied by MTS or COM+. The Transactional object wizard lets you specify the desired transaction model. After the wizard exits, use the Type Library editor to define the interface the object exposes to clients. If the object is to be installed under COM+, use the COM+ page of the Type Library editor to specify the options to use when installing it into a COM+ application.
Type Library Create or edit a library of type information that can be used by other type libraries or that defines interfaces that the COM object wizard uses to generate objects. The Type Library editor appears.
ActiveX面板上可以创建多种关于COM的组件,但是各项创建的是什么样的组件,在什么情况下需要创建哪个组件,请大侠讲一下,谢谢
------解决方案--------------------
看帮助请按F1:
Click the objects on this page to create new COM objects, Active Forms, ActiveX controls, property pages for ActiveX controls, and type libraries for Active X controls or Automation objects.
New Item Description
Active Form Create a new Active form, which is a simple ActiveX control (descended from TActiveForm) preconfigured to run on a Web browser. The ActiveX Control wizard appears to guide you through the creation process, allowing you to add controls to the form. The wizard creates an ActiveX Library project (if needed), a type library, a form, an implementation unit, and a unit containing corresponding type library declarations.Note: Unlike other ActiveX controls, you cannot modify the properties of a built Active form in a development environment unless you add code to publish the properties.
Active Server Object Create an Active Server Page from an existing application. The Active Server Object dialog appears, where you can specify the CoClass name, threading model, and so on.
ActiveX Control Create a new ActiveX control. The ActiveX Control wizard guides you through the creation process, choosing the VCL object on which you want to base the new control. Note that ActiveX controls need an ActiveX library to expose their interfaces and method arguments to client applications. If an ActiveX Library project is not open before you try to create an ActiveX control, the product opens one.
ActiveX Library Create a new ActiveX library. A template file named Project1.dpr is created as a starting point for you. If an ActiveX Library project is not open before you try to create an ActiveX control, the product opens one.
Automation Object Create a new Automation object. The Automation Object wizard allows you to enter a class name for the new Automation object, and set the threading model. Once the wizard creates the Automation object, use the Type Library editor to define the interface it exposes to clients.
COM Object Create a new COM object to implement a registered interface or a new interface that descends from IUnknown. The COM Object wizard allows you to specify the properties of a new COM server.
COM+ Event Object Create a new COM+ event object to dispatch server events to all registered clients. The COM+ Event Object wizard adds a COM+ event object to an existing event object project or starts a new event object project for the object. After the wizard generates the event object, use the Type Library editor to define its interface.
COM+ Subscription Object Create a COM+ event subscriber component using the COM+ Subscription Object wizard. You use this with a COM+ Event Object to receive notification of events fired by COM+ publisher applications.
Property Page Create a file that sets up an ActiveX property page. The property page appears in design mode, ready for you to add private and public declarations. You can design a dialog box in the form window, grouping properties to make it easy for developers to modify the control when implementing it in an application.
Transactional Object Create a new Automation object that takes advantage of the distributed application services supplied by MTS or COM+. The Transactional object wizard lets you specify the desired transaction model. After the wizard exits, use the Type Library editor to define the interface the object exposes to clients. If the object is to be installed under COM+, use the COM+ page of the Type Library editor to specify the options to use when installing it into a COM+ application.
Type Library Create or edit a library of type information that can be used by other type libraries or that defines interfaces that the COM object wizard uses to generate objects. The Type Library editor appears.