Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
AnswerRe: Two C#.Net questions Pin
MumbleB16-May-09 5:24
MumbleB16-May-09 5:24 
GeneralRe: Two C#.Net questions Pin
Roland Szigeti16-May-09 5:27
Roland Szigeti16-May-09 5:27 
GeneralRe: Two C#.Net questions Pin
MumbleB16-May-09 5:36
MumbleB16-May-09 5:36 
QuestionResize Objects with Mouse Pin
ytubis15-May-09 22:56
ytubis15-May-09 22:56 
AnswerRe: Resize Objects with Mouse Pin
dan!sh 16-May-09 0:17
professional dan!sh 16-May-09 0:17 
QuestionCheck if web-frame in webclient is done loading Pin
Member 441789215-May-09 22:17
Member 441789215-May-09 22:17 
Questioncheck open form Pin
michaelgr115-May-09 22:09
michaelgr115-May-09 22:09 
AnswerRe: check open form Pin
Anubhava Dimri15-May-09 22:26
Anubhava Dimri15-May-09 22:26 
AnswerRe: check open form Pin
A.m.a.L15-May-09 22:46
A.m.a.L15-May-09 22:46 
AnswerRe: check open form Pin
dan!sh 16-May-09 0:19
professional dan!sh 16-May-09 0:19 
QuestionHow to use Combo box in C# Pin
dotnetkoders15-May-09 21:00
dotnetkoders15-May-09 21:00 
AnswerRe: How to use Combo box in C# Pin
DaveyM6915-May-09 21:06
professionalDaveyM6915-May-09 21:06 
Questionimportant msg Pin
aadikadain15-May-09 20:19
aadikadain15-May-09 20:19 
AnswerRe: important msg Pin
dan!sh 15-May-09 20:21
professional dan!sh 15-May-09 20:21 
AnswerRe: important msg Pin
A.m.a.L15-May-09 22:50
A.m.a.L15-May-09 22:50 
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 

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.