Click here to Skip to main content
15,910,603 members
Home / Discussions / C#
   

C#

 
Questionhave u seen these codes Pin
netJP12L21-Oct-08 10:00
netJP12L21-Oct-08 10:00 
AnswerRe: have u seen these codes Pin
Ennis Ray Lynch, Jr.21-Oct-08 10:13
Ennis Ray Lynch, Jr.21-Oct-08 10:13 
AnswerRe: have u seen these codes [modified] Pin
Mark Salsbery21-Oct-08 10:15
Mark Salsbery21-Oct-08 10:15 
GeneralRe: have u seen these codes Pin
Gideon Engelberth21-Oct-08 11:18
Gideon Engelberth21-Oct-08 11:18 
GeneralRe: have u seen these codes Pin
Mark Salsbery21-Oct-08 11:25
Mark Salsbery21-Oct-08 11:25 
AnswerRe: have u seen these codes Pin
harold aptroot21-Oct-08 13:40
harold aptroot21-Oct-08 13:40 
QuestionEnvironment.GetCommandLineArgs(); [modified] Pin
schiebel-t21-Oct-08 9:30
schiebel-t21-Oct-08 9:30 
AnswerRe: Environment.GetCommandLineArgs(); Pin
Dave Kreskowiak21-Oct-08 10:37
mveDave Kreskowiak21-Oct-08 10:37 
That because Explorer only launches your application with one file at a time. Your code is expecting this:
MyApp.exe file1.txt file2.txt file3.txt file4.txt

Explorer is actually launching this:
MyApp.exe file1.txt
MyApp.exe file2.txt
MyApp.exe file3.txt
MyApp.exe file4.txt

Google for "Single instance application c#" for examples on how to deal with this situation and pass the filename from one instance of your app to another.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralNtSuspendProcess (save a n00b) Pin
boberick221-Oct-08 9:20
boberick221-Oct-08 9:20 
GeneralRe: NtSuspendProcess (save a n00b) Pin
SeMartens21-Oct-08 9:45
SeMartens21-Oct-08 9:45 
QuestionbindingNavigator Pin
ahmadbakro21-Oct-08 8:22
ahmadbakro21-Oct-08 8:22 
QuestionObjForScrpt Pin
Christopher Hernandez21-Oct-08 5:37
Christopher Hernandez21-Oct-08 5:37 
AnswerRe: ObjForScrpt Pin
Simon P Stevens21-Oct-08 5:41
Simon P Stevens21-Oct-08 5:41 
GeneralRe: ObjForScrpt Pin
Christopher Hernandez22-Oct-08 9:09
Christopher Hernandez22-Oct-08 9:09 
GeneralRe: ObjForScrpt Pin
Pete O'Hanlon22-Oct-08 9:27
mvePete O'Hanlon22-Oct-08 9:27 
AnswerRe: ObjForScrpt Pin
Paul Conrad21-Oct-08 5:53
professionalPaul Conrad21-Oct-08 5:53 
Questionlinked list in 2.0 and the error: Pin
nesfrank21-Oct-08 5:29
nesfrank21-Oct-08 5:29 
AnswerRe: linked list in 2.0 and the error: Pin
Ennis Ray Lynch, Jr.21-Oct-08 5:38
Ennis Ray Lynch, Jr.21-Oct-08 5:38 
GeneralRe: linked list in 2.0 and the error: Pin
nesfrank21-Oct-08 5:57
nesfrank21-Oct-08 5:57 
GeneralRe: linked list in 2.0 and the error: Pin
nesfrank21-Oct-08 6:07
nesfrank21-Oct-08 6:07 
GeneralRe: linked list in 2.0 and the error: [modified] Pin
Pedram Behroozi21-Oct-08 8:21
Pedram Behroozi21-Oct-08 8:21 
QuestionC# DataGridView extension to allow Drag n Drop. Pin
Graham_421-Oct-08 5:22
Graham_421-Oct-08 5:22 
AnswerRe: C# DataGridView extension to allow Drag n Drop. Pin
led mike21-Oct-08 9:09
led mike21-Oct-08 9:09 
Questionselection of row on which i mouse right click button is clicked in true db grid Pin
tanvir209021-Oct-08 5:08
tanvir209021-Oct-08 5:08 
AnswerRe: selection of row on which i mouse right click button is clicked in true db grid Pin
Ashfield21-Oct-08 5:12
Ashfield21-Oct-08 5:12 

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.