[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Invoking html help

I have a menu item called Help that I would like to invoke a html file called index.htm in the default browser.

How can I do that from within a Delphi App?

0
zebada
Asked:
zebada
  • 2
  • 2
1 Solution
 
rwilson032697Commented:
You can do it like this:

Shellexecute(application.handle,'OPEN','index.htm',nil,NIL,SW_NORMAL);

Cheers,

Raymond.
0
 
zebadaAuthor Commented:
Thanks Raymond,

I looked for Execute, Exec, Execl, System, Fork, Spawn etc but never thought of shellexecute().

Answer for the points.
0
 
rwilson032697Commented:
Ta!

Raymond.
0
 
zebadaAuthor Commented:
Cheers
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now