[c++] htm openen in browser

Pagina: 1
Acties:
  • 37 views sinds 30-01-2008

  • mandroid
  • Registratie: Juli 2002
  • Laatst online: 01-02 07:50
Hey,

Ik ben bezig met een klein zoekprogrammatje te schrijven voor mn broer. Het opent een reeks .htm files (textueel), en zoekt naar opgegeven keywords. Dat zoeken enzo werkt allemaal, en nu print ik de bestandsnaam van de .htm's af in de console waarin de keywords gevonden werden.

Nu zou het echter handig zijn moest ik een kleine functie kunnen toevoegen, die voor mij dan het .htm bestand opent in de browser.

Iemand enig idee hoe ik dat zou kunnen realiseren ?

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 14:53

NMe

Quia Ego Sic Dico.

Heb je wel gegoogled (*klik hier*)? :?

[ Voor 11% gewijzigd door NMe op 06-08-2004 00:04 ]

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


  • curry684
  • Registratie: Juni 2000
  • Laatst online: 12-05 22:23

curry684

left part of the evil twins

curry684 schreef op 11 februari 2004 @ 10:58:
MSDN docs over ShellExecute
MSDN docs over ShellExecuteEx
[search=shellexecute]
[search=shellexecute delphi]
[google=shellexecute]
[google=shellexecute delphi]
:z

Professionele website nodig?


  • mandroid
  • Registratie: Juli 2002
  • Laatst online: 01-02 07:50
#include <windows.h>

ShellExecute(NULL, "open", "url website", NULL, NULL, SW_SHOWNORMAL);

dit lukt :)

  • curry684
  • Registratie: Juni 2000
  • Laatst online: 12-05 22:23

curry684

left part of the evil twins

En daarmee is deze 'lees de handleiding of de GoT-search' vraag eilijk wel opgelost :)

Professionele website nodig?


Dit topic is gesloten.