Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing VFP Desktop Icon From Taskbar
Message
De
10/02/1999 23:56:18
 
 
À
10/02/1999 18:12:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00186276
Message ID:
00186365
Vues:
15
>Does anyone know how to remove an icon from the Windows NT (4.0) workstation taskbar

You're dealing with 2 separate issues. First, is VFP's default behavior of showing the VFP screen when a VFP executable is run. This is fine if your app runs in the screen (all of your forms have ShowWindow = 0). If you use the screen as your desktop, and not a toplevel form just say _SCREEN.Icon = "Myicon.ico". THis will replace the icon in the task bar as well as the icon in the upper left corner of the screen.

If your app uses a Top-Level form as its base instead of screen (it sounds like yours does), then you'll want to suppress the VFP window altogether. The only way to do this is to put a text file called Config.fpw in the same directory as your executable and put this line in the file:

SCREEN=OFF

and that's it. IF you're not fond of the idea of shipping a config.fpw file around with your exes, don't fret, you can compile it into your project by adding it as a text file.

HTH
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform