
File types, and open specified file type
In your Main(), you have to use the variable Command$ to get the file
name and any switches.
--
-------------------------------
---==Fester==---
"Microsoft has done nothing illegal."
"The average user is computer-illiterate"
"Anything proprietary is bad."
Webmaster of: http://www.mchenryinc.com/
====================================================
Quote:
>Hi!
>I don't know how to formulate this exactly, but here is the problem:
>You all know that when you register a new file type, it suppose to be
>opened with an application.
>Let's say I've made a text editor. I don't use usual .txt extention,
but i
>specify my own, new extention, let's say .RRR. Then I associate this
>file type with my app in Windows - File Types window.
>Everything goes well, until I doubleclick on the file.
>Application opens, but no file loads. I have to load it manualy.
>Why?
>Did I miss something, or it just so that I have to add special code
>to my app, to make this work?
>Thaks for your answers.
>Diman