Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic .NET (http://www.programmingforums.org/forum19.html)
-   -   help in setup file (http://www.programmingforums.org/showthread.php?t=12132)

nascar2000 Dec 7th, 2006 10:05 PM

help in setup file
 
i created a database application ,but have problems with it. I want to create a setup file. so after i finished debugging i created the setup file and included the database file in the application folder. But when i deploy the application using setup application it always search the database file in its host computer and not in its directory,could anybody provide a solution for this.

thx

melbolt Dec 8th, 2006 5:04 PM

Quote:

Originally Posted by nascar2000 (Post 120810)
it always search the database file in its host computer and not in its directory


:beard: not sure exactly what you mean by that, you'll have to get a little bit more detailed.

Robocop Feb 11th, 2007 11:19 AM

It's prolly because the application shortcut's "start in" property ain't pointing to anywhere. Therefore, it will look for the database in the desktop and can't find it.

alphonso Feb 11th, 2007 8:03 PM

Check your connection string; if it's specified to your computer only, like "C:\Documents and Settings\...\<yourdatabasehere>, then change it so that it ships with the setup file, like "D:\<yourapplicationnamehere>\...\

Let me know how things turn out ;-)


All times are GMT -5. The time now is 1:36 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC