Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
AnswerRe: Check this out guys! Pin
0x3c03-Jun-09 22:27
0x3c03-Jun-09 22:27 
ShreeR.Bhattacharjee wrote:
System.IO.File.Copy("basedir", "C:\\desiredlocation");


'basedir' shouldn't be in quotes. And that code snippet will copy the entire directory. Useful if you have references you want preserving, but if you just want to copy the executable, you should be specifying a.Location as the first parameter of File.Copy, not basedir

Between the idea
And the reality
Between the motion
And the act
Falls the Shadow

GeneralRe: Check this out guys! Pin
Rajdeep.NET3-Jun-09 23:01
Rajdeep.NET3-Jun-09 23:01 
GeneralRe: Check this out guys! Pin
0x3c04-Jun-09 1:36
0x3c04-Jun-09 1:36 
AnswerRe: Check this out guys! Pin
Pete O'Hanlon3-Jun-09 22:28
mvePete O'Hanlon3-Jun-09 22:28 
GeneralRe: Check this out guys! Pin
Rajdeep.NET3-Jun-09 22:52
Rajdeep.NET3-Jun-09 22:52 
GeneralRe: Check this out guys! Pin
0x3c03-Jun-09 22:58
0x3c03-Jun-09 22:58 
GeneralRe: Check this out guys! Pin
Rajdeep.NET3-Jun-09 22:53
Rajdeep.NET3-Jun-09 22:53 
GeneralRe: Check this out guys! Pin
Alan N3-Jun-09 23:10
Alan N3-Jun-09 23:10 
AnswerRe: Check this out guys! Pin
J4amieC3-Jun-09 23:48
J4amieC3-Jun-09 23:48 
GeneralRe: Check this out guys! Pin
Rajdeep.NET4-Jun-09 6:10
Rajdeep.NET4-Jun-09 6:10 
GeneralRe: Check this out guys! Pin
J4amieC5-Jun-09 0:08
J4amieC5-Jun-09 0:08 
QuestionRe: Check this out guys! Pin
Rajesh R Subramanian3-Jun-09 23:57
professionalRajesh R Subramanian3-Jun-09 23:57 
AnswerRe: Check this out guys! Pin
EliottA4-Jun-09 7:15
EliottA4-Jun-09 7:15 
GeneralRe: Check this out guys! Pin
Rajesh R Subramanian4-Jun-09 18:50
professionalRajesh R Subramanian4-Jun-09 18:50 
AnswerBTW Pin
Rajesh R Subramanian4-Jun-09 0:03
professionalRajesh R Subramanian4-Jun-09 0:03 
QuestionHow to figure out whether an enum is defined in an assembly. [modified] Pin
_AnsHUMAN_ 3-Jun-09 22:01
_AnsHUMAN_ 3-Jun-09 22:01 
AnswerRe: How to figure out whether an enum is defined in an assembly. Pin
0x3c03-Jun-09 22:04
0x3c03-Jun-09 22:04 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
_AnsHUMAN_ 3-Jun-09 22:06
_AnsHUMAN_ 3-Jun-09 22:06 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
0x3c03-Jun-09 22:15
0x3c03-Jun-09 22:15 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
_AnsHUMAN_ 3-Jun-09 22:45
_AnsHUMAN_ 3-Jun-09 22:45 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
0x3c03-Jun-09 22:57
0x3c03-Jun-09 22:57 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
_AnsHUMAN_ 3-Jun-09 23:43
_AnsHUMAN_ 3-Jun-09 23:43 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
0x3c04-Jun-09 1:43
0x3c04-Jun-09 1:43 
AnswerRe: How to figure out whether an enum is defined in an assembly. Pin
S. Senthil Kumar4-Jun-09 2:15
S. Senthil Kumar4-Jun-09 2:15 
GeneralRe: How to figure out whether an enum is defined in an assembly. Pin
_AnsHUMAN_ 4-Jun-09 20:11
_AnsHUMAN_ 4-Jun-09 20:11 

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.