Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From vfp 6 to 9: exe file not running on workstations
Message
From
31/10/2007 03:03:19
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
31/10/2007 02:52:38
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01265279
Message ID:
01265280
Views:
10
>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
>
A workstation that is to run a VFP9 executable requires the VFP9 runtime to be installed. You can download a runtime installer from ftp://prolib.de/public
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform