|
-
May 23rd, 1999, 09:26 PM
#1
Insert data to form when associate file got DbClick
Hi,
I had associate a file extension with my app. When user double click the file, my application will be call out. Anyway, i can't figure out how to retrieve data from that file when that DClick event happen and read it at my app load time.
Note : i'm thinking of using Open FileName for Input as ... but i don't know how can my app know the filename of file being DClick.
Sorry for my bad English.
Thanks for Helping. 
-
May 23rd, 1999, 09:55 PM
#2
Re: Insert data to form when associate file got DbClick
Hi,
When Windows calls (your) application assosicated with a perticular File extention, it provides the file name as command line parameter .
So, to get the name of the file on which DbleClick occured, look at Command$ , environment vairable.
Just print Command$ and see if you get the file name.
Use Debug.print Command$ in your startup form's form load.
Ravi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|