limit ActiveX exe to one instance?

From: Rich (anonymous_at_discussions.microsoft.com)
Date: 02/09/04


Date: Mon, 9 Feb 2004 11:37:56 -0800

Thank you all for your replies. App.PrevInstance seems
simple enough except the part for restoring if app was
minimized. The example from

http://www.mvps.org/vbvision/

does have a good routine for restoring the minimized app
(and of course for checking for a prevInstance) using
API.

Well, new tools for my toolbox. Thanks all.

Rich

>-----Original Message-----
>Hello,
>
>How can I limit an ActiveX exe StandAlone to one
>instance? Like if an instance is running, and a user
>inadvertently starts another instance because they did
not
>see the icon of the running app on the taskbar, it will
>not start a new instance, just bring up the running one?
>
>I looked around in Project Properties but did not see
>anything for limiting to one instance.
>
>Thanks,
>Rich
>
>
>
>
>
>
>.
>



Relevant Pages

  • Re: Restore ADAM Instance
    ... What's the app that is creating users? ... > them in deleted objects container with LDP (enable show deleted objects ... >> 1) Users created via ADSIEDIT are restoring correctly from backup all ... >> (along with the ones created with ADSIEDIT) but a few minutes later (we ...
    (microsoft.public.windows.server.active_directory)
  • creating images
    ... Can someone recomend an app, and maybe linkage to docs, for creating an ... image of system partition? ... what about restoring the image in ...
    (Debian-User)
  • Re: creating images
    ... > Can someone recomend an app, and maybe linkage to docs, for creating ... what about restoring the image in ... substitute hda1 for your block device. ...
    (Debian-User)
  • Problem restoring Form size on launch.
    ... I'm saving the bounds of my Form in the Registry in my Form's closing event ... and restoring the bounds when my app is launched. ... except the persisted Height increases by 20 each run of my app. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Units of Measure in Edit Controls
    ... about my app. ... store it as the format as the dialog init'd, ... * Whenever I post something and don't get any replies, ...
    (microsoft.public.vc.mfc)