Results 1 to 2 of 2

Thread: database after publishing

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2012
    Posts
    17

    database after publishing

    hello... I have vb 2010 application that connects to an access database ..

    where can i found my database after publishing ...

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

    Re: database after publishing

    It is placed in a special folder that is managed by ClickOnce. You don't really need to know where it is anyway. You simply use |DataDirectory| for the folder path in your connection string and it will resolve to the correct path. It will also resolve to the correct path while debugging, i.e. the same folder as the EXE, which means that you don't have to change the connection string between Debug and Release, which is the whole point.
    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