Results 1 to 2 of 2

Thread: [RESOLVED] standalone database application?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2012
    Posts
    142

    Resolved [RESOLVED] standalone database application?

    Hello, I have made a project with a database, but when i take the debugged .exe file from the project/debug folder it gives me a net framework error saying the database1.mdf already exists. How can I create a standalone .exe file which will work everywhere?
    Thanks in advance, Nick Dekker

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: standalone database application?

    Well, first, build a release version! You shouldn't be taking the .exe from the debug folder at all!

    Does your application create the database or rely on a pre-prepared one? If it's the former you obviously need to code the program so that it can detect an existing database and not try to build a new one after the first running.

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