3
Answers

Very basic but need help copying files!! Please help!

tomorrowtoday101

tomorrowtoday101

21y
1.6k
1
I have just started learning the language. I want to copy a file from one location to another on the instance of a mouse click in a windows form. I have been trying to use the File.Copy function or just COPY or COPYFiles and none of these work. When I try to build it says File not declared or COPY not declared. What is that all about? In all the books it says you don't need to make a new instance of file since it is already a static class. I am very confused. also need help on how to read in keyboard input from a textbox in a wondows form. I know I am a very basic user and this should be easy but I have no idea what I'm doing. Thanks
Answers (3)
0
sailorfoley
NA 97 0 20y
yes it can i have gotten it to work.the only problem i came across is that the folder where you reference your dll must contain the xml file that contains the information about the DLL. Try making the XML file the same name as the assembly