Results 1 to 3 of 3

Thread: Case of the lost db

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,389

    Case of the lost db

    I published my project and it works great ^^
    Only problem is that it is using a access database that is coming from "my documents" and when I debug it pulls up the database that is finished. When I run my published program, it uses the database that isn't finished. Why is it doing this?
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

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

    Re: Case of the lost db

    It would help if we knew what you meant by "finished". Maybe a more complete description of the entire issue is in order.
    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

  3. #3

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,389

    Re: Case of the lost db

    I was using a database that wasn't complete. Just to see if could finish coding it and debug it to test it. Sorta like a sample database, only it didn't just say "Test" "Test" "Test". Now that I finished all the coding. I changed my datatable, set, binding source, and binding navigator and anywhere in my code I had the previouse database datatable, dataset, ect. I replaced it with the new name. Now when I try to publish the new program it still shows my test database, but when I debug it, it gives me the updated database. But it's all cool, I just started a new project and recoded it with the updated database.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

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