note 91574 added to class.com

From: Date: Wed, 17 Jun 2009 13:49:58 +0000
Subject: note 91574 added to class.com
Groups: php.notes 
Request: Send a blank email to php-notes+get-156977@lists.php.net to get a copy of this message
Here I Am describing a Program from which you can connect any exe(software) using COM component. pdf2swf is a software for converting PDf to SWF files. This is best example for WScript.Shell <? #code for pdf to swf using pdf2swf software #this codeworks in windows environment. ## Important Parameters $software_path ="C:\\SWFTools\\pdf2swf" ; $pdf_path ="C:\\SWFTools\\abcd.pdf" ; $argument = "-o"; $swf_output ="C:\\SWFTools\\abcd.swf" ; #actual code $cmd =" $software_path $pdf_path $argument $swf_output"; $WshShell = new COM("WScript.Shell"); $oExec = $WshShell->Run("cmd /C $cmd ", 0, true); # 0 for command prompt invisb\ible mode # 3 for visible ?> ---- Server IP: 59.162.86.8 Probable Submitter: 61.8.156.130 ---- Manual Page -- http://www.php.net/manual/en/class.com.php Edit -- https://master.php.net/note/edit/91574 Del: integrated -- https://master.php.net/note/delete/91574/integrated Del: useless -- https://master.php.net/note/delete/91574/useless Del: bad code -- https://master.php.net/note/delete/91574/bad+code Del: spam -- https://master.php.net/note/delete/91574/spam Del: non-english -- https://master.php.net/note/delete/91574/non-english Del: in docs -- https://master.php.net/note/delete/91574/in+docs Del: other reasons-- https://master.php.net/note/delete/91574 Reject -- https://master.php.net/note/reject/91574 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156977) next »