troubleshooting Question

Programmatically copying and writting files across a network in vb. net, vb .net 2005

Avatar of jbaisden
jbaisden asked on
Visual Basic.NET
20 Comments1 Solution1847 ViewsLast Modified:


I am writting a program to automate a file copying process to a server machine. We'll call the Server Bob.
My computer is JBaisden. To access Bob, or at least, to access the C drive you must enter a user name and password. I have this information; however, my problem is this: I am using a FolderBrowserDialog (VB .NET 2005) to set the file paths that determine what files are to be backed up and what files are to be copied. This control/dialogue allows me to browse to Bob, but only shows shared folders. I really need to browse to Bob's C drive and work from there. Given that I know the user name and password, how do I go about making this happen?

I have tried using text boxes so the user can enter the folder path manually, but I'm getting a wierd file access error to a file that I'm trying to copy. Also note that this occurrs on Jbaisden when I am not going across a network to access files (This was a test scenerio that I am still having trouble with).

Any idea's, articles, or suggestions would be greatly appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 20 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 20 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros