|
-
Apr 17th, 2002, 06:44 PM
#1
Thread Starter
Hyperactive Member
File exists (app path)
hello,
I want to check if a file (data.dat) exits in the application path, but i have no idea how to do this..
hehe, i tried app.path but doesnt seem to work 
Regan
-
Apr 17th, 2002, 06:53 PM
#2
MOHH---
did you try this
Code:
File.Exists("filename.dat");
That might work. I'm not sure if it checks the working directory but i'd assume so. Try that though
btw- when switching subjects like this its best to start a new thread. (looks like you did this, my bad!)
-
Apr 17th, 2002, 07:19 PM
#3
Thread Starter
Hyperactive Member
thank you i'll try that 
hehe, i came here to post a question, but i quickly checked the "other" post, silly me forgot to return to main board before making my post 
Regan
-
Apr 17th, 2002, 07:42 PM
#4
ya i was answeing my question say yours, answered and made the snide comment. Then i saw the forum
-
Apr 17th, 2002, 07:53 PM
#5
Thread Starter
Hyperactive Member
tested and worked thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|