• ### Announcements

#### Archived

This topic is now archived and is closed to further replies.

# A quick question.

## Recommended Posts

Access-Error    122
I have just got Visual Basic 6 today and have started to learn a bit but i''m stuck using inputs. I mean getting the input from a box like "Text1" and putting it into a command. Copy "C:/etc/A.txt","C:/etc/B.txt" I want the "C:/etc/A.txt" to able to be entered by the user.(In a text box on the form) I tried and got this: Copy "text1","text2" But i know this is wrong. How do i make vb understand what i mean?

##### Share on other sites
krez    443
copy Text1.Text, Text2.Text

nothing personal, but you really should RTFM.

EDIT: "Copy" isn't a command in VB. you should use "FileCopy".
--- krez (krezisback@aol.com)

Edited by - krez on January 3, 2002 2:15:15 PM