|
-
Feb 12th, 2000, 02:15 AM
#1
Thread Starter
New Member
Hello
I wrote the registry that when double-clicking on files, written by my program, starts the program. It starts the program but I want program to read data from them. For example, MSWord files *.doc when clicked, are starting the MSWord and program automatically open that files. I looked for API but haven't found it.
Any suggestion to solv this?
-
Feb 13th, 2000, 05:22 PM
#2
Frenzied Member
I'm not 100% certain but I think when you launch a file like this the filename is sent to your program as the command line.
In that case, at the beginning of you program you could check Command$ and see if the file you double-clicked is there.
Eg;
If Command$<>"" then
OpenFile Command$
endif
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
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
|