You must Sign In to post a response.
  • Category: Windows

    Setup and Deployment in window application

    How to give the path of the database in the connection string so on making the setup it will take the database from the exact path of the database?
  • #507625
    Hi,

    Go through the following link. It may helps

    http://msdn.microsoft.com/en-us/library/ms254494.aspx

    Thanks,
    Nagarajan Govindarajan.

  • #507665
    you can use App.config file

  • #507781
    Yes i am using App.config file for connection string but when making setup of that project i added the MS Access file into it and my connection string is having some other path and on running exe the setup will be on the other path Like Database on c: drive and setup on d: drive.Then how can we now give the database the path to run with the same path where setup is installed.
    Thanks,
    Abhishek


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.