You can set a fully qualified object ref to your CreateObject()
instance so you never have to worry about other running instances. You
can even make it run 'like' it's an in-process app extension so it
closes automatically when your app closes. I do this for my apps that
use a html.exe as a userguide. My app tracks any running instance it
creates via its hwnd to ensure there's only 1 instance being used
whether it's already running or not. Very easy to do with any EXE,
really!<g
--
Garry
Free usenet access at
http://www.eternal-september.org
Classic
VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.
vb.general.discussion