Results 1 to 3 of 3

Thread: How to check for COM+ components????

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    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

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602
    As I do it now I use:

    VB Code:
    1. dim obj as Object
    2. 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

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602
    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
  •  



Click Here to Expand Forum to Full Width