Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding some way in Flex

Status
Not open for further replies.

vbajock

Programmer
Jun 8, 2001
1,921
US
Using the macform.save event, I can kick off a program when MRP begins. I have been unsuccessful in finding an event to kick of code when MRP finishes. There is a macform.PostSave event, which appears to be useless. Anyone who has come up with a work around on this will be appreciated!
 
I haven't worked with MRP that much because I created my own MRP VB app to run that takes about 1/2 the time of the macola one.....but I would imagine that a task in the task manager or in the processes is running just for the MRP like other macola modules. You could kick off a small application that monitors the Task Manager and when the MRP task is finished kick off your app.

Just an idea.

 
I figured I would have to do some thing like that, but I was hoping for a cleaner way. This is an example of what I said earlier about their VBA implementation not having the event handlers available to allow a programmer to do simple things in a straight forward manner, so you end up with jury rig stuff all over your app. Giving you a program open event, but not giving you a program close event to work with, bites. I only want to run one line of code to copy four stupid files from one company to another, and it is now a system level project.
 
what can I say VBA and Flex sucks. :) There would be an easier way by creating a COM object and then referencing it in your flex project but I am not sure how good you are with COM.

 
There's a way to do it through the Windows API. I'll probably go that route.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top