Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
AnswerRe: a single carriage return means new line? Pin
Jimmanuel27-Apr-09 1:04
Jimmanuel27-Apr-09 1:04 
Questioncreate MDI forms using C#.net 2008 Pin
Narsimha0926-Apr-09 20:52
Narsimha0926-Apr-09 20:52 
AnswerRe: create MDI forms using C#.net 2008 Pin
King Julien26-Apr-09 21:24
King Julien26-Apr-09 21:24 
QuestionHow to read connection string from app.config in .net 3.5 Pin
NarVish26-Apr-09 20:43
NarVish26-Apr-09 20:43 
AnswerRe: How to read connection string from app.config in .net 3.5 Pin
Sun Rays26-Apr-09 20:48
Sun Rays26-Apr-09 20:48 
QuestionChanging IE Browser's default home page..... help required! Pin
Rajdeep.NET is BACK26-Apr-09 20:31
Rajdeep.NET is BACK26-Apr-09 20:31 
AnswerRe: Changing IE Browser's default home page..... help required! Pin
Sun Rays26-Apr-09 20:51
Sun Rays26-Apr-09 20:51 
QuestionCopying a program to removable device.....please help! Pin
Rajdeep.NET is BACK26-Apr-09 20:17
Rajdeep.NET is BACK26-Apr-09 20:17 
Hi there,

Thanks for taking interest in my question. I am trying to create a program which will detect any removable device attached to the System and copy itself to it. Something like this:

//Pseudo code begins:

1). If G:(Removable device) contains myprogram.exe, then goto step (2)
else
Copy myprogram.exe to G:(Removable device).

2). Exit

//Pseudo code ends here

But the problem is that, how will I code the program to detect Removable devices ex. PenDrive attached to the system?

Please help,
Its really urgent,
Long Live Code Project,
Rajdeep.NET
AnswerRe: Copying a program to removable device.....please help! Pin
Christian Graus26-Apr-09 21:08
protectorChristian Graus26-Apr-09 21:08 
GeneralRe: Copying a program to removable device.....please help! Pin
King Julien26-Apr-09 21:12
King Julien26-Apr-09 21:12 
AnswerRe: Copying a program to removable device.....please help! Pin
King Julien26-Apr-09 21:11
King Julien26-Apr-09 21:11 
GeneralRe: Copying a program to removable device.....please help! Pin
Christian Graus26-Apr-09 21:37
protectorChristian Graus26-Apr-09 21:37 
JokeRe: Copying a program to removable device.....please help! Pin
King Julien26-Apr-09 21:41
King Julien26-Apr-09 21:41 
GeneralRe: Copying a program to removable device.....please help! Pin
Rajdeep.NET is BACK27-Apr-09 8:12
Rajdeep.NET is BACK27-Apr-09 8:12 
Questionclsoe issues excel sheet in C# Pin
Ravenet26-Apr-09 19:39
Ravenet26-Apr-09 19:39 
AnswerRe: clsoe issues excel sheet in C# Pin
Ravenet26-Apr-09 20:58
Ravenet26-Apr-09 20:58 
Questionreading large data from binary Pin
kaushik_dass26-Apr-09 19:35
kaushik_dass26-Apr-09 19:35 
AnswerRe: reading large data from binary Pin
Christian Graus26-Apr-09 20:10
protectorChristian Graus26-Apr-09 20:10 
Questionscaner code Pin
mehdad.koulab26-Apr-09 19:17
mehdad.koulab26-Apr-09 19:17 
AnswerRe: scaner code Pin
Christian Graus26-Apr-09 19:53
protectorChristian Graus26-Apr-09 19:53 
Question.chm file editor Pin
Sajjad Leo26-Apr-09 18:57
Sajjad Leo26-Apr-09 18:57 
Questionabout batabase table Pin
Mangesh Tomar26-Apr-09 17:56
Mangesh Tomar26-Apr-09 17:56 
AnswerRe: about batabase table Pin
N a v a n e e t h26-Apr-09 18:15
N a v a n e e t h26-Apr-09 18:15 
AnswerRe: about batabase table Pin
S. Senthil Kumar27-Apr-09 5:00
S. Senthil Kumar27-Apr-09 5:00 
QuestionHow to centrally place a Database to share among internal windows form application and also to web application? Pin
Aghosh Babu26-Apr-09 17:08
Aghosh Babu26-Apr-09 17:08 

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.