Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP App just flashes on screen
Message
De
27/08/2003 10:39:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/08/2003 10:36:49
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
InstallShield
Divers
Thread ID:
00823755
Message ID:
00823771
Vues:
22
>Here is the code. Just a .prg file with systray.vcx included in the file. With this code, would systray.vcx have to be located on the the target machine, or is it compiled in at build time?
>
>oSystemTray = NEWOBJECT('systray', 'c:\mailarchive\classes\systray.vcx')
>oSystemTray.IconFile = " c:\mailarchive\icons\resendl.ico"
>oSystemTray.TipText = "This is a test"
>oSystemTray.MenuText= "c:\mailarchive\menus\systraymenu.mpr"
>oSystemTray.MenuTextIsMpr = .T.
>oSystemTray.AddIconToSysTray()
>READ EVENTS

VCX files are usually included in the executable. Check whether it is listed in the project, and marked as "included".

Of course, just for troubleshooting purposes, you can also copy it into the target machine, to see whether this is the problem, or not. For this purpose, you have to copy both systray.vcx and systray.vct. However, it is more common to just include most files in the executable.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform