OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Richard Blewett (richard.blewettVIRGIN.NET)
Date: Thu May 10 2001 - 09:03:52 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Sounds like the marshalling code for the interface insn't available in the
    client machine.

    assuming you are using early binding:

    Dim o as MyCOmponent

    set o = CreateObject( ... )

    rather than

    Dim o as object

    etc

    You need to register the typelibrary or proxy/stub on the client machine.
    What language is the remote component written in?

    Richard
    http://staff.develop.com/richardb

    -----Original Message-----
    From: Distributed COM-Based Code [mailto:DCOMDISCUSS.MICROSOFT.COM]On
    Behalf Of Ashok Gupta
    Sent: 10 May 2001 14:49
    To: DCOMDISCUSS.MICROSOFT.COM
    Subject: VB Client acessing Com Component Remotely

    Hi !!!

    I am facing some problem in acessing COM Component registered on a different
    machine. My client is in VB 6.0 and I am using CreateObject function to
    create the object remotely. To my surprise, I am getting "Run Time Error :
    429 ActiveX can't create object".
    Another thing, when I register my COM Component on the same system where I
    am running the client, then it's working fine. Why is this??? I don't want
    to register that COM Component on that machine and want to run it remotely.
    How can I do that.

    Regards,
    Ashok

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM