Re: [PHP] COM - Assigning to method.

2013-07-24 Thread Richard Quadling
On 15 July 2013 16:27, Andrew Ballard aball...@gmail.com wrote: On Mon, Jul 15, 2013 at 4:21 AM, Adam Nicholls inkysp...@gmail.com 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

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

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 inkysp...@gmail.com wrote: Hi Andrew Thanks for

Re: [PHP] COM - Assigning to method.

2013-07-15 Thread Andrew Ballard
On Mon, Jul 15, 2013 at 4:21 AM, Adam Nicholls inkysp...@gmail.com 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

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 rquadl...@gmail.com wrote: On 13 July 2013 01:24, Andrew Ballard

Re: [PHP] COM - Assigning to method.

2013-07-14 Thread Andrew Ballard
On Sun, Jul 14, 2013 at 3:18 PM, Adam Nicholls inkysp...@gmail.com 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

Re: [PHP] COM - Assigning to method.

2013-07-13 Thread Richard Quadling
On 13 July 2013 01:24, Andrew Ballard aball...@gmail.com wrote: On Jul 12, 2013 4:53 AM, Adam Nicholls inkysp...@gmail.com 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

[PHP] COM - Assigning to method.

2013-07-12 Thread Adam Nicholls
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: - Set oBank

Re: [PHP] COM - Assigning to method.

2013-07-12 Thread Andrew Ballard
On Jul 12, 2013 4:53 AM, Adam Nicholls inkysp...@gmail.com 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:

[PHP] COM/DCOM

2010-05-25 Thread Mayer, Jonathan
Hello, I'm trying to write a few scripts to help automate some Windows administration tasks. One of these is to add people to groups on different networked machines. I've written something like the following: ?php $computer = TestComputer; $groupName = TestGroup; $server_config =

[PHP] COM Help (hopefully)

2009-10-09 Thread Adam Randall
We have a US postal database called ZP4 that we that we use to scrub client addresses into something useful. For future projects we need to expand on this scrubbing so that we can view counties and such. The scrubbing is currently being performed by a custom application a former employee wrote for

[PHP] php COM example usage

2009-02-06 Thread Alpár Török
Hi, I have some cli scripts that previously ran on Linux, now i have to make available on Linux. I use semaphores for synchronization. I also have to develop some new scripts for windows that interact other custom programs. I need to create and signale events. Basically what i need is acces to

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

2008-12-04 Thread Alex Bovey
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 info: function GetPrice( /*

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 info:

[PHP] COM and com_safearray_proxy objects

2008-11-04 Thread Alex Bovey
Hi all, I'm trying to get my head around COM and interfaces and I'm making slow progress but have hit a problem. I have an IProduct interface and using com_print_typeinfo($iproduct) I can see it has the following property (amongst others): /* DISPID=1745027081 */ var

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 | VAT

[PHP] COM and VARIANT types

2008-11-03 Thread Alex Bovey
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 relates to? The manual page for variant_get_type isn't much... Thanks all, Alex

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 relates to?

[PHP] COM Objects

2007-08-14 Thread Nathan Wallis
I am having some trouble instantiating a COM object, it seems to crash my web server every time I call the line. $tve=new COM(TVE3COM.TVE); I have downloaded a trial version of the Turbo Video Engine SDK and this was a line I got from the php examples folder. Is anyone familiar with

[PHP] COM object project

2007-07-24 Thread Jason McKnight
I am using a COM object from one of our system venders and I am having problems using an in/out variable for one function on php 4.3.11. I can load the COM interface, return the typeinfo and even call the function successfully but I can't get a return value set for the variable. Here is the code

Re: [PHP] PHP + COM (IE Button COM Server)

2007-05-03 Thread Richard Lynch
http://php.net/com But that's only going to work on the same machine where PHP is running -- It does NOT add buttons and whatnot to my browser if I surf to your website... I actually doubt that the Python one does either, if you run it server-side... On Wed, May 2, 2007 6:53 pm, Iqbal Naved

Re: [PHP] PHP + COM (IE Button COM Server)

2007-05-02 Thread Richard Lynch
On Mon, April 30, 2007 1:46 pm, Iqbal Naved wrote: Anybody has implemented a IE button COM server in PHP ? I have found a python implementation for this in pywin32 package. My objective is to add a button in ie which will on click save the url in the address bar. I am attatching the

[PHP] PHP + COM (IE Button COM Server)

2007-04-30 Thread Iqbal Naved
Hi, Anybody has implemented a IE button COM server in PHP ? I have found a python implementation for this in pywin32 package. My objective is to add a button in ie which will on click save the url in the address bar. I am attatching the iebutton.py with this mail. Also, this is a link in msdn

[PHP] COM Dlls not unbinding

2005-12-31 Thread Alex Turner
Hi All, I am doing a lot of PHP work with COM. The system uses php 4.3.3.3 and php is being driven via FCGI from our own web server (TAG). We create an instance of an in-process COM server using the following technique: function GetFactory() { static $obj; static $objSet = 0;

[PHP] COM dlls not unbinding at script end

2005-12-31 Thread Alex Turner
I am doing a lot of PHP work with COM. The system uses php 4.3.3.3 and php is being driven via FCGI from our own web server (TAG). We create an instance of an in-process COM server using the following technique: function GetFactory() { static $obj; static $objSet = 0; if($objSet==0)

[PHP] COM and MS word.

2005-09-12 Thread Dave Lists
Hi all, I'm using com to acces MS word and building tables: $word-Documents-Add(); \\ Gives me a new doc $word-Selection-InsertAfter(poo, foo, you); \\ gives me one row $word-Selection-ConvertToTable(,); \\ converts the table to a row. What I can't work out is how to change the width on the

[PHP] COM integration problems

2005-06-15 Thread Jonathan Kart
install are sucessful (asp, pfpro.exe), so i believe the payflow config is correct. It just seems like the php com integration is screwed up. Any ideas? thanks, jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2005-04-11 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 * Internet

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

2005-04-10 Thread Theisen, Gary
Hi all, I currently have php 4.3.10 loaded on a windows 2003 server running apache 2.0.52. PHP and the web server work fine. I've got the code (that used to work on an old NT box running IIS and an earlier version of PHP...I think 4.1 or 4.2??) //.code $excel = new COM(Excel.Application)

[PHP] COM Bug in PHP 4.3.10

2004-12-30 Thread Tohar Trabinovitch
Hi, I need to know when will be the next PHP 4.3.x release with the fix for the COM bug which was in 4.3.10. This is CRITICAL for us, because we run our application over windows using COM object and we use earlier version of PHP which has security bugs. COM Bug URL:

[PHP] COM objects

2004-01-27 Thread C C
Hi, I am running PHP 4.3.4 on Windows 2000 server with Apache 2.0.48. I am using COM objects in some of the pages. My question is, how do I release them when I'm done? Right now, I'm unsetting them, but after a few days I get COM+ Errors in the Event Viewer: The COM+ Services DLL (comsvcs.dll)

[PHP] COM Server Object Properties

2004-01-21 Thread Jamie Hale
I have a COM server that exposes a read/write property with a parameter. Here is the IDL: [propget, id(5), helpstring(property Status)] HRESULT Status([in] BSTR bstrPhase, [out, retval] long *pVal); [propput, id(5), helpstring(property Status)] HRESULT Status([in] BSTR bstrPhase, [in] long

[PHP] COM and PHP.ini

2003-11-07 Thread Steve Vernon
(PHP 4.3.0, Windows XP Pro, Office 2000 Pro) Hello, Just playing around with COM, and I got the error below. Searching on google it mentions something about a DLL error. Iv'e enabled dcom in php.ini. What have I missed! Line 2 says $excel = new COM(Excel.Application) or die(Excel could not

[PHP] COM(Excel.Sheet)

2003-08-20 Thread jan
Hi! 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 ? thanks Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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?

[PHP] com obj from php

2003-08-14 Thread PHPDiscuss - php Newsgroups and mailing lists
Hi all; Does anyone know if ti is possible or not to create a com object from php?? cheers :o) Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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-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

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] OK,

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:

[PHP] COM mail merge problem!

2003-08-04 Thread David Richards
Hi, I have a MySQL database which contains customer data. I have written a PHP script to create a CSV file and then import the data into Microsoft excel using COM, which has been saved into C:\TEMP\test.xls. I am now trying to start a mail merge in word with the following code:-

[PHP] COM mail merge problem!

2003-08-04 Thread David Richards
Hi, I have a MySQL database which contains customer data. I have written a PHP script to create a CSV file and then import the data into Microsoft excel using COM, which has been saved into C:\TEMP\test.xls. I am now trying to start a mail merge in word with the following code:-

RE: [PHP] COM

2003-03-31 Thread jon roig
:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 4:17 AM To: [EMAIL PROTECTED] Subject: [PHP] COM Server Win2000 +ISS5 +PHP Trying to get access to an access DB through COM but i wont work. there is no results generated. Can anyone help me Here is the code $rownum =0; $conn = ADONewConnection('access

[PHP] COM

2003-03-29 Thread Kiswa
Server Win2000 +ISS5 +PHP Trying to get access to an access DB through COM but i wont work. there is no results generated. Can anyone help me Here is the code $rownum =0; $conn = ADONewConnection('access'); $conn-PConnect('webdb.mdb'); $result = $conn-Execute('SELECT Produkt, Artikelnr, Pris,

[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 -- PHP

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 tricks?

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.

[PHP] + com (formating excel cells)

2003-02-27 Thread DJ GJ
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 tricks? appreciated for any useful answer. gytis -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] PHP+COM (formating excel)

2003-02-27 Thread DJ GJ
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] COM object

2003-01-11 Thread [EMAIL PROTECTED]
How I can create a Word document through PHP? Must I modify php.ini? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] COM question

2003-01-10 Thread [EMAIL PROTECTED]
How I can manage Word through PHP? I have tried with the code indicated on PHP-guide (chm format) but it does not work. ?php //test04.php $word = new COM(word.application) or die(Non sono riuscito ad eseguire Word); $word-Visible = 1; $word-Documents-Add();

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. ?php //test04.php $word = new COM(word.application) or

[PHP] COM and Word, how?

2002-09-02 Thread Michelle
I am new to COM and tried an example today (See bottom of post) When I execute the code, I get is an error message and if I look in the Task Manager, there is a WINWORD.EXE process running, which I can't end. Every time I reload the page, a new winword is started... How should PHP.ini be set

[PHP] COM and php.... Several issues....

2002-03-06 Thread jeremy spielmann
I've read through most of the documentation on how to use COM to create MS Word documents via PHP, but I'm still having some issues that I can't seem to find any help on. CODE: ? $word=new COM(word.application) or die(Cannot start MS Word); print Loaded word version ($word-Version)\n;

[PHP] HELP: PHP COM with Distiller

2002-02-26 Thread Kumar
Hi All, Installed Apache, PHP, Office and Adobe Distiller on Win2000 Professional. By using $pdf = new COM(pdfdistiller.pdfdistiller.1); $pdf-FileToPdf($psfile, , ); I am able to convert PS to PDF. In the same fashion I want to convert DOC, XLS and PPT to PDF format. Is that

[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, PHP,

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] COM

2002-01-31 Thread Mainolfi, Joe
is anyone out there familiar with COM built into Php? This is my code: $sheet = Range(B6:B9)-Select; $sheet-Selection-Borders(xlEdgeBottom); $sheet-Selection-LineStyle = 9; //xlContinuous $sheet-Selection-Weight = 2; //xlThin I get an error everytime I use the Range method and some other

[PHP] COM Question- Please Help

2002-01-31 Thread Mainolfi, Joe
This is what I am trying to do. I am trying to add a border to the bottom edge of a cell. The Range and some other methods seem to not work with the syntax that the VB editor in excel says. Like Range in the vb editor is Range(A1:B9).Select. When I try this in php it gives me and error. I

[PHP] COM

2002-01-11 Thread DrouetL
Hi everybody, When i run the following script in a dos box it works fine. If i run it in a browser window i receive a Dr Watson. Anybody has an idea ? My config is Apache 1.3.20 PHP 4.0.5 Windows NT4 SP5 French The script is inspired of the following url

[PHP] COM

2001-09-29 Thread Mike
Hi All Where is some good info on useing COM or DCOM with PHP? Both of my scripts bellow fail and I cannot seem to find why. ?php $Instance = new COM (string Word.Application, string 216.0.0.0); ? or ? $word = new COM(word.application) or die(Unable to instanciate Word); print Loaded Word,

[PHP] COM

2001-08-21 Thread Paul S.
I heard refs on using the COM interface to access MS Word files. Is this a procedure an interface that only works on Windows systems (as that is where Word runs)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] COM and type mismatch

2001-05-24 Thread G Hughes
Does anyone know the reason for the type mismatch error which often seems to happen when using COM objects? The only piece of info I've seen suggested that a COM object can't be passed as a variable to a second COM object. Is this true, and if it is how might this be worked around. Thanks for

[PHP] COM objects

2001-05-20 Thread John Skipsey
Can anyone tell me how this asp code would be rewritten in PHP, I'm having trouble getting it to work. Don't worry about the variable names and stuff, it's just the actual connection to the application that's causing me the grief. Thanks for any suggestions, Skipsey. begin 666

[PHP] COM in PHP

2001-05-12 Thread ws
Hi, here my problem with COM in PHP. ? echo J-Server in der dynamischen PHP-Web-Site. brbr; $jServer = new COM(jexeserver) or DIE (Connect zum J Server ist nicht möglich); $jServer-Show(1); $jServer-Log(1); $jServer-Do(0!:0 (1!:40''),'system\extras\config\profile.ijs');

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; I have used and tested

RE: [PHP] COM

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

Re: [PHP] COM

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

Re: [PHP] COM

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

RE: [PHP] COM

2001-05-02 Thread Hassan Arteaga
Jonath P. Andrade [mailto:[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

[PHP] COM

2001-04-30 Thread Hassan Arteaga
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 - ???

Re: [PHP] COM

2001-04-30 Thread Chris Anderson
] To: Php (E-mail) [EMAIL PROTECTED] Sent: Monday, April 30, 2001 1: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

[PHP] COM-Functions

2001-04-10 Thread Jochen Kaechelin
Hello list! Does anybody know some sources to read about the COM-Functions in PHP? We wan't to develop some tools to generate INCOMES out of a web application? Only found some lines on phpbuilder, but that's not really enough to get started! Thanx -- Jochen Kaechelin - Ihr WEBberater

Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Daniel Tryba
On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 ? //line 1 $excel_handle = new

[PHP] Re: [PHP-WIN] Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Alain Samoun
Among other articles, look at the COM functions in PHP4 article: http://www.phpbuilder.com/columns/ Alain On Wed, Feb 28, 2001 at 11:35:15AM +0100, Daniel Tryba wrote: On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: I have been trying the following example from the PHP

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 up

[PHP] COM vs ???

2001-02-12 Thread Ghislain Bruyere
Hello, 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. Thanks Have a nice day Ghislain

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

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 installed on the server ot

[PHP] COM - get existing instance?

2001-02-08 Thread Tim Knip
Is it possible to grab a running instance of for example Word? In VisualBasic-words: can you use 'GetObject' instead of 'CreateObject'? The latter is done by : $word = new Com("Word.Application") this creates a NEW instance, however i want to get an already running instance. Possible? --

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
: "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), RTFM on calling

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 normal

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 Vora Vor
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 to access a Windows COM o

[PHP] Com

2001-02-06 Thread Vora Vor
"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 version ($word-Version)\n"; $word-visible =1 ; ? Why?

[PHP] COM?

2001-02-06 Thread Conover, Ryan
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. Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 4 ? //line 1 $excel_handle = new COM("excel.application"); //line2 $excel_handle-Visible = false; //line3

[PHP] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 ? //line 1 $excel_handle = new COM("excel.application"); //line2 $excel_handle-Visible = false; //line3

Re: [PHP] RE: [PHP-WIN] Revised [PHP] COM and PHP

2001-02-05 Thread Sterling Hughes
I tried with FALSE same error. I also tried the following word example ? $word = new COM("word.application") or die("Unable to instanciate Word"); print "Loaded Word, version {$word-Version}\n"; $word-Visible = 0; $word-Documents-Add(); $word-Selection-TypeText("Testing, testing...

[PHP] COM Question

2001-02-05 Thread Conover, Ryan
Do I need to have anything special installed on the server (IIS) to call excel and word with COM. Ryan -- 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:

[PHP] RE: [PHP-WIN] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
d. in c:\Inetpub\wwwroot/temp2.php on line 7 Ryan -Original Message- From: Andris Jancevskis [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 3:01 PM To: Conover, Ryan Subject: Re: [PHP-WIN] Revised [PHP] COM and PHP Try "FALSE" instead of "false" Andris mail