Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release VFP exe with Javascript
Message
De
26/08/2010 02:08:32
 
 
À
25/08/2010 12:42:35
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01478406
Message ID:
01478543
Vues:
58
I am quite unclear on your current setup what you really want to do,
>will sart another instance of the component. I have tried:
...
>same, it will sart another exe.

makes no sense for me, but if you want to get a reference to an already running Exe,
you should call the equivalent of Getinterface for JS

You are mixing up "Exe" and "Instance" without defining what "restart on of coms"
means for you - makes it quite hard (at least for me on first coffee) to get a picture.

HTH

thomas

>I am using VFP com objects created in JS as the following:
>scannerServers[0] = new ActiveXObject("comportreader.scannerserver");
>where scannerServers is an array that stores references to multiple VFP exes.
>
>At some point I want to restart on of coms. Doing it like this:
>scannerServers[0] = new ActiveXObject("comportreader.scannerserver");
>will sart another instance of the component. I have tried:
>scannerServers[0] = null;
>scannerServers[0] = new ActiveXObject("comportreader.scannerserver");
>same, it will sart another exe.
>
>My VFP component is based on a container.
>
>My question is: Is there a way of releasing VFP exe from the component itself or somehow else?
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform