Results 1 to 4 of 4

Thread: Copying Directorys

Hybrid View

  1. #1
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Copying Directorys

    Isn't working isn't much help. A LOT more detail of the problems you are having is needed.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jun 2009
    Posts
    31

    Cool Re: Copying Directorys

    The error for the first section of code is "IOException was unhandled" and the error was about the last line of text in the first piece of code:

    "My.Computer.FileSystem.CopyDirectory(srcPath, destPath, True)"

    I think it's because you can only use this code to copy directorys on C:\ to C:\.

    Is there a way to get around it?

    The second segment of code is another piece of code I tried, it didn't come up with a error but didn't copy the files.

    Is there anything else you need to know?


    Thanks,

    m1la

Tags for this Thread

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