Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing multiple word sessions
Message
De
04/09/1998 06:56:41
 
 
À
02/09/1998 04:40:56
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00130054
Message ID:
00133175
Vues:
13
>Hi Guy,
>
>Thanks for reply. My question is different.
>
>In the starting of application , word object is creating by CREATEOBJECT() function.
>Now application does some processing in word.
>
>What we want is while my exe runs on the client machine and doing the processing, User should not allow to open another instance of word , by
>either doubleclicking word shortcut or running word exe etc.
>
>I think the possible solution about this is the TSR. which will check that as soon as word.exe runs on the machine, it prevents it.
>
>But not sure. Pl. advise
>
>John

You can't prevent Word from running. You can check if it's running an you can close it with API calls.

You might want to check the policies in Windows. It's a set of rules that administrator can apply to restrict use of programs.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform