Archived

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

Access-Error

A quick question.

Recommended Posts

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 this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites