Results 1 to 5 of 5

Thread: how to read opened files using vb.net

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Posts
    94

    how to read opened files using vb.net

    Hi,

    I have written a backup solution using vb.net and C#.Net.
    But, I am not able to backup the opened files, which will be skipped.
    Can anyone please suggest me some idea to read and write opened files using vb.net ?

    Thanking you
    Regards
    Praveen

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Seeing as how you cant write to a file thats opened. Why dont you copy the file in question then write to it?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2002
    Posts
    94
    No, Even those files can not be copied. I tried normally just copy and paste those opened files. Its not allowed.

    Praveen

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by pampatipraveen
    No, Even those files can not be copied. I tried normally just copy and paste those opened files. Its not allowed.

    Praveen
    You are obviously not telling us something important.

    While I am running files, I cannot modify them but I can always copy and paste them somewhere else and use them as another file.

  5. #5
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Smile

    Open the file as Read Only...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width