Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From vfp 6 to 9: exe file not running on workstations
Message
De
31/10/2007 02:52:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
From vfp 6 to 9: exe file not running on workstations
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01265279
Message ID:
01265279
Vues:
69
I have just migrated all my files from vfp 6.0 to vfp 9.0. The change went on smoothly except for 2 modifications I made: included "SET ENGINEBEHAVIOR 70" in the start up program and placing commas between explicitly defined variables in my programs (e.g. PUBLIC var1, var2, ... etc).
However, after compiling my project into exe, the exe file cannot run on workstations that don't have vfp 9.0 installed on them. The start up program is the same that I use on vfp 6.0 and used to work. Does the READ EVENT command still work in vfp 9.0? Here is the main start up program:
CLOSE TABLES ALL
CLOSE DATABASES

SET EXCL OFF
SET TALK OFF
SET DATE TO BRITISH
SET CENTURY ON
SET MARK TO
SET DELETED OFF
SET REFRESH TO 10,5
SET LOCK ON
SET BELL OFF
SET ENGINEBEHAVIOR 70

PUBLIC gcoldfilter, pvUsername, PvUsercode, pvItemopen, pvCount, pvEnrol_date, pvDate_inf, pvlast_visit

pvUsername 	= ALLTRIM(SUBSTR(SYS(0),(AT("#",SYS(0))+1)))
pvItemopen 	= 1
gcoldfilter 	= ""
pvEnrol_date 	= {}
pvDate_inf 	= {}
pvlast_visit    = 0

CD "\\mtwapa2\data\data\Database Management System\"

OPEN DATABASE (CURDIR() + 'Databases\mtwapa')

WITH _VFP
	.VISIBLE = .F.
	.CAPTION="IAVI Database Management System"
ENDWITH

_SCREEN.Icon = (CURDIR() + 'Other Files\iavi Icon.ICO')

DO FORM (CURDIR() + 'forms\log form.scx')
READ EVENTS
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform