Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: VFP8 :: ICONs and .FKY Files



Hi,

> #1
> I try to set the application ICON for a final .EXE
> and it is not set for some reason.

The icon for tyhe exe should be set in Project manager -> Attach icon.
The icon file should contains two icons : one 16 x 16, and one 32 x 32.
The small one is use when small icons are shown (as in Explorer, in List or
Details mode), while the big one is shown in other situations (in shortcuts,
start menu, etc).

If you want to set the icon for VFP main form (supposing you use VFP own
window as application main form), you have to use the following code:

_screen.icon = <path to your ICO file>
You can also include the ICO in the exe.

> #2
> Also, after exiting the .EXE application, I sometimes
> notice files with a ".FKY" being created. How do I get
> rid of those or prevent them from being created?

FKY file is for keyboard macros
Have you made your application using VFP build-in application wizard? If so,
that's why you get that fuile, because this wizard create also a menu entry
for keyboard macros, which are saved to this file when you exit the
application.

To get rid of it, you should change the default menu of the application to
remove Macro menu, and change the code to overwrite the method who load and
save those macros, with empty method.

HTH,
Bogdan





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.