There are two steps for this:
1) add code in your app to read Command$() on startup, and act appropriately
cmdline = Command$()
<do something with cmdline>
2) create a file association for your file's unique extension. See
http://vbnet.mvps.org/code/reg/association.htm.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
"david johnson" <ia******@earthlink.net> wrote in message
news:vg*****************@newsread3.news.atl.earthl ink.net...
:I wrote an app thats alot like a text editor. It produces files of a User
: Defined type. I want the user to be able to dble click on a saved file
: that was made by my program and have my program come up and read the
file..
: I can write the code to handle the file but where does Windows store the
: File Path of a file that was just dble clicked by user. I've tested
: registry, and searched windows files. Any Ideas?
:
: