Click here to Skip to main content
15,905,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: important msg Pin
Baeltazor16-May-09 0:47
Baeltazor16-May-09 0:47 
QuestionAssigning value to session in javascript Pin
Indrajeet Sutar15-May-09 20:06
Indrajeet Sutar15-May-09 20:06 
AnswerRe: Assigning value to session in javascript Pin
dan!sh 15-May-09 20:08
professional dan!sh 15-May-09 20:08 
GeneralRe: Assigning value to session in javascript Pin
Indrajeet Sutar15-May-09 20:16
Indrajeet Sutar15-May-09 20:16 
GeneralRe: Assigning value to session in javascript Pin
dan!sh 15-May-09 20:20
professional dan!sh 15-May-09 20:20 
QuestionCreate the context menu at run time Pin
lnmca15-May-09 19:53
lnmca15-May-09 19:53 
AnswerRe: Create the context menu at run time Pin
dan!sh 15-May-09 20:11
professional dan!sh 15-May-09 20:11 
Questionhow to open the file.... Pin
kapilonkar15-May-09 19:48
kapilonkar15-May-09 19:48 
Hello ,
Can anyone help me...?
I want to know As Applications (Ms Word, Excel, Photoshop,..etc) can open files in two ways:
either using OpenFileDialg-like dialog,
or by opening them when user in a file manager double clicks a file (that the application knows how to open - MsWord opens files with "doc" extensions, Photoshop opens "psd",... etc).
I have created an application using c# .Net (Windows Application).
I want MY APPLICATION to be able to open file in this way: that is without using [open file dialog].
I managed to "associate" particular file extension (let it be "abc") to be opened by my application,
when the file (with "abc" extension) is clicked the program starts - but I dont know how to get the full path to the file in order to open it.
So, currently the program is executed upon double-click - but the program does not open the file clicked.

I know how to open the file, but I must know which file to open. This is the problem.

I would expect also an event that would be fired if the program would be already running, and a file (with "abc" extension would be clicked in windows explorer
(or any other file manager)) .

Thanx n Regds

Kapil
AnswerRe: how to open the file.... Pin
Nuri Ismail15-May-09 21:09
Nuri Ismail15-May-09 21:09 
GeneralRe: how to open the file.... Pin
kapilonkar15-May-09 23:59
kapilonkar15-May-09 23:59 
QuestionHow to blink label in C# Pin
Mads11515-May-09 19:34
Mads11515-May-09 19:34 
AnswerRe: How to blink label in C# Pin
dan!sh 15-May-09 19:49
professional dan!sh 15-May-09 19:49 
GeneralRe: How to blink label in C# Pin
OriginalGriff15-May-09 22:58
mveOriginalGriff15-May-09 22:58 
AnswerRe: How to blink label in C# Pin
Anubhava Dimri15-May-09 22:59
Anubhava Dimri15-May-09 22:59 
AnswerRe: How to blink label in C# Pin
aleemjan18-Jun-09 19:29
aleemjan18-Jun-09 19:29 
Questiontwo forms Pin
michaelgr115-May-09 19:28
michaelgr115-May-09 19:28 
AnswerRe: two forms Pin
dan!sh 15-May-09 19:40
professional dan!sh 15-May-09 19:40 
GeneralRe: two forms Pin
michaelgr115-May-09 19:54
michaelgr115-May-09 19:54 
GeneralRe: two forms Pin
dan!sh 15-May-09 20:03
professional dan!sh 15-May-09 20:03 
GeneralRe: two forms Pin
michaelgr115-May-09 20:09
michaelgr115-May-09 20:09 
GeneralRe: two forms Pin
dan!sh 15-May-09 20:16
professional dan!sh 15-May-09 20:16 
GeneralRe: two forms Pin
michaelgr115-May-09 20:34
michaelgr115-May-09 20:34 
GeneralRe: two forms Pin
dan!sh 16-May-09 0:13
professional dan!sh 16-May-09 0:13 
QuestionCross-thread exception Pin
Ankit At Codeproject15-May-09 19:12
Ankit At Codeproject15-May-09 19:12 
AnswerRe: Cross-thread exception Pin
ellllllllie15-May-09 19:24
ellllllllie15-May-09 19:24 

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.