Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Here I go again with my new litle gadget
Message
De
26/09/2011 13:22:14
 
 
À
25/09/2011 21:03:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01524685
Message ID:
01524740
Vues:
78
>Hi friends:
>
>I'll pose again after seaching in the web and in the manufacture's page.
>
>I have a "Customer Information Terminal" which can be configured through entering the IP address in the navigator.
>
>"Protocol settings options" are:
>
>UCP port, TCP port, Mode (server/cliente/UDP/TCP server/TCP client/TCP client on scan)
>
>theoretically a client must scan a product, the machine has to communicate with a PC server and an application must receive the require, search on a table and send data so it can be displayed on the "Customer information terminal".
>
>As I said before it sounds very easy.
>
>My problem is althought user's manual explain some commands for example ESC +39 should set the cursor position most explanations it seem points to a C++ developer.
>
>In fact the "demo programm" (which "generously" is given free for developing my own application) is written in C++.
>
>I just know C++ exists.
>
>I can't believe who want to sell this didn't think about other options for communicate with it or (more probably) I ignore some API which can perform that kind of comunications with the approrpiated parameters.
>
>I can't believe either none of you has to develope for such aparatus.
>
>Could you give me a coin, please ladies and gentlemen?
>
>Thank you
>
> Héctor

As for getting basic network connection interface working, have you looked up info about the Microsoft Winsock ActiveX control? Unfortunately I can't give you too many pointers on using the control as I'd never used it before (I end up connecting to the Windows API directly). You'll probably be able to get help from other folks here about using the ActiveX control. At least that'll get you to a piont where you'll be able to send/receive data through network connection. BTW, have you checked if they provide code examples in VB -- that might be easier to deal with in your case (and chances are, the VB code will be using the ActiveX control just mentioned). As there is a fair amount of similarity between VB and VFP, it might not be too hard to adapt the code to VFP.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform