RE: [PHP] COM

From: Date: Wed, 02 May 2001 12:11:56 +0000
Subject: RE: [PHP] COM
Groups: php.general 
Request: Send a blank email to php-general+get-51130@lists.php.net to get a copy of this message
Hi Iriton !! I tested but with errors.. 9 <? php 10 $obj = new COM("Has.HasClass"); 11 echo $obj->Hello("Hi Hassan"); 12 ?> This is only VB component ....Hello return the string entered as var...I receive this error.. Parse error: parse error in C:\Inetpub\wwwroot\myphp\com.php on line 10 Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd Hassan.Arteaga@fundycs.com -----Original Message----- From: Iriton Jonath P. Andrade [mailto:iriton@elogica.com.br] Sent: Wednesday, May 02, 2001 8:31 AM To: Hassan Arteaga Subject: Re: [PHP] COM Hi Arteaga, Instead of using that functions, use the new one shown bellow: For instantiate an COM object in PHP: $obj = new COM("ApplicationName.ClassApplicationName"); For properties and methods access: $obj->property_name; $obj->method_name; I have used and tested this function and I have obtained success (using PHP on Windows 2000 Server). It work very fine. Regards, Iriton Jonath. ----- Original Message ----- From: "Hassan Arteaga" <hassan.arteaga@fundycs.com> To: "Php (E-mail)" <php-general@lists.php.net> Sent: Monday, April 30, 2001 2:57 PM Subject: [PHP] COM Hi all !! I have components i made in Visual Basic 6.0 and I would like to use with PHP. I need examples how to create intance from VB COM component... What function I have to use ? com_load - ??? com_invoke - ??? com_propget - ??? com_get - ??? com_propput - ??? com_propset - ??? com_set - ??? Thanks in advanced !!! -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd Hassan.Arteaga@fundycs.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#51130) next »