par ComponentSpace - Type de produit : Composant / ActiveX OCX / DLL
ComponentSpace ActiveX Suite - ActiveX/DLL - V1.0 by ComponentSpace
Create Control Panel Applets in VB, get access to Event Logs, File Version information, Registry information and write and manage Windows Services. ActiveX Suite contains, CPL Host - quickly and easily write control panel applets in VB. Event Logger - access both the local and remote event logs. File Version - complete and simple access to the file version information returned by the Windows GetFileVersionInfo API. Registry Setup - supports creating, deleting, enumerating, saving and loading keys. Service Host - allows developers to quickly and easily write Windows NT/2000 services in VB. Service Manager - gives developers full access to the Windows NT/2000 Service Control Manager (SCM) using a set of intuitive ActiveX classes.
ActiveX Component Suite is comprised of six ActiveX Components, these are as follows:
CPL Host:
Develop Windows Control Panel applets in Visual Basic. The Control Panel Host allows developers to quickly and easily write control panel applets in Visual Basic. Implement a simple ActiveX interface, create a form and you have a control panel applet.
The Control Panel Host is a DLL that hosts an ActiveX DLL or control that implements the IControlPanel interface, defined in the supplied type library. All you need do to create a control panel applet is develop an ActiveX DLL and register it with the Control Panel Host.
So, for example, the following code is a very simple applet.
Implements IControlPanel
Private Property Get IControlPanel_Description() As String
IControlPanel_Description = “A simple applet”
End Property
Private Property Get IControlPanel_Name() As String
IControlPanel_Name = “Simple Applet”
End Property
Private Property Get IControlPanel_Icon() As Long
IControlPanel_Icon = LoadResPicture(101, vbResIcon)
End Property
Private Sub IControlPanel_OnDoubleClick()
'Display the applet’s form
AppletForm.Show vbModal
End Property
Event Logger:
Simplify access to Windows Event Logs. Access both the local and remote event logs. Read, write, clear, save and load event logs. Write event log entries with insertion strings, binary data and user account information. Full category and event description message file lookup including parameter replacement. Receive event log change notification. Configure event sources.
The control models event logs using the following object classes:
EventSource - a source of events reported to an event log
EventLog - an event log
EventLogBackup - an event log that has been saved to a file
EventLogRecord - an event log record in either an event log or an event log
that has been saved to file
EventSourceConfiguration - event source configuration information in the Windows registry
File Version :
Complete and simple access to the file version information returned by the Windows GetFileVersionInfo API.
Other benefits include:
Comprehensive documentation in Microsoft help format
Examples in Visual Basic and VB Script
Coded in C++ for speed and size
No runtime library dependencies
Registry Setup:
Comprehensive access to the Windows Registry. The Registry ActiveX control provides convenient access to the Windows registry in an intuitive ActiveX interface for Visual Basic and script developers.
The Registry ActiveX control supports creating, deleting, enumerating, saving and loading keys. You can set, get and enumerate integer, string, expanded string, multi-string and binary values. You can also receive events for registry changes. Both local and remote registry operations are supported.
The control models the registry using three object classes:
RegistryDatabase; RegistryKey; and RegistryValue.
RegistryDatabase represents either the local registry database or the database on another computer. RegistryKey and RegistryValue represent the two types of objects stored in a registry database, namely keys and values.
It also includes a RegistryAccessor object class to simplify the more common operations.
Service Host:
Write Windows Services in Visual Basic. The KeyTech Windows Service Host allows developers to quickly and easily write Windows NT/2000 services in Visual Basic. Implement a very simple ActiveX interface to receive service Start, Stop, Pause and Continue events.
The Service Host is an executable (ServiceHost.exe) that hosts an ActiveX DLL or control that implements the IService interface. All you need do to create a Windows service is develop an ActiveX DLL and run Service Host to install the service.
Receive Start, Stop, Pause and Continue events
Supports optional start arguments
Simple service installation
The following code illustrates implementing the IService interface:
Implements IService
Private Property Get IService_Pausable() As Boolean
'Don’t support pause/continue
End Property
Private Sub IService_OnStart(ByVal Arguments As Variant)
'Do whatever is required to start the service
End Property
Private Sub IService_OnStop()
'Do whatever is required to stop the service
End Property
Private Sub IService_OnPause()
'Do whatever is required to pause the service
End Property
Private Sub IService_OnContinue()
'Do whatever is required to continue the service
End Property
Private Sub IService_OnControl(ByVal OpCode As Long)
'Do whatever is required to handle control codes
End Property
Private Sub IService_OnShutdown()
'Do whatever is required to shutdown the service
End Property
Service Manager:
Start, stop and control Windows services using simple ActiveX objects. The KeyTech Service Manager control gives developers full access to the Windows NT/2000 Service Control Manager (SCM) using a set of intuitive ActiveX classes.
Start, stop, pause, continue and interrogate services.
Create, configure and delete services.
Access remote Service Control Managers.
Get extended service status including check point and wait hint.
Enumerate dependent or all services.
The control enables manipulation of services using the following object classes:
ServiceManager, ExtendedServiceStatus, and ServiceConfiguration.
The ServiceManager object allows access to the Windows Service Control Manager (SCM) and manipulation of Windows services.
The ExtendedServiceStatus object allows access to the extended status of a service.
The ServiceConfiguration object allows access to the configuration information for a service.
The following code illustrates the use of ServiceManager:
Dim ServiceManager As New ServiceManager
With ServiceManager
‘ Start my service if it’s stopped
If .Status(“MyService”) = Stopped Then
.Start “MyService”
End If
End With
PartNumbers: PC-512897-23985 512897-23985 PC-512897-28558 512897-28558 PC-512897-28559 512897-28559 PC-512897-23986 512897-23986 PC-512897-72764 512897-72764 PC-512897-28793 512897-28793
PurchaseOptions: ComponentSpace ActiveX Suite V1.0 1 Developer License , ComponentSpace ActiveX Suite V1.0 4 Developer Team License , ComponentSpace ActiveX Suite V1.0 8 Developer Team License , ComponentSpace ActiveX Suite V1.0 1 Site Wide License (Allows Unlimited Developers at a Single Physical Address) , ComponentSpace ActiveX Suite V1.0 1 Site Wide License (Allows Unlimited Developers at a Single Physical Address) with Source Code , ComponentSpace ActiveX Suite V1.0 1 Developer Premium Support License
Resources: Read the Registry Control Help File, Read the Event Logger Help file, Read the Service Host help file, Read the Service Manager ActiveX Control help file, Read the Control Panel Host help file, Read the File Version ActiveX Control help file, Read the ComponentSpace License Agreement, Download the ActiveX Suite V1.0 evaluation on to your computer - Displays Nag Screens
Operating System for Deployment: Windows 2000, Windows NT 4.0
Architecture of Product: 32Bit
Product Type: Component
Component Type: ActiveX OCX, DLL
Built Using: ActiveX Template Library (ATL)
Compatible Containers: Microsoft Visual Basic 6.0, Microsoft Visual Basic 5.0, Microsoft Visual C++ 6.0, Microsoft Visual J++ 6.0, Microsoft Internet Explorer 5.0, Microsoft Internet Explorer 4.0
Product Class: Business Components
Search Items: New Version Jan 04
Keywords: Windows API Windows Registry Product Suites Suite bundles bundle Author Windows API application programming interface function call functions calling application applications Registry ActiveX Controls register unregister registering unregistering DLL INI .dll .ini file files Suite Key Technology
Éditeur
Catégorie principale
Produits similaires
Catégories similaires