Click here to Skip to main content
15,918,168 members
Home / Discussions / Database
   

Database

 
GeneralRe: Money or Decimal datatype? Pin
VisualLive23-Jun-09 18:19
VisualLive23-Jun-09 18:19 
GeneralRe: Money or Decimal datatype? Pin
Niladri_Biswas23-Jun-09 18:21
Niladri_Biswas23-Jun-09 18:21 
QuestionHelp in deploying program with database attached Pin
galil45023-Jun-09 10:13
galil45023-Jun-09 10:13 
AnswerRe: Help in deploying program with database attached Pin
Niladri_Biswas24-Jun-09 2:58
Niladri_Biswas24-Jun-09 2:58 
AnswerRe: Help in deploying program with database attached Pin
galil45024-Jun-09 6:01
galil45024-Jun-09 6:01 
QuestionRe: Help in deploying program with database attached Pin
Kschuler24-Jun-09 7:40
Kschuler24-Jun-09 7:40 
AnswerRe: Help in deploying program with database attached Pin
galil45024-Jun-09 7:44
galil45024-Jun-09 7:44 
GeneralRe: Help in deploying program with database attached Pin
Kschuler24-Jun-09 8:00
Kschuler24-Jun-09 8:00 
Where is your database publishing to, and where are you expecting it to publish?

ClickOnce kinda takes over when it comes to putting files in whatever locations. It stores some stuff at kind of a master level, then some stuff it will put into windows user specific folders. Something like:

C:\Documents and Settings\WindowsUserName\Local Settings\Apps\2.0\Data\PA61NQME.N93\0BG3BVYZ.BGR\AnotherWierdFolderName\Data

Where several folders are named with some random characters. This will be a different path on EVERY user's computer. So in your code you can't specify this path with a constant. You can reference it with this, though: My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData

If you are new to using ClickOnce, I recommend reading up on it. If you plan to publish different versions of your app, you'll want to make sure you've got all the right settings, etc. Or the second version of your app may cause the database to overwrite when a user updates. Here are some references I've used:
microsoft's documentation[^]

More about data directory[^]

...there was another article that really helped me get started but I can't find it. I'll do some more looking and post if I find it.

Hope this helps.
QuestionHow to select records 11 to 20 in SQL SERVER? Pin
pankazmittal23-Jun-09 5:32
pankazmittal23-Jun-09 5:32 
AnswerRe: How to select records 11 to 20 in SQL SERVER? Pin
Giorgi Dalakishvili23-Jun-09 6:53
mentorGiorgi Dalakishvili23-Jun-09 6:53 
AnswerRe: How to select records 11 to 20 in SQL SERVER? Pin
Blue_Boy23-Jun-09 11:00
Blue_Boy23-Jun-09 11:00 
GeneralRe: How to select records 11 to 20 in SQL SERVER? Pin
pankazmittal23-Jun-09 11:04
pankazmittal23-Jun-09 11:04 
GeneralRe: How to select records 11 to 20 in SQL SERVER? Pin
Blue_Boy23-Jun-09 11:12
Blue_Boy23-Jun-09 11:12 
AnswerRe: How to select records 11 to 20 in SQL SERVER? PinPopular
Niladri_Biswas23-Jun-09 18:10
Niladri_Biswas23-Jun-09 18:10 
GeneralRe: How to select records 11 to 20 in SQL SERVER? Pin
pankazmittal24-Jun-09 4:08
pankazmittal24-Jun-09 4:08 
QuestionHow to know if a column of type int is Identity using ADO.NET GetSchema()? Pin
adgonz23-Jun-09 5:31
adgonz23-Jun-09 5:31 
AnswerSystables Pin
David Mujica23-Jun-09 6:06
David Mujica23-Jun-09 6:06 
GeneralRe: Systables Pin
David Mujica23-Jun-09 8:19
David Mujica23-Jun-09 8:19 
GeneralRe: Systables Pin
adgonz23-Jun-09 22:06
adgonz23-Jun-09 22:06 
QuestionHow to Get DST Start dates and DST End dates for different Time zones. [modified] Pin
jgotlt23-Jun-09 4:22
jgotlt23-Jun-09 4:22 
Questionhow to move data from one db to another db Pin
janani1323-Jun-09 0:33
janani1323-Jun-09 0:33 
GeneralRe: how to move data from one db to another db Pin
Isaac Gordon23-Jun-09 0:42
Isaac Gordon23-Jun-09 0:42 
GeneralRe: how to move data from one db to another db Pin
janani1323-Jun-09 0:47
janani1323-Jun-09 0:47 
GeneralRe: how to move data from one db to another db Pin
Isaac Gordon23-Jun-09 0:55
Isaac Gordon23-Jun-09 0:55 
AnswerRe: how to move data from one db to another db Pin
Jerry Hammond23-Jun-09 4:59
Jerry Hammond23-Jun-09 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.