Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help Needed in C# (picture viewer) Pin
Guffa7-Jul-07 12:24
Guffa7-Jul-07 12:24 
QuestionHow to delete file in temp folder by code C#? Pin
smilekid7-Jul-07 8:30
smilekid7-Jul-07 8:30 
AnswerRe: How to delete file in temp folder by code C#? Pin
Luc Pattyn7-Jul-07 8:38
sitebuilderLuc Pattyn7-Jul-07 8:38 
GeneralRe: How to delete file in temp folder by code C#? Pin
smilekid7-Jul-07 18:15
smilekid7-Jul-07 18:15 
Questionobject pooled serviced component Pin
wenquxing7-Jul-07 7:23
wenquxing7-Jul-07 7:23 
AnswerRe: object pooled serviced component Pin
wenquxing8-Jul-07 15:53
wenquxing8-Jul-07 15:53 
QuestionPath of a file Pin
suntromantralalalala7-Jul-07 4:51
suntromantralalalala7-Jul-07 4:51 
AnswerRe: Path of a file Pin
Luc Pattyn7-Jul-07 5:00
sitebuilderLuc Pattyn7-Jul-07 5:00 
if you double-click a file with a known extension, it launches its app
and Windows Explorer puts the full file path on the command line.

So you need to grab the command line; you get it (split into parts) as
the parameters of your static Main method. Alternatively you can access it
through some classes, e.g. Environment.CommandLine (not split, and includes
the path the app itself in front).

BTW if you select multiple files, then double-click, they should all
appear on the command line, so you may want to iterate over all the parts
of the command line.

Smile | :)


GeneralRe: Path of a file Pin
suntromantralalalala7-Jul-07 5:04
suntromantralalalala7-Jul-07 5:04 
AnswerRe: Path of a file Pin
Giorgi Dalakishvili7-Jul-07 8:36
mentorGiorgi Dalakishvili7-Jul-07 8:36 
GeneralRe: Path of a file Pin
suntromantralalalala7-Jul-07 9:33
suntromantralalalala7-Jul-07 9:33 
Questionparameterless constructor Pin
brsecu7-Jul-07 2:46
brsecu7-Jul-07 2:46 
AnswerRe: parameterless constructor Pin
DavidNohejl7-Jul-07 3:12
DavidNohejl7-Jul-07 3:12 
GeneralRe: parameterless constructor -Help!!!!!!!! Pin
brsecu7-Jul-07 3:32
brsecu7-Jul-07 3:32 
GeneralRe: parameterless constructor -Help!!!!!!!! Pin
DavidNohejl7-Jul-07 3:47
DavidNohejl7-Jul-07 3:47 
AnswerRe: parameterless constructor Pin
Scott Dorman7-Jul-07 3:13
professionalScott Dorman7-Jul-07 3:13 
GeneralRe: parameterless constructor Pin
brsecu7-Jul-07 3:33
brsecu7-Jul-07 3:33 
QuestionWTF is wront with Lable.TextAlign?? Pin
Muammar©7-Jul-07 1:08
Muammar©7-Jul-07 1:08 
AnswerRe: WTF is wront with Lable.TextAlign?? Pin
Christian Graus7-Jul-07 1:17
protectorChristian Graus7-Jul-07 1:17 
QuestionChange Password Pin
DKalepu7-Jul-07 0:12
DKalepu7-Jul-07 0:12 
AnswerRe: Change Password Pin
Christian Graus7-Jul-07 0:56
protectorChristian Graus7-Jul-07 0:56 
AnswerRe: Change Password Pin
Paul Conrad7-Jul-07 6:44
professionalPaul Conrad7-Jul-07 6:44 
AnswerRe: Change Password Pin
Amar Chaudhary7-Jul-07 7:27
Amar Chaudhary7-Jul-07 7:27 
QuestionC#.Net ASP (Urgent) Pin
| Muhammad Waqas Butt |6-Jul-07 22:29
professional| Muhammad Waqas Butt |6-Jul-07 22:29 
AnswerRe: C#.Net ASP (Urgent) Pin
Muammar©6-Jul-07 23:55
Muammar©6-Jul-07 23:55 

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.