View Full Version : open mgn File
Samio
01-14-2008, 08:59 AM
Hi,Dear Friends.
I Make a program with autoplay.
this progam open .mgn File.(I quantificate a new Extension For my Program)
When User Double Click (open) A mgn File,My Program will be opened.
Question :
it is possible I know
my program is runed with main file (myapp.exe)
or
it is runed by mgn file.
thanks.
Samio
01-15-2008, 09:50 AM
:huh:huh:huh
Hi,Please Help Me.
:o
FoxLeader
01-15-2008, 11:26 AM
This question has already been answered. Please use the Search function (http://indigorose.com/forums/search.php) :)
Search for "custom filetype" or smething like this.
Samio
01-16-2008, 01:00 AM
Hi.
I Serach but not Find Any Answer For This Question.
I Make a new Extension (FileType) And Then Open This files
My Program Is Runed.
But I Want To Find My Program is Runded By My File Or No?
Samio
01-17-2008, 02:37 AM
Hi.
Please let me comment it with another method.
sorry my english language is very bad.
I want make a image browser For bmp file.
when user open bmp file my program run and show image with a splash image.
I make this registry value equal my applicatipn path.
key : HKEY_CLASSES_ROOT\Paint.Picture\shell\open\command
valuename : @ ("default")
value : _MyAppPath (example: "C:\myapp\image viewer.exe" %1)
Now my program is runned when a bmp file opened.
How i set splash image with selected image?
longedge
01-17-2008, 03:25 AM
What you are thinking about is changing the file association for .bmp files. Most people would not take kindly to this being done on their system unless you give a very clear warning that it is about to happen and what the consequences are, and also give a clear cancel option. Personally I would not even consider doing this.
Check out this (http://www.indigorose.com/forums/showthread.php?t=17380) post.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.