• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

php and active x control - is there a way i could use a compiled activex control.

Hi Experts,

thank you for your time looking at my question, your help is invaluable.

My question is this: i have an existing active control file that another company gave us when we installed their software.  Essentially all this active x control does, is send a DDE command across to a specific program that is waiting to receive it.

Is there a way I could write something in PHP to access this activex control, or is it possible in php to just write something to do the same thing.

All i really need to happen, is send a dde command (just a 6 digit number) to a window that is waiting to receive it.

is either of these possible - your help is most appreciated!!!
0
mavmanau
Asked:
mavmanau
1 Solution
 
COBOLdinosaurCommented:
I think you may be able to use the PHP COM object which should treat the operation as a file operation.  It is not something I have tried, but there seems to be a possibility in what is described here: http://marcelwijayacc.wordpress.com/tag/php-dde/

Cd&
0
 
Julian HansenCommented:
Is this ActiveX control to run in the browser or the Server - I am assuming the former in which case it has nothing to do with PHP.

PHP will render the html page that will load the ActiveX control - providing it is in IE it will work.
0
 
Ray PaseurCommented:
Can you show us the control?  If so it should be easy enough to see exactly what it sends and where it sends it.  It may be as simple as having a PHP AJAX-type script to catch the request.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mavmanauNetwork Engineer/SysadminAuthor Commented:
I have attached the file - but in order to do so, had to zip it and rename it from .exe to .txt

many thanks
PCXCollectInterfaceX--2-.zip
0
 
Julian HansenCommented:
I ask again are you wanting to invoke this on client or server side?
0
 
mavmanauNetwork Engineer/SysadminAuthor Commented:
Not sure. I suppose the server side code would send a number to the active x control which would then fire it off at the dde prompt waiting to get data.
0
 
mavmanauNetwork Engineer/SysadminAuthor Commented:
thank you for your assistance, much appreciated.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now