?
Solved

Copying a file from local to a netwrok drive nedd password.

Posted on 2003-02-26
1
Medium Priority
?
148 Views
Last Modified: 2010-05-01
I want to copy a file from a local path to a network path which needs username and password to access.
How can do this in VB?
0
Comment
Question by:_ocean_
1 Comment
 
LVL 15

Accepted Solution

by:
lyonst earned 600 total points
ID: 8024810
Try this ..

http://gethelp.devx.com/techtips/thevbpro/10_minute_solutions/10min0799.asp

Once you have established the connections and mapped the drive you should be able to copy the files without any problem and then disconnect from the network drive after the copy.

Cheers,

T.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question