ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-windows
php-windows
[PHP-WIN] use of COM object
by Christophe PIN other posts by this author
Aug 1 2002 1:52PM messages near this date
Re: [PHP-WIN] PHP equivalent of ASP Response.Redirect | [PHP-WIN] [php-objects] RE: [PHP] Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users
Hello,

I have to use a COM object with following properties:

...
Property StationsX(lIndex As Long) As Long
Property StationsY(lIndex As Long) As Long
...

I didn't manage to initialize these properties.
I create a new COM object with:
       $obj = new COM("********");

If I try
        $obj-> StationX(0)=$val;

I get an error message ( StationX(0) is then known as a function. So, I
can't put a value in it)

So, I want to use com_propput but it doesn't work.

Can any one help me, giving me the good syntax for com_propput, or giving me
advices...

I'm using PHP 4.2.2

Thank u very much



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved