Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 7th, 2006, 9:05 PM   #1
nascar2000
Newbie
 
Join Date: Apr 2006
Posts: 9
Rep Power: 0 nascar2000 is on a distinguished road
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
nascar2000 is offline   Reply With Quote
Old Dec 8th, 2006, 4:04 PM   #2
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 237
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Quote:
Originally Posted by nascar2000 View Post
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.
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Feb 11th, 2007, 10:19 AM   #3
Robocop
Programmer
 
Join Date: Sep 2004
Posts: 44
Rep Power: 0 Robocop is on a distinguished road
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.
Robocop is offline   Reply With Quote
Old Feb 11th, 2007, 7:03 PM   #4
alphonso
Programmer
 
Join Date: Dec 2005
Location: Philippines, where the seasons are: hot, and hotter
Posts: 72
Rep Power: 3 alphonso is on a distinguished road
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 ;-)
__________________
"The most incomprehensible idea about the universe is that it is comprehensible" - Albert Einstein
alphonso is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
setup file nascar2000 Visual Basic .NET 1 Dec 5th, 2006 4:28 PM
OnlineTextEditor.Com! Sane Show Off Your Open Source Projects 43 Jun 16th, 2006 8:55 AM
After execution - Error cannot locate /Skin File? wchar Visual Basic 1 Mar 5th, 2005 9:04 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM
Structure char field to a disk file ehab_aziz2001 C++ 0 Feb 10th, 2005 2:42 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:53 AM.

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