Click here to Skip to main content
16,011,905 members
Home / Discussions / C#
   

C#

 
QuestionGetting IE or Firefox to automatically open the file Pin
Brad Wick21-Oct-07 15:12
Brad Wick21-Oct-07 15:12 
AnswerRe: Getting IE or Firefox to automatically open the file Pin
PIEBALDconsult21-Oct-07 15:51
mvePIEBALDconsult21-Oct-07 15:51 
GeneralRe: Getting IE or Firefox to automatically open the file Pin
Brad Wick21-Oct-07 16:03
Brad Wick21-Oct-07 16:03 
GeneralRe: Getting IE or Firefox to automatically open the file Pin
PIEBALDconsult22-Oct-07 14:30
mvePIEBALDconsult22-Oct-07 14:30 
QuestionHow to change the image of pictureBox the CrystalReport in C#2005 Pin
mctramp16821-Oct-07 14:43
mctramp16821-Oct-07 14:43 
AnswerRe: How to change the image of pictureBox the CrystalReport in C#2005 Pin
mctramp16822-Oct-07 14:14
mctramp16822-Oct-07 14:14 
Questionhow can get start path at load time ? Pin
B.A21-Oct-07 14:15
B.A21-Oct-07 14:15 
AnswerRe: how can get start path at load time ? Pin
Luc Pattyn21-Oct-07 14:59
sitebuilderLuc Pattyn21-Oct-07 14:59 
your app will get launched and the file will be in the CommandLine arguments.
Use one of:
- the args parameter of static Main
- Environment.GetCommandLineArgs()

and add code to open the file.

BTW: if you select multiple files in Win Explorer and double-click one of them, they
will all appear (in random order) as command line args.

Smile | :)


Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


GeneralRe: how can get start path at load time ? Pin
B.A21-Oct-07 21:03
B.A21-Oct-07 21:03 
Questioninserting values from drop down list Pin
anuradha.rrao21-Oct-07 11:06
anuradha.rrao21-Oct-07 11:06 
AnswerRe: inserting values from drop down list Pin
Christian Graus21-Oct-07 11:58
protectorChristian Graus21-Oct-07 11:58 
GeneralRe: inserting values from drop down list Pin
anuradha.rrao22-Oct-07 3:05
anuradha.rrao22-Oct-07 3:05 
QuestionCustom form (again) Pin
MasterSharp21-Oct-07 10:16
MasterSharp21-Oct-07 10:16 
AnswerRe: Custom form (again) Pin
Christian Graus21-Oct-07 12:03
protectorChristian Graus21-Oct-07 12:03 
Questionembedding WMP and changing it's skin [modified] Pin
H.R21-Oct-07 10:04
H.R21-Oct-07 10:04 
QuestionDataGrid help Pin
Aviv Giladi21-Oct-07 9:44
Aviv Giladi21-Oct-07 9:44 
QuestionHow long does it take? Pin
Brad Barnhill21-Oct-07 4:05
Brad Barnhill21-Oct-07 4:05 
AnswerRe: How long does it take? Pin
Anthony Mushrow21-Oct-07 5:24
professionalAnthony Mushrow21-Oct-07 5:24 
AnswerRe: How long does it take? Pin
Paul Conrad21-Oct-07 5:58
professionalPaul Conrad21-Oct-07 5:58 
AnswerRe: How long does it take? Pin
Pete O'Hanlon21-Oct-07 9:28
mvePete O'Hanlon21-Oct-07 9:28 
GeneralRe: How long does it take? Pin
Brad Barnhill22-Oct-07 11:14
Brad Barnhill22-Oct-07 11:14 
GeneralRe: How long does it take? Pin
Pete O'Hanlon22-Oct-07 21:59
mvePete O'Hanlon22-Oct-07 21:59 
GeneralRe: How long does it take? Pin
Brad Barnhill23-Oct-07 15:48
Brad Barnhill23-Oct-07 15:48 
GeneralRe: How long does it take? Pin
Pete O'Hanlon23-Oct-07 22:03
mvePete O'Hanlon23-Oct-07 22:03 
GeneralRe: How long does it take? Pin
Brad Barnhill24-Oct-07 1:54
Brad Barnhill24-Oct-07 1:54 

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.