Click here to Skip to main content
15,893,337 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get the Variable name which passed the value to the Parameter Pin
PIEBALDconsult25-Aug-10 15:55
mvePIEBALDconsult25-Aug-10 15:55 
GeneralRe: Get the Variable name which passed the value to the Parameter Pin
Sam Martini26-Aug-10 3:07
Sam Martini26-Aug-10 3:07 
QuestionNewbie trying to Magnify Flash Object... Pin
Berserker7Force24-Aug-10 14:06
Berserker7Force24-Aug-10 14:06 
QuestionHow to make a button that will copy two files and put them somewhere else Pin
mshome7724-Aug-10 1:37
mshome7724-Aug-10 1:37 
QuestionRe: How to make a button that will copy two files and put them somewhere else Pin
Covean24-Aug-10 2:08
Covean24-Aug-10 2:08 
AnswerRe: How to make a button that will copy two files and put them somewhere else Pin
mshome7724-Aug-10 2:17
mshome7724-Aug-10 2:17 
AnswerRe: How to make a button that will copy two files and put them somewhere else Pin
Richard MacCutchan24-Aug-10 2:56
mveRichard MacCutchan24-Aug-10 2:56 
AnswerRe: How to make a button that will copy two files and put them somewhere else PinPopular
Tom Deketelaere24-Aug-10 3:22
professionalTom Deketelaere24-Aug-10 3:22 
Arg so many things wrong here.

First of all under vista / windows 7 the c:\windows\system32 map is protected and your program shouldn't be trying to copy anything in there (least of all a dll and a exe)

Second as Richard said a button has no relation to a copy (there is no such thing as a copy button)
A button has a click event in which you write code (code that can then copy your files).
(for that look at the system.IO.File namespace)

Third, you should never use absolute path's in your program, either use predefined paths such as the users temp directory or use a setting file where you store these path's.


As a last let me give you some pointers as how to ask a question here.
Don't just ask for code, show us what you have done, tell us what the code is supposed to do and what it is actually doing.
If there are any errors post them (but you'll have to write code before you can get any errors of course)
QuestionRe: How to make a button that will copy two files and put them somewhere else [modified] Pin
mshome7724-Aug-10 5:31
mshome7724-Aug-10 5:31 
GeneralRe: How to make a button that will copy two files and put them somewhere else Pin
spencepk25-Aug-10 2:42
spencepk25-Aug-10 2:42 
AnswerRe: How to make a button that will copy two files and put them somewhere else PinPopular
johannesnestler24-Aug-10 5:22
johannesnestler24-Aug-10 5:22 
GeneralRe: How to make a button that will copy two files and put them somewhere else Pin
mshome7724-Aug-10 7:40
mshome7724-Aug-10 7:40 
GeneralRe: How to make a button that will copy two files and put them somewhere else Pin
hahanottelling24-Aug-10 21:13
hahanottelling24-Aug-10 21:13 
GeneralRe: How to make a button that will copy two files and put them somewhere else Pin
johannesnestler24-Aug-10 22:28
johannesnestler24-Aug-10 22:28 
AnswerRe: How to make a button that will copy two files and put them somewhere else PinPopular
Tom Foswick24-Aug-10 21:58
Tom Foswick24-Aug-10 21:58 
GeneralRe: How to make a button that will copy two files and put them somewhere else Pin
mshome7725-Aug-10 2:18
mshome7725-Aug-10 2:18 
AnswerRe: How to make a button that will copy two files and put them somewhere else Pin
Phan7om26-Aug-10 23:19
Phan7om26-Aug-10 23:19 
Questionget the IDLE time [Solved] Pin
εїзεїзεїз23-Aug-10 23:04
εїзεїзεїз23-Aug-10 23:04 
AnswerRe: get the IDLE time Pin
Nuri Ismail23-Aug-10 23:28
Nuri Ismail23-Aug-10 23:28 
GeneralRe: get the IDLE time Pin
εїзεїзεїз23-Aug-10 23:49
εїзεїзεїз23-Aug-10 23:49 
GeneralRe: get the IDLE time Pin
Nuri Ismail24-Aug-10 0:04
Nuri Ismail24-Aug-10 0:04 
QuestionHow to make the VB6 and MS-Access project Centralised? Pin
kokilag23-Aug-10 20:24
kokilag23-Aug-10 20:24 
AnswerRe: How to make the VB6 and MS-Access project Centralised? Pin
_Damian S_23-Aug-10 20:41
professional_Damian S_23-Aug-10 20:41 
GeneralRe: How to make the VB6 and MS-Access project Centralised? Pin
kokilag24-Aug-10 19:31
kokilag24-Aug-10 19:31 
GeneralRe: How to make the VB6 and MS-Access project Centralised? Pin
_Damian S_24-Aug-10 20:38
professional_Damian S_24-Aug-10 20:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.