` Starting app with file selected in Windows Explorer (Larry Sand ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Starting app with file selected in Windows Explorer
2000-12-14 -- Larry Sand
 
>I know how to associate the file extension with my app. > > I do not know how to get the file from windows explorer before my app > starts. I have a open file procedure that works fine When you double click on the associated file, the short file name is passed on the command line to your application. I typically use LONGPATH() to convert this before using it in the program. Use COMMAND() to retrieve in the program before the files are opened. Tim Phillips adds: I am using Windows 2000 Professional and that is passing the long path with " marks when the path would use it.


Today is April 28, 2024, 1:12 pm
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: