Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Screen.Activeform.Name NOT accurate
Message
From
06/06/2007 14:00:49
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01230724
Message ID:
01231054
Views:
30
>I don't see how it would work in any VFP version because there's no connection between those 2 EXEs.

I agree -- each has its own process and the _SCREEN and _VFP variables are independent. To solve your problem, you will need a third process that is external to both that runs as a server to manage the active form. You could alternatively, write to the registry or to a file the active form, but you would need to work out a way to know which process it originated from.

I would think a 3rd server process that holds the _VFP.Activeform reference would be better (it has the originating process and the form).
Previous
Reply
Map
View

Click here to load this message in the networking platform