Problem in COMInterop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Arun

    #1

    Problem in COMInterop

    When I'm using the COM components in c# I get the
    Exception:
    'System.Runtime .InteropService s.COMException'
    occurred in WindowsApplicat ion1.exe
    Additional information: COM object with CLSID
    {BBBECA01-C443-11CF-8698-00805FA84482} is either not valid
    or not registered.
    But the compoent is registered and I can use in VB 6.0
    application.I can refer the .tlb file of component through
    VS.NET IDE in the Project,
    Add Referance,COM tab and I can create an wrapper assembly
    for that and all the methods,propert ies are exposing but
    when I try t create
    an instance for the wrapper class I get the above
    Exception.
    Please help me I'm in great trouble.
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Problem in COMInterop

    Paul,

    Are you sure that you have the DLL registered correctly as well?


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Paul Arun" <arunwizkid@yah oo.com> wrote in message
    news:029701c3ae 01$0f7b8760$a10 1280a@phx.gbl.. .[color=blue]
    > When I'm using the COM components in c# I get the
    > Exception:
    > 'System.Runtime .InteropService s.COMException'
    > occurred in WindowsApplicat ion1.exe
    > Additional information: COM object with CLSID
    > {BBBECA01-C443-11CF-8698-00805FA84482} is either not valid
    > or not registered.
    > But the compoent is registered and I can use in VB 6.0
    > application.I can refer the .tlb file of component through
    > VS.NET IDE in the Project,
    > Add Referance,COM tab and I can create an wrapper assembly
    > for that and all the methods,propert ies are exposing but
    > when I try t create
    > an instance for the wrapper class I get the above
    > Exception.
    > Please help me I'm in great trouble.[/color]


    Comment

    • Paul Arun

      #3
      Re: Problem in COMInterop


      Hai Nicholas
      The Component is registered and I can use the Component
      in VB6.0.It is working in VB6.0

      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...