Results 1 to 4 of 4

Thread: More COM+ Problems

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    12

    More COM+ Problems

    Let me tell you what I have done.

    I made an activex dll called car.dll, the class is called CCar and it has one property called Make that returns a string.

    I added this to a COM+ application called test.

    Then I made a simple client that had a form with a textbox and this code in the form load

    Code:
    Dim obj As Object
    Set obj = CreateObject("car.CCar")
    
    txtMake.Text = obj.Make
    I then compiled and packaged this. Then I exported the COM+ application as an application proxy.

    Took this all to another computer and installed it all without problem. Went to run the application and I get this error:

    Run-time error '429':
    ActiveX component can't create object.

    I'd appreciate it VERY much if someone could tell me what the problem is here. :-)

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    did you install the COM+ application on the second computer, or are you trying to run the component remotely via DCOM?

    If you are trying to run the component remotely then you will need to add the Server "VBR" file in the package, you might want to read up on MSDN about VB DCOM (if you have done all this already then sorry but the obvious is sometimes the best)
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    12
    Guess I should read up

    And yes, trying to access via DCOM, without actually knowing what I'm doing I might add. :P

  4. #4

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    12
    Ok, I did all the same stuff as I did before except this time I created the dll with the remote server files and included this in the package.

    But now when I try to run it from the client I get this error:

    Run-time error '424':
    Object required.

    Not to mention it asked me for the address of the server during installation, can that be pre-defined? I don't expect the users of the ap to know all that.

    Why can't they make this easier to do :P

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