realbasic-nug
[Top] [All Lists]

Re: Looking for a way query a Windows system for an icon associated with

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Looking for a way query a Windows system for an icon associated with a filename extension
From: Fargo Holiday <fargo@rpgportland.com>
Date: Wed, 30 Jul 2008 12:37:43 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <C4B6232B.366A%robl@no-no-badpuppy.com>
References: <C4B6232B.366A%robl@no-no-badpuppy.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.16 (X11/20080724)
robl@no-no-badpuppy.com wrote:
Ok, another question to all of the RB Pros.

I found a fantastic class in macoslib that allows me to pass an extension to a 
class method and it returns an icon for the associated document type, which I 
can draw in a listbox or canvas.

I am now trying to do this for Windows XP / Vista.  I looked at Aaron Ballman's 
Windows Functionality Suite, but I couldn't find anything that would fit this 
need.

Has anyone figured out how to do this?  If so, any tips would be much 
appreciated.

Thanks!

Robert

Well, the information will be in the registry, typically in HKEY_CLASSES_ROOT, as I recall. The file extension entry will say something like "REALBasic Project" and later in the list will be an entry for REALBasic Project, that'll contain the reference to the icon.

Best of luck,
Fargo

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>