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
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
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
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
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:
> >
> >
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
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
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:
>
>
--
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
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:
TestComputer' , 'Username' =>
'TestUser' , 'Password' => 'TestPass');
// lis
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
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 the
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
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(
/
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 $Description
> 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
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
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
--
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
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
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 wrot
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 iebut
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
ins
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)
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;
if($objSe
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
ts like "new
COM(InternetExplorer.Application)" and it also returns 'true'. Other
tests of the pfpro 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
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
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"
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:
http://bugs.php.net/bu
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) wa
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 new
(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
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
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
[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
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]
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
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
[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.
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:-
com_load_typelib(
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:-
com_load_typelib(
: Kiswa [mailto:[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 = &a
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,
> 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
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
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
>
>
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: htt
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, visi
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
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
How I can manage Word through PHP?
I have tried with the code indicated on PHP-guide (chm format) but it does not
work.
Visible = 1;
$word->Documents->Add();
$word->Selection->TypeText("Questa è una prova...");
$word->Documents[1]->SaveAs("Prova inutile.doc");
$word->Quit();
$wor
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 for
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:
Version)\n";
$word->visible = 1 ;
$word->Documents->Add();
$word->Selection->Typetext("This is a test");
?>
RE
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 (
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
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
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
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 othe
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
http://www.phpbuilder.net/
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.
or
Version}\n";
$word->Visible = 1;
$word->Documents->Add();
$word->Selection->TypeText("This is a test...");
$word->Documents[1]->SaveAs("Useless test.doc");
$word->Quit
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: [EMAIL
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 an
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 createservername
Hi,
here my problem with COM in PHP.
";
$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'");
$jServer->Do("load'd:\\j_tm1dll\\j\\tm1api.ijs'");
$jServer->Do(
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
ction 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
Sub
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
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
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;
san Arteaga" <[EMAIL PROTECTED]>
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
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 - ???
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
Stuttgart
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 devel
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
> $excel_handle = new COM("excel.applica
> 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
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
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?
--
PH
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
> 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
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
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
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
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
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/
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
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
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 t
"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:
Version)\n";
$word-visible =1 ;
?>
Why?
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: [EM
> 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, te
[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
mailto:[EMAIL PROTECTED]
+---
Monday, February 05, 2001, 10:05:24 PM, you 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
Visible = false; //line3
$worksheet = $excel_handle->workbooks->add(); //line4
$worksheet->Cells(1,1)->valu
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
Visible = false; //line3
$worksheet->Cells(1,1)->value = "Name"; //line4
$worksheet->SaveAs("temp.xls"); //line5
94 matches
Mail list logo