Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-06-07
7
Medium Priority
?
315 Views
Last Modified: 2013-08-15
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
Comment
Question by:mavmanau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 2000 total points
ID: 39229104
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
 
LVL 59

Expert Comment

by:Julian Hansen
ID: 39229133
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
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39229635
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:mavmanau
ID: 39231064
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
 
LVL 59

Expert Comment

by:Julian Hansen
ID: 39231209
I ask again are you wanting to invoke this on client or server side?
0
 

Author Comment

by:mavmanau
ID: 39231390
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
 

Author Closing Comment

by:mavmanau
ID: 39413371
thank you for your assistance, much appreciated.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question