General discussion

Locked

How i can use my exist ocx in PHP

By riendra_2510 ·
I am developing application with PHP,now i have problem, how i can using my external ocx in PHP? because its one most important in my application please advise, i need to complete my application as soon as possible.Thanks

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

try to use dotnet_load

by ptalus In reply to How i can use my exist oc ...

It can load modules are written in .NET, maybe it will help with your OCX
http://php.net/dotnet_load
http://ptalus.blogspot.com

Collapse -

try using COM

by ahamedjais In reply to How i can use my exist oc ...

u can try using com.
here is an example to eject cd tray from PHP.

<?php
//create an instance of Windows Media Player
$mp = new COM("WMPlayer.OCX");
//ejects the first cd-rom on the drive list
$mp->cdromcollection->item(0)->eject();
?>

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums