Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing program ICON?
Message
From
13/08/1998 14:34:12
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00126584
Message ID:
00126651
Views:
20
>>-----
>>ok - thanks George:
>>I am trying to get an association with the EXE. example... under Explorer
>>under View, files are listed with an icon. MS Word has there own icon. you
>>do not have to associate DOC files to get the MS Word icon. That is what I want to do with my vfp EXEs. I do not want the fox head. I want to associate
>>my own icon. I can go into the project and setup the program icon. on the
>>short on the desk top, I can change that to what ever icon I want, but program
>>is in explorer/view area. do you know what I mean?
>
>Hi Rob,
>
>I think so, but let me run it back to you in two ways. First, showing the program's icon in for the executable (in the Windows Explorer) requires that both icon formats are contained in the executable.
>
>Now if you want to have the tables, reports and so on have that icon, that's done through the registry. First, the name associated with the extension. For example, HKEY_CLASSES_ROOT\.pjx\Visual.FoxPro.Project. Then under the name, you'll find the icon. For example, HKEY_CLASSES_ROOT\Visual.FoxPro.Project\DefaultIcon. There's a value stored indicating the file the icon is to be extracted from and the offset. Since an executable or DLL can contain a number of icons, the offset indicates which one to extract. It's zero based, BTW.
>
>hth,
---
thanks george - it works now - thanks again .. :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform