1-20 of 116
Previous
Next |
Method to Release COM Object References
by Srinath MS
Use this method to release references to COM objects immediately.
|
ExportComPlusApplication - Exporting a COM+ application to a MSI installer file
by Marco Bellinaso
Export the COM+ application with the input name to a MSI installer file
Note: requires a reference to the COM+ Admin Type Library
Example: ExportComPlusApplication("MyComPlusApp", "C:\MyComPlusApp.msi", "")
|
GetComPlusAppRoleMembers - Retrieving a COM+ Application role's members
by Robert N. Neuman
Get an array with the members of an application's role
Note: requires a reference to the COM+ Admin Type Library
Example:
Dim members() As String = GetComPlusAppRoleMembers("System Application", "Administrator", "")
Dim member As String
For Each member In members
Console.Wr
|
GetComPlusAppRoles - Retrieving a COM+ Application's roles
by Robert N. Neuman
Get an array with the name of an application's roles
Note: requires a reference to the COM+ Admin Type Library
Example:
Dim roles() As String = GetComPlusAppRoles("System Application", "")
Dim role As String
For Each role In roles
Console.WriteLine(role)
Next
|
ShutDownComPlusApplication - Shutting-down a COM+ application
by Marco Bellinaso
Shut-down the COM+ application with the input name
Note: requires a reference to the COM+ Admin Type Library
Example: ShutDownComPlusApplication("MyComPlusApp", "")
|
StartComPlusApplication - Starting a COM+ application
by Marco Bellinaso
Start the COM+ application with the input name
Note: requires a reference to the COM+ Admin Type Library
Example: StartComPlusApplication("MyComPlusApp", "")
|
AddComPlusApplication - Creating a new COM+ application
by Robert N Neuman
Create a new COM+ application, and return True if the operation is successfull
Note: requires a reference to the COM+ Admin Type Library
Example: AddComPlusApplication("MyComPlusApp", "")
|
AddComPlusAppRole - Adding a new role to a COM+ application
by Robert N Neuman
Create a new role to a COM+ application, and return True if the operation is successfull
Note: requires a reference to the COM+ Admin Type Library
Example: AddComPlusAppRole("MyComPlusApp", "MyTestRole", "")
|
AddComPlusAppRoleMember - Adding a member to a COM+ application's role
by Robert N Neuman
Add a member to a COM+ application's role, and return True if the operation is successfull
Note: requires a reference to the COM+ Admin Type Library
Example: AddComPlusAppRoleMember("MyComPlusApp", "MyTestRole", "MYPC\Owner", "")
|
DelComPlusApplication - Deleting a COM+ application
by Marco Bellinaso
Delete a COM+ application, and return True if the operation is successfull
Note: requires a reference to the COM+ Admin Type Library
Example: DelComPlusApplication("MyComPlusApp", "")
|
DelComPlusAppRole - Deleting a role from a COM+ application
by Robert N Neuman
Delete a role from a COM+ application, and return True if the operation is successfull
Note: requires a reference to the COM+ Admin Type Library
Example: DelComPlusAppRole("MyComPlusApp", "MyTestRole", "")
|
DelComPlusAppRoleMember - Removing a member from a COM+ application's role
by Robert N Neuman
Remove a member from a COM+ application's role, and return True if the operation is successfull
Note: requires a reference to the COM+ Admin Type Library
Example: DelComPlusAppRoleMember("MyComPlusApp", "MyTestRole", "MYPC\Owner", "")
|
Running a DTS Package Through TSQL with a COM Concept
by K.Nageswara Rao
|
RegisterEnterpriseService - Register an Enterprise Service in the COM+ Catalog
by Marco Bellinaso
Register an Enterprise Service in the COM+ Catalog
Note: requires a reference to the System.EnterpriseServices.dll assembly
This version identify the enterprise service with its path
Example: RegisterEnterpriseService("C:\Temp\TestService.dll")
|
UnregisterEnterpriseService - Unregister an Enterprise Service from the COM+ Catalog
by Marco Bellinaso
Unregister an Enterprise Service from the COM+ Catalog
Note: requires a reference to the System.EnterpriseServices.dll assembly
Note: applicationID is the name of the COM+ application that contains the components in the assembly - it can be Nothing
This version identify the enterprise ...
|
Saving a MSChart image to file
by Alessandro Piana
To save to file the graph generated by a MSChart control, you must use the control
|
GetComPlusApplications - Retrieving the installed COM+ applications
by Marco Bellinaso
Returns an array with the names of the installed COM+ Applications
Params: the name of the server - defaults to the local server
Requires a reference to the COM+ Admin Type Library, in the COM tab of the References dialog box
Example:
Dim apps() As String = GetComPlusApplications()
Dim app ...
|
ASP components and WebClasses may not print correctly
by Francesco Balena
Printing is one of the things that you can't do directly from withing ASP: to have a printout of your data from ASP you must instantiate a COM component - either a custom component, a WebClass, or a commercial COM server such as Microsoft Word or Excel - and print from there. However, even if ...
|
Release COM objects immediately
by Francesco Balena
When you use a COM or COM+ from a .NET application and then you set the object reference to Nothing (or let it go out of scope), the object isn't released immediately. The reason: your program communicates with the COM object through a Runtime Callable Wrapper (RCW) object, which is responsible ...
|
Disable COM+ 1.5 applications and components
by Francesco Balena
COM+ 1.5 (provided with Windows XP) has an interesting feature that is missing in COM+ 1.0: the ability to disable entire COM+ applications or just their individual components. You can disable and re-enable a COM+ application or component by right-clicking on it in the Component Services MMC ...
|
1-20 of 116
Previous
Next |