|
-
Jun 9th, 2004, 06:08 AM
#1
Thread Starter
Frenzied Member
How to check for COM+ components????
I need to write a console app that takes a string as imput parameter. This parameter is the name of a component in COM+. I need to check if this component is registered and "online"
How can I do this? Does it make any difference if this app will run
on server A in my intranet, and the components are on COM+ on server B???
Help please
kind regards
Henrik
-
Jun 9th, 2004, 07:05 AM
#2
Thread Starter
Frenzied Member
As I do it now I use:
VB Code:
dim obj as Object
obj = CreateObject("Myobj.MyComponent", "myhost")
But this only works sometimes. On certain component, I check the component services and the components are up and running, and yet it says "Cannot create Active X component"
Is there any better way? Or is there something wrong with the way Im trying now?
kind rgeards
Henrik
-
Jun 9th, 2004, 07:11 AM
#3
Thread Starter
Frenzied Member
And even if I perform a shutdown in the component services, I can still use the CreateObject with success on certain components... why???
kind regard
Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|