Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: António Lopes
  Where is António Lopes?
 Coimbra
 Portugal
 António Lopes
 To: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
Subject: RE: get file associated application name
Thread ID: 438113 Message ID: 438147 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, July 5, 2016 1:54:16 AM         
   



> Sir
>
> it's possible can get icon , and it's location
>
> thanks in advance

Add this definition

#DEFINE ASSOCSTR_DEFAULTICON		15


and use the constant as the str parameter of AssocQueryString(). In case of a successful return, the filename will be in the form of a full path filename, a comma, and an index. For example, for ".prg", that will be (HOME(1) + "vfp9.exe"), as the resource file path and name, and "-102" as the index. This represents the icon with the ID 102, which holds the PRG icon.

ENTIRE THREAD

get file associated application name Posted by prasanna kunder @ 7/3/2016 11:01:57 PM
RE: get file associated application name Posted by Mike Gagnon @ 7/4/2016 12:03:33 AM
RE: get file associated application name Posted by António Lopes @ 7/4/2016 12:30:34 AM
RE: get file associated application name Posted by prasanna kunder @ 7/4/2016 8:31:29 PM
RE: get file associated application name Posted by prasanna kunder @ 7/4/2016 8:49:42 PM
RE: get file associated application name Posted by António Lopes @ 7/5/2016 1:54:16 AM