Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a method in an instance of VFP, from another
Message
From
07/04/2000 11:29:57
 
 
To
07/04/2000 07:50:23
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00356342
Message ID:
00356921
Views:
15
Charles,

>I'm not sure what you mean by app level timers...

What I mean is that for a second instance of VFP to cause a form to start in the first instance of VFP, you somehow must get a message from inst2 to inst1. How would you do that?

You could write a line to a log file or dbf with instructions for instance 1, or you could send a message with MSMQ into a message queue.

How would instance 1 know that a message was sent? Either a timer in your oApp object kicking off continually, checking the file or queue for new instructions, or else with the message queue approach, perhaps using VFPCOM to bind to the MSMQ incoming queue events to fire your event code that would start up the form requested.

>As for putting up only one menu option, it's not practical in this context.

Then I think you are stuck with a kludge solution as outlined above.

More ideas, anyone ???????
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform