Consuming .tlb from VB.Net Web service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrupak
    New Member
    • Oct 2008
    • 1

    Consuming .tlb from VB.Net Web service

    Hi,

    I'm trying to rewrite the functionality of a COM+ component as web service.

    Now , VB 6.0code, there's a reference to a .tlb.

    I also need to use the same from .Net (VS 2005) - I've set reference to that by right-clicking the solution items and doing "Add" -> "Existing Item".

    I can view the class name, method names in the object browser in .Net.

    When, I try to instantiate , I'm getting following error (while running the webservice in Browser window).

    *************** *************** *************** *************** ***************
    Compiler Error Message: BC30002: Type 'DCSMFPing.DCSM FPing' is not defined.
    Line 70: Dim objTran As New DCSMFPing.DCSMF Ping
    *************** *************** *************** *************** *************** **

    Any update to troubleshoot would be highly appreciated.
Working...