PC Review


Reply
Thread Tools Rate Thread

Delete a file from a mapped drive using a Windows.Form application

 
 
Dave
Guest
Posts: n/a
 
      20th Jul 2006
Hello all,

I have an application that is accessing files from a mapped drive. I
have full access to the share that is mapped and from explorer can
delete files as I need. My application needs to be able to delete files
once the are processed, but using File.Delete does not seem to be
deleting them. What is the correct way of deleting files from a network
drive in Windows.Form application?


Regards,
David

 
Reply With Quote
 
 
 
 
Steven Nagy
Guest
Posts: n/a
 
      20th Jul 2006
File.Delete should work.
So you should probably post the exception you are getting, and the line
of code it is occuring on.


Dave wrote:
> Hello all,
>
> I have an application that is accessing files from a mapped drive. I
> have full access to the share that is mapped and from explorer can
> delete files as I need. My application needs to be able to delete files
> once the are processed, but using File.Delete does not seem to be
> deleting them. What is the correct way of deleting files from a network
> drive in Windows.Form application?
>
>
> Regards,
> David


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete a file on mapped drive Owen@7 Microsoft Windows 2000 File System 3 14th Feb 2008 05:44 PM
delete a mapped network drive =?Utf-8?B?dGh1bmRlcnN0cnVja18zMDJAaG90bWFpbC5jb20= Windows XP General 11 2nd Jan 2007 06:06 AM
Help: I can't delete a file on a mapped network drive using vb.net! createdbyx@gmail.com Microsoft VB .NET 2 23rd Jun 2005 12:59 AM
mapped drive available to a server application David Microsoft Windows 2000 0 5th Apr 2004 04:36 PM
Running Application from mapped drive FMX Windows XP General 1 22nd Sep 2003 05:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:32 PM.