Re: Where to place application files
From: someone (comfortably_numb__at_hotmail.com)
Date: 11/30/04
- Next message: Claus Henning: "Re: Numbers and calculations and strange things"
- Previous message: someone: "Re: Which development tool? C# or C++?"
- In reply to: Brad: "Where to place application files"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 00:17:58 -0600
Use GetModuleFileName and chop off everything after the last backslash. Just
like on a PC it is not a good idea to put something in the root directory on
a Pocket PC. Users probably wouldn't appreciate it that much.
"Brad" <bradley_.wood_@ndsu_.nodak_.edu> wrote in message
news:eDz%23d$m1EHA.3576@TK2MSFTNGP12.phx.gbl...
> Newbie.
>
> I need to check for the existence of an update file. I would normally
> put the file in the application's directory, but then (it seems) I have
> to hard code the location of the file since the CF doesn't include
> Application.StartupPath or Assembly.Location. If I simply put the file
> at the root, then I don't need to know anything but the file's name.
>
> I wouldn't think of doing that in a desktop application, but it almost
> seems like it doesn't much matter where files go on a PDA, or does it?
- Next message: Claus Henning: "Re: Numbers and calculations and strange things"
- Previous message: someone: "Re: Which development tool? C# or C++?"
- In reply to: Brad: "Where to place application files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|