Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 exe from within VFP7 exe?
Message
From
22/09/2005 09:18:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/09/2005 08:46:58
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051914
Message ID:
01051928
Views:
6
>I want to have a VFP 7 exe check for existence of the VFP 9 runtimes on a workstation, and then install them if they are not there. Next it would either copy and then run, or just run a VFP 9 exe. When I test this I get strange results. The program works as intended, but it appears that the VFP 9 exe is running in the VFP 7 runtimes and that the VFP 7 exe continues to run.
>
> I know that the VfP 9 exe is running because it has a visible change I made. It was compiled in VFP 9 and all components of it were rebuilt. I call the VFP 9 program with 'Do program.exe'.
>
>If I try to run the VFP 9 exe directly I am told that the runtime files cannot be located ( an error in registration and or placement in copying).
>
>How can this be? Is it possible to start off a VFP 9 exe from within a VFP 7 exe and have the VFP 7 exe exit while leaving the VFP 9 exe running and with focus? I am mostly confused by what is happening...

Calvin,
If you call it with "do myApp.exe" you're still in the context of the caller. Use ShellExecute API instead.
Check http://fox.wikis.com/wc.dll?Wiki~VFP9RuntimeFiles
However I suggest you to create a separate install for VFP9 version.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform