Opening our windows application by double clicking a file...
-
Hey all... I came across a very basic problem .... Suppose I made a simple Notepad like editor... Now I want that whenever I double click on any presice extension file . .. i.e. .jpg or anything... It should open my application and the file should be opened .... It is somewhat like opening a word document by double clicking the .doc file ... This is exactly what I want in my application... Thanx in advance techies...
-
Hey all... I came across a very basic problem .... Suppose I made a simple Notepad like editor... Now I want that whenever I double click on any presice extension file . .. i.e. .jpg or anything... It should open my application and the file should be opened .... It is somewhat like opening a word document by double clicking the .doc file ... This is exactly what I want in my application... Thanx in advance techies...
Here is an example: Registering the Extension[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
Hey all... I came across a very basic problem .... Suppose I made a simple Notepad like editor... Now I want that whenever I double click on any presice extension file . .. i.e. .jpg or anything... It should open my application and the file should be opened .... It is somewhat like opening a word document by double clicking the .doc file ... This is exactly what I want in my application... Thanx in advance techies...
you have to associate your application with that file type. 2 ways to do that 1. Just right click on any file of that type > open with > Choose Default Program > and browse your app and check 'Always use this pro....' 2. You can directly edit registry, read this article[^] plus when you done, you have catch the arguments that will give you that file path you open by double click. you can get through
Main(string[] args)
orEnvironment.CommandLineArgs
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN% R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
----------------------------------------------- 128 bit encrypted signature, crack if you can
-
Here is an example: Registering the Extension[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
But after registering also.. Suppose it opened the application.. But how to load that file because of which it is opened... Did you understand the problem ..
-
you have to associate your application with that file type. 2 ways to do that 1. Just right click on any file of that type > open with > Choose Default Program > and browse your app and check 'Always use this pro....' 2. You can directly edit registry, read this article[^] plus when you done, you have catch the arguments that will give you that file path you open by double click. you can get through
Main(string[] args)
orEnvironment.CommandLineArgs
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN% R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
----------------------------------------------- 128 bit encrypted signature, crack if you can
I think this might surely work . .. This was the thing that I want. . Thanks dude. .
-
But after registering also.. Suppose it opened the application.. But how to load that file because of which it is opened... Did you understand the problem ..
If I'm not mistaken windows will automatically add the path of the file as an argument...
V.
Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive -
I think this might surely work . .. This was the thing that I want. . Thanks dude. .
-
It worked dude. .. Thanks a lot all of you . .. I really appreciated man . .