Hey guys.
So i'm making application that i want to use to view gif files in windows 7, because there is no viewer (i dont think internet explorer is a good choose..)
So everything seems to be ok..
I made the image, that is send to my application command line argument, to be opened in picturebox.. And it works when i drag gif image over my application shortcut or executable, but..
I wanted to add my app to default programs list, to open gif..
So i used registry, added this key:
HKEY_CLASSES_ROOT\giffile\shell\Open\command
in the default i set path to my application
My application opens with the file, but i get this error mesage:
Help me please, whats the problem?
So i'm making application that i want to use to view gif files in windows 7, because there is no viewer (i dont think internet explorer is a good choose..)
So everything seems to be ok..
I made the image, that is send to my application command line argument, to be opened in picturebox.. And it works when i drag gif image over my application shortcut or executable, but..
I wanted to add my app to default programs list, to open gif..
So i used registry, added this key:
HKEY_CLASSES_ROOT\giffile\shell\Open\command
in the default i set path to my application
My application opens with the file, but i get this error mesage:

Help me please, whats the problem?