Paul Brooks
asked on
Runnng applications
I have a delphi application that as part of its process calla a VB.Net executable from a timer. Is it possible to check if the application is already running as part of the timer function as it is imperative only one instance of the vb app runs at a time. If so can sombody give me an example of how to achieve this
Many thanks
Many thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Geo
I totally agree with your comment but i am even more inept with VB than i am with Delphi so was hoping it would just as well this way round
Regards
I totally agree with your comment but i am even more inept with VB than i am with Delphi so was hoping it would just as well this way round
Regards
As Mokule said. Use findwindow.
If you knew the class name, I would throw that param in (first param), but if the title of the app was constant, then use that.
If you knew the class name, I would throw that param in (first param), but if the title of the app was constant, then use that.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Regards, Geo