D & J G wrote:
Bit of a newbie question..
Is there a VB6 way of telling what is already running? E.g. if a VB6
program has been minimized and selected again, the minimized one maximizes,
instead of having the same thing running twice simultaneously.
You can use App.PrevInstance to see if the same executable is already
running.
The easy way to activate the other version is AppActivate and SendKeys,
but the proper way is to use some form of IPC like DDE.
--
Dean Earley (de*********@icode.co.uk)
i-Catcher Development Team
iCode Systems