Look in registry for that extension to see which application in associated with it. This is a 2 step process.
Manually search your registry for .jpg and see an application associated with the jpg files. Then look for that application and you will find its path. If you cannot find that extension in registry or the key associated is an empty string, then no application is associated with it. Robert Meek wrote: > Morning all, > I have an urgent need that I hope someone here can help me figure > out how to handle, involving how to find out the full path and filename of > an application via it being the registered file type for a selected data > file! > In my application, the user selects a data file, for example a .doc > file which on most systems will be registered to open with Microsoft Word. > How can my application find out if it has a registered application, what its > registered application is, and return the path and filename of it to the > user without actually launching the data file? > Thanx in advance for any help! > > from Robert Meek dba "Tangentals Design" > e-mail: [EMAIL PROTECTED] > Freelance Windows Programming for XP and Vista > Also proud to be a Moderator of the "Delphi-List" at elists.org > > "Reality cannot be explained...only enjoyed or endured as your current > perspective allows!" > > _______________________________________________ > Delphi mailing list -> [email protected] > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi > > _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

