View Single Post
Old March 14th, 2006, 06:22 AM
phenom phenom is offline
Authorized User
Join Date: Feb 2006
Location: Dubai, UAE, United Arab Emirates.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Copy a File using VB 2005?

Dear All,

I’m trying to copy a file using VB 2005pro, for example: From CD to C:\vb\ Using System.IO.File.Copy(source, des, True) but everytime I get a message “Could not find a part of the path C:\VB\”

I’m getting the source using Open File Dialog, while I’m getting the destination from an ini file, using IO.StreamReader (readline)

Am I missing any step?

Appreciate your help…

Best regards,


>>>PHENOM<<&amp ;lt;