Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing filename to a function through assosiations

Status
Not open for further replies.

Crundy

Programmer
Jul 20, 2001
305
GB
Hello
Does anyone know how to trigger a function (in this case an mnuFileOpen function) when the user double clicks on a file associated with your program from their filesystem?

e.g. you have a word processor program and have associated a particular file extension with it. When the user double clicks on one of those files, it loads your program, and passes the filename to mnuFileOpen for it to process
 
I think tah maybe the filename comes via command$.
So once you got the filename, just pass it to the right sub/function ......

(Did i missunderstood you question??? :-I)

bluenote@uyuyuy.com
(excuse my english)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top