Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting info from the server
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00712210
Message ID:
00712649
Views:
16
>Hi!
>
>Does anybody know a way how I could force my exe to run a specific ocx or API-call directly on the server?
>
>Details:
>I'm running an exe on the server an the other workstations are linked to this exe. Now I call 'windows scripting' to get some info from the machine (eg. biosinfo,...). The value I want to get is the value from the server (eg. the serialnumber of the bios from the server). But I only get the local number.
>
>I've already tried using the init-event of the actdoc ... I thought this would be executed directly on the server - it didn't work.
>
>Any solutions?

Hi Bertl
If you are just calling the exe from the workstations, it runs on each workstation's box (no matter where the exe file is stored). So it does an application packaged as ActiveDocument (IE downloads it, and it runs locally)

The way to run your process on the server is to build it as a COM object (Outproc, Inproc or Multithreaded DLL) and access it from your workstations via remote COM (DCOM on NT4, COM+ on W2K) with CREATEOBJECT or CREATEOBJECTEX

Hope this helps and bye
Jose.
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform