Using VB2005 to create an installer that includes a database
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Using VB2005 to create an installer that includes a database

  1. #1
    Join Date
    Sep 2009
    Posts
    9

    Using VB2005 to create an installer that includes a database

    i have this solution that i'm suppose to make an installer of, but because it calls a datebase and the database is not within the solution therefore it was not included in the installer.

    and my installer cant work correctly. is there anyway i can go around doing it? pls guide me thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,873

    Re: Using VB2005 to create an installer that includes a database

    If you made the installer, then you'd have to go back and ADD the db. You can't call the DB from the Installer, as you've found out (the hard way)

    David's Lesson #101 of Design - Design should be 90% of the job
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Sep 2009
    Posts
    9

    Re: Using VB2005 to create an installer that includes a database

    so where do i go back and add the data base to?

  4. #4
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,873

    Re: Using VB2005 to create an installer that includes a database

    Include the DB when you build the program. Use a relative address, so your app can find it. (It should run when you build.) Then, before you compile, you change the SQL Connection Strings to match the LIVE environment
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center