Click here to Skip to main content
15,892,809 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionRaising Events. Pin
HakunaMatada22-Dec-05 0:22
HakunaMatada22-Dec-05 0:22 
AnswerRe: Raising Events. Pin
Robert Rohde22-Dec-05 10:02
Robert Rohde22-Dec-05 10:02 
GeneralRe: Raising Events. Pin
HakunaMatada22-Dec-05 17:14
HakunaMatada22-Dec-05 17:14 
QuestionImport yahoo address book in .net application Pin
ashishnagar122-Dec-05 0:11
ashishnagar122-Dec-05 0:11 
AnswerRe: Import yahoo address book in .net application Pin
Colin Angus Mackay22-Dec-05 22:20
Colin Angus Mackay22-Dec-05 22:20 
AnswerRe: Import yahoo address book in .net application Pin
Dave Kreskowiak23-Dec-05 5:49
mveDave Kreskowiak23-Dec-05 5:49 
QuestionConfiguration combobox missing on the standard toolbar in whidbey beta Pin
hiraljv21-Dec-05 20:14
hiraljv21-Dec-05 20:14 
QuestionPath to default files called by program Pin
smurfy3421-Dec-05 11:14
smurfy3421-Dec-05 11:14 
Hi:

I've been developing a program that loads a file for default settings which I have placed for now in the bin\debug folder under the project that uses it. This works fine for development, but I want to make a release kit for other users.

I have made a 'Setup wizard' project and have included the default settings file to be loaded into the Application folder.

My question is, what path do I hardcode into the default settings loading call?

I tried just using the file name in this call and the release executable goes to the Documents And Settings\userid\ folder to look for defaults file - and of course complains when it does not find it there. I'd like to avoid hardcoding the path to the application folder since at installation time the users have discretion to install to any folder of their choice.

Please give me your suggestions.

Thanks, Sam
AnswerRe: Path to default files called by program Pin
Dave Kreskowiak21-Dec-05 13:13
mveDave Kreskowiak21-Dec-05 13:13 
AnswerRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 0:07
HakunaMatada22-Dec-05 0:07 
GeneralRe: Path to default files called by program Pin
Dave Kreskowiak22-Dec-05 5:52
mveDave Kreskowiak22-Dec-05 5:52 
GeneralRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 17:12
HakunaMatada22-Dec-05 17:12 
GeneralRe: Path to default files called by program Pin
Dave Kreskowiak22-Dec-05 17:55
mveDave Kreskowiak22-Dec-05 17:55 
GeneralRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 18:17
HakunaMatada22-Dec-05 18:17 
AnswerRe: Path to default files called by program Pin
HakunaMatada22-Dec-05 0:11
HakunaMatada22-Dec-05 0:11 
Questionerror LNK2028: unresolved token Pin
Lythimer21-Dec-05 2:41
Lythimer21-Dec-05 2:41 
AnswerRe: error LNK2028: unresolved token Pin
hiraljv21-Dec-05 20:21
hiraljv21-Dec-05 20:21 
GeneralRe: error LNK2028: unresolved token Pin
Lythimer22-Dec-05 9:12
Lythimer22-Dec-05 9:12 
QuestionPictureBox in .NET Pin
HakunaMatada20-Dec-05 18:17
HakunaMatada20-Dec-05 18:17 
AnswerRe: PictureBox in .NET Pin
Dave Kreskowiak21-Dec-05 2:48
mveDave Kreskowiak21-Dec-05 2:48 
GeneralRe: PictureBox in .NET Pin
HakunaMatada22-Dec-05 0:23
HakunaMatada22-Dec-05 0:23 
GeneralRe: PictureBox in .NET Pin
Dave Kreskowiak22-Dec-05 1:39
mveDave Kreskowiak22-Dec-05 1:39 
GeneralRe: PictureBox in .NET Pin
HakunaMatada22-Dec-05 20:26
HakunaMatada22-Dec-05 20:26 
GeneralRe: PictureBox in .NET Pin
Dave Kreskowiak23-Dec-05 3:57
mveDave Kreskowiak23-Dec-05 3:57 
GeneralRe: PictureBox in .NET Pin
HakunaMatada23-Dec-05 17:27
HakunaMatada23-Dec-05 17:27 

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.