Re: [PHP] COM

2001-05-02 Thread Iriton Jonath P. Andrade

Hi Arteaga,

I have tested COM objects using PHP Version 4.0.4pl1 on Windows 2000 Server.
The COM function mentioned here were implemented recently in PHP engine, so
use this version of PHP or later. Of course, your VB COM component must be
registered, so Has.HasClass must be a valid OLE programmatic identifier.

Regards, Iriton.


- Original Message -
From: Hassan Arteaga [EMAIL PROTECTED]
To: 'Iriton Jonath P. Andrade' [EMAIL PROTECTED]
Sent: Wednesday, May 02, 2001 8:51 AM
Subject: RE: [PHP] COM


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
[EMAIL PROTECTED]


-Original Message-
From: Iriton Jonath P. Andrade [mailto:[EMAIL PROTECTED]]
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 [EMAIL PROTECTED]
To: Php (E-mail) [EMAIL PROTECTED]
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
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] COM

2001-05-02 Thread Iriton Jonath P. Andrade

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 [EMAIL PROTECTED]
To: Php (E-mail) [EMAIL PROTECTED]
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
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]