>Hello alls.
>It´s my firts time work with Visual Basic and I dont know how:
>- Conect a network drive
>- copy file (The name of the files depends of the date,for example: PB120200.
>How read the month, the day, and the year.)
>- Disconect a network drive
>TIA.
To connect to a network drive, see NetUse at
http://www.netfokus.dk/vbadmincode/codevb.html.
For the filename, you can use something like this: format(cdate("2000/02/12"),"ddmmyy")
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com