Using LIB files with VB.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sameh Ahmed

    #1

    Using LIB files with VB.net

    Hello there
    Is there a way to use lib files as com objects?
    I have an SDK of an API used to communicate with an EMC storage box that
    contains only LIB, DLL, and C files.
    Is there way to use these files in Vb.net?
    Thanks in advance.
    Regards


  • Herfried K. Wagner [MVP]

    #2
    Re: Using LIB files with VB.net

    "Sameh Ahmed" <essoplus@hotma il.com> schrieb:[color=blue]
    > Is there a way to use lib files as com objects?[/color]

    Try to add a reference to the DLL in the "COM" tab of the "Add reference..."
    dialog.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Sameh Ahmed

      #3
      Re: Using LIB files with VB.net

      I did
      Does not work
      says: not a valid assembly or com component
      any suggestions?
      Regards
      Sameh
      "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
      news:OQh5$RJXFH A.2348@TK2MSFTN GP14.phx.gbl...[color=blue]
      > "Sameh Ahmed" <essoplus@hotma il.com> schrieb:[color=green]
      >> Is there a way to use lib files as com objects?[/color]
      >
      > Try to add a reference to the DLL in the "COM" tab of the "Add
      > reference..." dialog.
      >
      > --
      > M S Herfried K. Wagner
      > M V P <URL:http://dotnet.mvps.org/>
      > V B <URL:http://classicvb.org/petition/>[/color]


      Comment

      • stand__sure

        #4
        Re: Using LIB files with VB.net

        I encountered a similar problem and found that VS "liked" the
        type-library (tlb) file but rejected the dll...

        Comment

        • Sameh Ahmed

          #5
          Re: Using LIB files with VB.net

          unfortunately I only have LIB and DLL files
          anyway to convert them?
          thanks
          "stand__sur e" <stand__sure@ho tmail.com> wrote in message
          news:1116572052 .186502.86370@g 49g2000cwa.goog legroups.com...[color=blue]
          >I encountered a similar problem and found that VS "liked" the
          > type-library (tlb) file but rejected the dll...
          >[/color]


          Comment

          Working...