|
-
Feb 8th, 2012, 09:24 PM
#1
Thread Starter
New Member
Hello and beginner help
First off I'd like to say hello and I'm looking forward to learning from everyone here. I'm very new to VB and I'm already stuck. Thanks in advance!
Now on to my problem.
I had to put together a simple app to move files from one folder to another with a one button app and some text intructions on the main form. No sweat and it sends a message box at the end. BUT! now I have to make a similar app and copy all the files from a my documents folder to a network drive. All of a sudden I'm stuck! How do I make this work for more than one person and they login to a domain? I want to use the following but what would be the variable? It seemed so easy!
My.Computer.FileSystem.CopyDirectory("C:\Documents and Settings\%username%\My Documents", "U:\Backup", True)
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
|