small file/prog association question
-
I've seen this asked & answered before, but don't remember where (and can't seem to find it now that I'm interested). I want to be able to double-click on my own .xyz files and open them in my program, much like double-clicking on a .doc file opens it in your preferred word processor. I suspect it has to do with the registry and a commandline switch or arg or something. Can someone please point me in the right direction?
-Daniel Typing too fast fro my owngood
-
I've seen this asked & answered before, but don't remember where (and can't seem to find it now that I'm interested). I want to be able to double-click on my own .xyz files and open them in my program, much like double-clicking on a .doc file opens it in your preferred word processor. I suspect it has to do with the registry and a commandline switch or arg or something. Can someone please point me in the right direction?
-Daniel Typing too fast fro my owngood
If you're not asking for a programmatical approach, the simplest way would be following these three steps: 1) Right click on the file and go to "Open with..." menu. 2) Choose your program (executable) via "Browse..." button; then check "Always use the selected program to open this kind of file". 3) Click "OK" to close the "Open With" dialog.
Best, Jun
-
If you're not asking for a programmatical approach, the simplest way would be following these three steps: 1) Right click on the file and go to "Open with..." menu. 2) Choose your program (executable) via "Browse..." button; then check "Always use the selected program to open this kind of file". 3) Click "OK" to close the "Open With" dialog.
Best, Jun
-
My application isn't that cool yet. In the list, it doesn't have a name or description (just an icon). When I follow those steps, it opens my application without opening the selected file.
-Daniel Typing too fast fro my owngood
I see. Then, you probably want to make your application to support certain document types first. A critical step I remember is that when you register the document templete in YourApp.cpp file, indicate the document type. Google "document templete" for more information.
Best, Jun
-
I see. Then, you probably want to make your application to support certain document types first. A critical step I remember is that when you register the document templete in YourApp.cpp file, indicate the document type. Google "document templete" for more information.
Best, Jun
That would be fine if I was still using C++, but I liberated myself from that a long time ago. It's just a plain C# Windows Forms application with some simple text file IO capabilities. I found a little help in an old MSKB article, but it's all VB, so it'll take me a bit to figure out what the heck they're trying to do (ie, I might as well be trying to read Portuguese, when I know Spanish instead). But it shouldn't be impossible, just tedius. Thank you anyway!
-Daniel Typing too fast fro my owngood
-
That would be fine if I was still using C++, but I liberated myself from that a long time ago. It's just a plain C# Windows Forms application with some simple text file IO capabilities. I found a little help in an old MSKB article, but it's all VB, so it'll take me a bit to figure out what the heck they're trying to do (ie, I might as well be trying to read Portuguese, when I know Spanish instead). But it shouldn't be impossible, just tedius. Thank you anyway!
-Daniel Typing too fast fro my owngood
Hello friends, I was having same problem. I want my .xyz file associate with my application when i install the project. also i want to use the file name which has clicked in further in my code when my application will start. anybody have idea regarding this? i am realy stuck into this Please help me any kind of help is appreciable thanks in advance. Regards, Irfan Kothari.
-
Hello friends, I was having same problem. I want my .xyz file associate with my application when i install the project. also i want to use the file name which has clicked in further in my code when my application will start. anybody have idea regarding this? i am realy stuck into this Please help me any kind of help is appreciable thanks in advance. Regards, Irfan Kothari.
As far as I can tell, there are two requirements: - put in a specific registry entry - adjust your program to account for a commandline argument However, I'm a little fuzzy on the details (and, since this thread has fallen so far down the list, I doubt anyone will reply), so you'll probably just have to keep searching the internet for the specifics.
-Daniel Typing too fast fro my owngood