|
-
Jan 28th, 2003, 04:41 PM
#1
Thread Starter
Frenzied Member
File.Move??
I am using the File.Move method to move a file from one location to another...
But when I try to run it I get exception saying that the "moveto"-file is in use by another process... how can it be used when it doesn't even exist???????? I assume that the move method creates a new file... I am totally confused...
kind regards
Henrik
ps Are there any other methods I can use for deleting and moving files excemt the ones in the File-class??? ds
-
Jan 28th, 2003, 06:15 PM
#2
yay gay
hmm? how do u want to move a thing that doesnt exist?
\m/  \m/
-
Jan 29th, 2003, 04:07 AM
#3
Thread Starter
Frenzied Member
It complained that the "target" file didn't exist.. and of course it doesn't...
anyway, problem solved...
kind regards
Henrik
-
Feb 14th, 2003, 08:29 AM
#4
New Member
Originally posted by MrNorth
It complained that the "target" file didn't exist.. and of course it doesn't...
anyway, problem solved...
I'm having this same problem. Would you mind sharing how you resolved it?
Thanks
Brad
-
Feb 15th, 2003, 07:45 AM
#5
Thread Starter
Frenzied Member
I simply forgot to close the streamwriter/reader handle before removing file. In that case it was still "in use" and couldn't be removed...
kind regards
henrik
-
Feb 18th, 2003, 01:17 PM
#6
New Member
Thanks for the response. I am closing the file but still get this error. I must be missing something else.
thanks
Brad
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
|