AW: [PHP-WIN] COM-Functions for Windows/

From: Date: Tue, 22 Aug 2000 14:07:33 +0000
Subject: AW: [PHP-WIN] COM-Functions for Windows/
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-2029@lists.php.net to get a copy of this message
Great! Thanx! but that it wasn't exactly, even I didn't find that code you send. It works here and i tried some code with outlook too to go one I've only this hint: the full documentation of all wordobjects/methodes/elements you'll probably found in [Extras][Makro][Visualbasiceditor] and there under [Ansicht][Objektkatalog] (F2) (english: [view][object-catalouge] ?) an wich other applications? I fear we can access any application wich can answer as a DDE-Server (uh?) ---- no I ment this functions: COM support functions for Windows com_load — ??? com_invoke — ??? com_propget — ??? com_get — ??? com_propput — ??? com_propset — ??? com_set — ??? cu Klaus -----Ursprüngliche Nachricht----- Von: Giuseppe D'Ambrosio [mailto:gdambrosio@cspnet.it] Gesendet: Dienstag, 22. August 2000 13:34 An: 1193-639-1 Betreff: R: [PHP-WIN] COM-Functions for Windows -----Messaggio originale----- Da: 1193-639-1 <ks@ksweb.de> A: php-windows@lists.php.net <php-windows@lists.php.net> Data: martedì 22 agosto 2000 11.51 Oggetto: [PHP-WIN] COM-Functions for Windows >hi, > >does anyone have an discription.. example etc. >for this new functions or a link to a good explanation? > hello Klaus, the only thing I found 'til now (but haven't searched a lot) is this (from php-manual): <?php $word=new COM("word.application") or die("Cannot start word for you"); print "Loaded word version ($word->Version)\n"; $word->visible =1 ; $word->Documents->Add(); $word->Selection->Typetext("Dit is een test"); $word->Documents[1]->SaveAs('c:\temp\php-com-test.doc); $word->Quit(); ?> it opens M$ word, creates a doc., writes that in Typetext property and saves the file, finally closes word. it's an interesting functionality and the php interface is easy .. the only (my) problem is to find info about other word'COM property (where's a documentation on this?), about other M$ -and especially win- applications (I mean : how must be defined interfaces to permit calling them via COM? ) if you find other infos let me know (it's definitely not urgent ..) HTH, bye, Giuse

« previous php.windows (#2029) next »