[php] com hoe weet ik progID?

Pagina: 1
Acties:
  • 311 views sinds 30-01-2008
  • Reageer

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
Ik ben een beetje aan het rommelen met com dingen in php.
jammer dat dat com suport alleen in windows zit maar hoe vind ik een prog id en hoe weet ik wat ik met dat prog kan doen via php?

Verwijderd

wat zijn "com dingen" :?

Verwijderd

Op woensdag 02 januari 2002 23:28 schreef Jppr het volgende:
wat zijn "com dingen" :?
Kun je in PHP een worddocumentje maken e.d. geloof ik..
Ken het ook niet goed.
Zie dit;
http://www.phpfreakz.com/artikelen.php?aid=72

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
Dat is page waar ik het betrapte :P
maar ik wil weten hoe je prog id's kan vinden

Verwijderd

martink, ff zoeken helpt dan vast wel als het in PHP is ingebouwd:
http://www.php.net/manual/en/ref.com.php

edit: op bovenstaande link bij de user comments stond een linkje naar een artikel op PHPBuilder, en daar stond: (http://www.phpbuilder.net/columns/alain20001003.php3)
Identifiers, methods and properties.
identifiers are strings like:

For MS Word: "Word.Application" or "Word.Application.9"
MS Excel: "Excel.Application" or "Excel.Sheet"
ADOBE Acrobat: "Exch.application" or "PdfDistiller.PdfDistiller"

As the last identifier name indicates, it is not always easy to know the right name for the object. If you do not have access to a VBA doc, you can look at the windows registry (Start - Run regedit) and look in the HKEY_CLASSES_ROOT folder: Scan down until the end of the extensions list, you will then reach the Application names. The COM Identifiers available in your machine, are the folders with the CLSID subfolders.

The application program should document its COM methods and properties. In the case of Office 2000, start the application, then open the visual basic editor with the <ALT+F11> short cut key and select the Objects Editor <F2>. Enter a name of method or properties for the application's library. Then, select a class or member and right click on the member name in the next window below. You will get the description for the class or member by selecting help. You can also consult MSDN. An example for Excel is: http://msdn.microsoft.com/library/officedev/off2000/xltocobjectmodelapplication.htm

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
Ik heb com ondersteuning maar ik weet geen prog id's :(

Warning: Invalid ProgID: Ongeldige klassereeks in c:\foxserv\www\com.php on line 2

Verwijderd

check mijn post hierboven...ben je daar iets mee? zoja: volgende keer wat beter zoeken...

mis. ben je hier iets mee?
http://www.microsoft.com/com/resources/oleview.asp

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
Hmm maar daarmee zie ik neit welke progID winamp is :(

  • Orphix
  • Registratie: Februari 2000
  • Niet online
Als je toevallig ook Visual Studio hebt kan je het programma Spy++ (onder tools) gebruiken om allemaal informatie van vensters te zien, waaronder hun handles/classes.

Voor winamp zal je moeten zoeken naar een handle met de naam 'Winamp v1.x' of iets in die trant. Dit staat ook op de winamp site onder de developers sectie.

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
Ik heb dat proggie maar ik snap niet hoe je daarmee de prog id vind :(
die van word is word.aplication ofzo (stond in totural van com objects)

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
http://www.winamp.com/skins/reviews.jhtml?rOT=C&rOI=6538
een winamp plugin die winamp een prog ID geeft :)
NU KAN IK SPELEN!
:)

  • Martink
  • Registratie: Juni 2001
  • Laatst online: 14-09 13:52
Damn ik weet niet 100% hoe het werkt :(
hoe control ik winamp nou?
en hoe pak ik lied die momenteel speelt :(

  • Orphix
  • Registratie: Februari 2000
  • Niet online
heb je
hier [topic=310650]
hier [topic=295749]
of hier [topic=188484] al gekeken?
Pagina: 1