RE: Files loading
From: Jeff Ciesielski (JeffCiesielski_at_discussions.microsoft.com)
Date: 11/02/04
- Next message: Lore Leuneog: "focus console based form???"
- Previous message: Scott: "trimming left digit of a number"
- In reply to: Xarky: "Files loading"
- Next in thread: Xarky: "Re: Files loading"
- Reply: Xarky: "Re: Files loading"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 13:20:09 -0800
I would put all of the files into a folder called "files"(or whatever suits
you), and place that folder in the same directory as your application. To
load them, you wouldn't have to specify a drive letter, rather just the
directory name. So if your program were "D:\myapp.exe" you could load the
files by using (@"\files\filename")
"Xarky" wrote:
> Hi,
> I have an application that makes up of files(reading data). Files
> are currently located on drive C. Now I am going to write the program
> and the files being used to a CD. The program is going to be executed
> on different computers and so the CD-Rom drive letter is not going to
> be the same on all computers.
>
> When I load a file from harddisk I do as follows
> (@"c:\fileName")
>
> Can someone help me solve my problem.
>
>
> Thanks in Advance
>
- Next message: Lore Leuneog: "focus console based form???"
- Previous message: Scott: "trimming left digit of a number"
- In reply to: Xarky: "Files loading"
- Next in thread: Xarky: "Re: Files loading"
- Reply: Xarky: "Re: Files loading"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|