Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using modules instead of a single executable
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00812244
Message ID:
00812365
Views:
9
Ok, this is totaly reachable, acctually I am working with an environment like the one you want. it is a production software and is divided in several "modules" or departments. what I do is to have a main exe which initialize all the public vars you may need, this exe has a READ EVENTS command. this one works normal. It has one more thing though: it has a prg that verifies if there is a new version of the exe you are telling it to run, if there is one, then copy the new file to the workstation and then run it.
of course you have to send the name of the exe and the name of the form you want to run from the menu, something like this:
do ModuleLoader.prg with 'TheModuleExeFile.exe', 'myFormInTheModuleExe.scx'
The other modules or exes, have a prg set as main which contain the code to run the form within as it recieves it as parameter. These exes don't have ay read event command since the read event command of the main exe is still active.


hope this makes sence
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Reply
Map
View

Click here to load this message in the networking platform