Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What about an NT service ???
Message
De
10/08/1998 07:56:38
Walter Meester
HoogkarspelPays-Bas
 
 
À
06/08/1998 11:13:52
Mark Lauahi
Advanced Motion Controls
Camarillo, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00124482
Message ID:
00125192
Vues:
19
Mark,

I assume that you're talking about Remote automation.

Using DCOM is a much more rubust solution than creating a NT-service.
With a Service you have to start the Automation Manager (if you're programing in VFP or VB). Despite of more than 2 day's of attempt i couldn't get it working properly.

By my knowlegde DCOM is only easy to implement when using a Window NT 4.0 Server and Windows NT 4.0 Workstation and some (surely not all) Windows 95 versions.
(for more information see Q158582 at microsoft support page)

I've made a security module which stores permissions of users and group by compiling a projects with only a VCX and a dummy-startprogram as a OLE server. Then you can register it on both the server anfd the client (See Developers guide) and configure it with the DCOMCNFG utility.

an advantage of using dcom is that you don't have to install or start a service just use the create object command:

x=CREATEOBJECT()

You can give the created object other administrative rights than the user logged on (client machine). In my case through my class i can acces databases which i cannot access directly because i have no permission to the appropriate directory.

Personnaly i gave my class administrator rights (i work in a small network) so i can do some powerfull things such as finding out who's logged on the network,
who's using particular files, add and delete users and groups etc.

I this is usefull information,


Walter Meester,
Tax Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform