Jump to content

Recommended Posts

Posted
The goal is to establish connection between cx-supervisor and some tcp server. Using a socket connection I would like to send / recieve data to a tcp server on port 1000, SCADA is to be the client. Is there an active-x component that can be implemented into cx-supervisor (probably using winsock) which is able to establish connection ... of course using JavaScript or VbScript cx-supervisor supports. I tried: - OSWinsock.ocx - Socketwrench .ocx - GA Soft - WinsckW.ocx Unfortunatelly none of them (although registered properly on my WinXP system) is shown on my OLE list to put it into cx-supervisor page as an active-x component. Does anyone have experience in this?
Posted
Hi all, I did manage to establish connection using OStrosoft winsock ActiveX component. The only problem I had is the component didn't apear in "Insert ActiveX object" controls so I had to use JScript or VBScript to use it. Just to tell you it can be done. JinX
Posted
FYI Sometimes you can add ActiveX controls to the "Insert ActiveX Object" by adding to the registry. Find the CLSID for the object and add a new key "Insertable" (look for some other objects to copy from). OK OK don't everybody go hacking your registry and only if you're backed up etc etc. Yes this is a filthy hack and doesn't always work, but for me has worked perfectly with Microsoft Forms controls and other Third party controls (and required for my own custom controls!!)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...