Results 1 to 2 of 2

Thread: [RESOLVED] Include DLL

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2009
    Posts
    176

    Resolved [RESOLVED] Include DLL

    Hello

    I have made a program that uses the MySQL Connector DLL file.

    Now if I wan't to give my program to my friend, how do I include the dll file?
    Shall I move it to the same folder as the program exe?
    In that case, shall I change the reference to the dll in the EXE folder?
    PHP Code:
    $im_addicted_to_programming true

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Include DLL

    All you have to do is select the assembly on the References page of the project properties and then set its Copy Local property to True. Next time you build your project, that DLL will be included in the output. You distribute the output to your users.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width