Re: [PHP] COM - Assigning to method.

2013-07-24 Thread Richard Quadling
On 15 July 2013 16:27, Andrew Ballard wrote: > On Mon, Jul 15, 2013 at 4:21 AM, Adam Nicholls > wrote: > > Hi Andrew > > > > Thanks for this. > > > > But I'm still getting errors. I think I need to explain a bit more. > > > > Unfortunately there isn't a PHP API for this application I'm trying to

Re: [PHP] COM - Assigning to method.

2013-07-15 Thread Andrew Ballard
On Mon, Jul 15, 2013 at 4:21 AM, Adam Nicholls wrote: > Hi Andrew > > Thanks for this. > > But I'm still getting errors. I think I need to explain a bit more. > > Unfortunately there isn't a PHP API for this application I'm trying to > interact with, my goal really is to be able to expose the COM

Re: [PHP] COM - Assigning to method.

2013-07-15 Thread Přemysl Fiala
Hello, did you tried var_dump or print_r the $oBank object to see his structure ? Also you can try: $BANK_fld_BRANCH_NAME = 22; $oBank->$BANK_fld_BRANCH_NAME = 'something'; Premek. On Mon, 15 Jul 2013 10:21:48 +0200, Adam Nicholls wrote: Hi Andrew Thanks for this. But I'm still g

Re: [PHP] COM - Assigning to method.

2013-07-15 Thread Adam Nicholls
Hi Andrew Thanks for this. But I'm still getting errors. I think I need to explain a bit more. Unfortunately there isn't a PHP API for this application I'm trying to interact with, my goal really is to be able to expose the COM functionality over a web-service such as SOAP so I can use it in a C

Re: [PHP] COM - Assigning to method.

2013-07-14 Thread Andrew Ballard
On Sun, Jul 14, 2013 at 3:18 PM, Adam Nicholls wrote: > > Richard - I've tried that I get an error about it not being defined as > property of the object. > > Andrew - do you mean try using the method Richard has shown? > > Cheers > Adam. > > On 13 July 2013 17:11, Richard Quadling wrote: > > > >

Re: [PHP] COM - Assigning to method.

2013-07-14 Thread Adam Nicholls
Richard - I've tried that I get an error about it not being defined as property of the object. Andrew - do you mean try using the method Richard has shown? Cheers Adam. On 13 July 2013 17:11, Richard Quadling wrote: > > > > On 13 July 2013 01:24, Andrew Ballard wrote: >> >> On Jul 12, 2013 4:5

Re: [PHP] COM - Assigning to method.

2013-07-13 Thread Richard Quadling
On 13 July 2013 01:24, Andrew Ballard wrote: > On Jul 12, 2013 4:53 AM, "Adam Nicholls" wrote: > > > > Hi Guys/Gals, > > > > I'm doing some integration work with a COM API and according to their > > documentation to save data in the API, you have to assign to the > > method. > > > > This is thei

Re: [PHP] COM - Assigning to method.

2013-07-12 Thread Andrew Ballard
On Jul 12, 2013 4:53 AM, "Adam Nicholls" wrote: > > Hi Guys/Gals, > > I'm doing some integration work with a COM API and according to their > documentation to save data in the API, you have to assign to the > method. > > This is their example in Visual Basic: > > --

Re: [PHP] COM and the PHP equivalent of ASP Currency data type

2008-12-04 Thread Jochem Maas
Alex Bovey schreef: > Hi all, > > I am working with a COM interface and the specification which is wrtten for > ASP calls for a "Currency" data type to be passed to a function. What is > the equivalent in PHP? > > If I call com_print_typeinfo() I can see that the function has the following > inf

Re: [PHP] COM and VARIANT types

2008-11-04 Thread Alex Bovey
> I think this may be what you are looking for, but I don't know how > much it helps: > > http://www.marin.clara.net/COM/variant_type_definitions.htm > > Andrew Thanks Andrew - it's a start! Alex -- Alex Bovey Web Developer | Alex Bovey Consultancy Ltd Registered in England & Wales no. 6471391

Re: [PHP] COM and VARIANT types

2008-11-03 Thread Andrew Ballard
On Mon, Nov 3, 2008 at 1:33 PM, Alex Bovey <[EMAIL PROTECTED]> wrote: > Hi, > > I am playing around with some COM interfaces and getting my head > around VARIANTs. > > I have a method that is returning a VARIANT and using variant_get_type > returns the type as 9. How do I find out what type 9 rela

Re: [PHP] COM works on NT but fails on 2003?

2005-04-10 Thread Jason Wong
On Monday 11 April 2005 12:11, Theisen, Gary wrote: > if ($excel !=== FALSE) { //This is the error line?!?! I even tried > "FALSE". if ($excel !== FALSE) { ... } -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Interne

Re: [PHP] COM("Excel.Sheet")

2003-08-20 Thread David Otton
On 20 Aug 2003 15:11:26 +0200, you wrote: >i'd like to use full power of Excel.Sheet COM object. Does anybody know >where can I find full documentation of Excel.Sheet COM object ? Uh... MSDN? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html/deovrworkingwithofficeappli

RE: [PHP] com obj from php

2003-08-14 Thread Jay Blanchard
[snip] This is using COM in php scripts, I want to create a com obj (or anything really) that was written in php and use it in a .NET app [/snip] OK, I found this, which may or may not help http://www.devarticles.com/art/1/222 Got Google? Have a pleasant and resourceful day! -- PHP General Maili

Re: [PHP] com obj from php

2003-08-14 Thread Stephen Holly
This is using COM in php scripts, I want to create a com obj (or anything really) that was written in php and use it in a .NET app "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Does anyone know if ti is possible or not to create a com object from php?? [/snip]

Re: [PHP] com obj from php

2003-08-10 Thread Stephen Holly
Cheers Jay, but Ive seen this already, i'ts the wrong way round!! Steve. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] This is using COM in php scripts, I want to create a com obj (or anything really) that was written in php and use it in a .NET app [/snip] O

RE: [PHP] com obj from php

2003-08-09 Thread Jay Blanchard
[snip] Does anyone know if ti is possible or not to create a com object from php?? [/snip] Please refer to the manual at http://www.php.net/manual/en/faq.com.php for a start. Have a pleasant and magical day! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

RE: [PHP] COM

2003-03-31 Thread jon roig
Is there some reason you want to access it through com? I'm assuming that you've added the access db as an odbc data source? I'm not sure, but it seems like you might be using the wrong syntax. You might want to check out this: http://www.php.net/manual/en/ref.odbc.php ... or... this, which is a

RE: [PHP] Re: PHP+COM (formating excel)

2003-02-28 Thread John W. Holmes
> thanx for no response. > forget it. > It was realy so simple. You're welcome. Really, it was nothing. How about sharing the solution with the group that way you help other people? ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.p

Re: [PHP] + com (formating excel cells)

2003-02-28 Thread DJ GJ
thanks for no response. forget it please. "Dj Gj" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi, all, > > does anybody know: > how to merge excel cells from php code? > how to make excel columns "autofited" from php code? > where to find the information about all of this kind tr

[PHP] Re: PHP+COM (formating excel)

2003-02-28 Thread DJ GJ
thanx for no response. forget it. It was realy so simple. > Hi, All, > > I would be very appreciated if you could help me to find information about > formating excel cells (like merge cells, Autofit columns, etc.). I am using > excel from php like com object. > Thanks in advance. > > gytis > >

Re: [PHP] COM question

2003-01-10 Thread Marek Kilimajer
Sorry, either translates the error messages or post to a italian php mailing list [EMAIL PROTECTED] wrote: How I can manage Word through PHP? I have tried with the code indicated on PHP-guide (chm format) but it does not work. //test04.php $word = new COM("word.application") or die("Non

Re: [PHP] Re: PHP COM with Distiller

2002-02-26 Thread Kumar
Hi, Good to see u'r reply. My problem is where can I get those "methods" documentation. Can anybody experts in Windows can help me out !! Thanking You, Kumar. On Wed, 27 Feb 2002 J Wynia wrote : >Don't have sample code handy, but you'd create a new Word, Excel >or >Powerpoint object (

[PHP] Re: PHP COM with Distiller

2002-02-26 Thread J Wynia
Don't have sample code handy, but you'd create a new Word, Excel or Powerpoint object (depending), and use the print methods of those objects to send it to Distiller. "Kumar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi All, > > Installed Apache, PH

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
ailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 10:50 AM To: Hassan Arteaga Cc: [EMAIL PROTECTED] Subject: Re: [PHP] COM 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

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

Re: [PHP] COM

2001-05-02 Thread Iriton Jonath P. Andrade
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 Iri

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
assan 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, Ins

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
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;

Re: [PHP] COM

2001-04-30 Thread Chris Anderson
Unfortunately VB 6.0 com components do not like to work outside of their ASP and VB bases. I've heard of a few people trying it, but I heard it was very difficult. I'd help more, but I've never used PHP with com, only with ASP Chris Anderson aka "Null" --

Re: [PHP] COM vs ???

2001-02-15 Thread Richard Lynch
> I would like make some componnent on linux wich I can use on php. Like I > create a COM object on Windows and use it with a asp pages and reuse it in a > vb application without code duplicate, I would like install PHP on a > linux and not on a Windows. Things you need to search for and read

Re: [PHP] COM?

2001-02-08 Thread Tim Knip
The magical incantations: "Word.Application" etc.. - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 10:31 AM Subject: Re: [PHP] COM? > > Does Anyone know what needs to be

Re: [PHP] COM?

2001-02-08 Thread Richard Lynch
> Does Anyone know what needs to be installed on the server other than php > 4.0.4 and IIS to instantiate COM Objects like Excel and word. If Excel and Word are COM objects, that's pretty much it, I should think... What magical incantation you have to type into: $word = new COM("C:/path/to/word

Re: [PHP] Com

2001-02-07 Thread Vora Vor
by my eagerness and general enslavement to impending authorities. vora - Original Message - From: "Jonathan Sharp" <[EMAIL PROTECTED]> To: "Vora Vor" <[EMAIL PROTECTED]> Sent: Tuesday, February 06, 2001 6:17 PM Subject: RE: [PHP] Com > Are you trying t

RE: [PHP] Com

2001-02-07 Thread Dominick Vansevenant
Anyone has good examples for COM usage? D. -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: woensdag 7 februari 2001 12:48 To: php Subject: Re: [PHP] Com On Wednesday 07 February 2001 12:40, Pavel Kalian wrote: > The COM construct was introduced in PHP4

Re: [PHP] Com

2001-02-07 Thread Christian Reiniger
On Wednesday 07 February 2001 12:40, Pavel Kalian wrote: > The COM construct was introduced in PHP4 as a replacement for com_* > functions to provide something looking similar to MS's syntax AFAIK and > it exists and works at least for me and many others. And it behaves > more or less like a norma

Re: [PHP] Com

2001-02-07 Thread Pavel Kalian
From: "Christian Reiniger" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 12:20 PM Subject: Re: [PHP] Com On Wednesday 07 February 2001 11:52, Pavel Kalian wrote: > COM of course comes with PHP (but is available on Win only), RT

Re: [PHP] Com

2001-02-07 Thread Christian Reiniger
On Wednesday 07 February 2001 11:52, Pavel Kalian wrote: > COM of course comes with PHP (but is available on Win only), RTFM on > calling COM support... Yes, but there ain't no class "COM". Read the manual section about COM support. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/

Re: [PHP] Com

2001-02-07 Thread Pavel Kalian
COM of course comes with PHP (but is available on Win only), RTFM on calling COM support... Pavel - Original Message - From: "Christian Reiniger" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 11:49 AM Subject: Re: [P

Re: [PHP] Com

2001-02-07 Thread Christian Reiniger
On Tuesday 06 February 2001 19:07, Vora Vor wrote: > > "Fatal error: Cannot instantiate non-existent class: com in > /var/www/html/version2/file.php on line 8" is the result of running the > following code: > > $word=new COM("word.application") or die("Cannot start word"); > print "Loaded word v