borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (report)Next Topic (how to use Picture box to display a graph) New Topic New Poll Post Reply
AndreaVB Forum : VB General : how to save a file from one location to another
Poster Message
madhusudhanha
Level: Trainee

Registered: 05-05-2005
Posts: 3

icon how to save a file from one location to another

hi..

i am a new programer, i want to know how to save a file from one location to another using vb 6.

the problem is i want to save the ms acess file from one location to another location using a vb form..

plz some body help me..


thanks in advance..

____________________________
thanks...

regards...
madhu

05-05-2005 at 09:08 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: how to save a file from one location to another

Do you mean you want to copy some file? If so, you have built-in VB method FileCopy

FileCopy source, destination


If you want to move the file then use Name method

Name oldpathname As newpathname


____________________________
If you find the answer helpful, please mark this topic as solved.

05-05-2005 at 02:36 PM
View Profile Send Email to User Show All Posts | Quote Reply
madhusudhanha
Level: Trainee

Registered: 05-05-2005
Posts: 3
icon Re: how to save a file from one location to another

thanks a lot... for your kind replay...

____________________________
thanks...

regards...
madhu

06-05-2005 at 05:58 AM
View Profile Send Email to User Show All Posts | Quote Reply
yronium
Level: Moderator


Registered: 14-04-2002
Posts: 907
icon Re: how to save a file from one location to another

A little warning:
"Name ... As ..." return an Error 75 if the file is open, by some other app or even by the project itself, so check it.

____________________________
Real Programmer can count up to 1024 on his fingers

06-05-2005 at 07:46 AM
View Profile Send Email to User Show All Posts | Quote Reply
madhusudhanha
Level: Trainee

Registered: 05-05-2005
Posts: 3
icon Re: how to save a file from one location to another

thanks for your advice.....

____________________________
thanks...

regards...
madhu

07-05-2005 at 04:58 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : how to save a file from one location to another
Previous Topic (report)Next Topic (how to use Picture box to display a graph) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder