DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005

    Using .lib with VB.net 2005 ? And a dll question.


    I have two questions. I made an application and i need some features from another application. I talked to the creator and he agreed to help me. But he use C++.

    He offered to give me a dll or a lib file. But, naturally, i should not redistribute the dll or lib file.

    First question: can the lib file be used with VB.net 2005 Express Edition ?

    Second question: is there a way to incorpore the dll to the application exe file ?

    Thanks for your help !

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    I know of no way to compile a .LIB or .DLL file into a VB.NET executable. The supported method for using third-party code from VB.NET is to create a .NET or COM DLL and reference the DLL from your VB application, or to call a standard DLL (which I suspect is what your friend wants to give you) using P/Invoke. VB does not support static linking.
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Jan 2005
    Thanks for the reply.

    I'll check how to do with my friend. Thanks again.

Similar Threads

  1. VB.Net 2005 and Transparency
    By MarkDuncan in forum .NET
    Replies: 0
    Last Post: 01-11-2006, 09:17 AM
  2. VB.NET: ContextMenu Question
    By Drakenza in forum .NET
    Replies: 1
    Last Post: 07-22-2005, 06:09 PM
  3. Replies: 0
    Last Post: 07-18-2005, 10:43 AM
  4. Replies: 0
    Last Post: 07-09-2005, 06:50 AM
  5. VB.NET upgrade question
    By tlwahl in forum .NET
    Replies: 1
    Last Post: 06-30-2005, 07:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.