?
Solved

Calling a default browser in Delphi

Posted on 1999-01-03
4
Medium Priority
?
289 Views
Last Modified: 2010-04-04
I need to call the default internet browser (for win 95/98/NT) from a delphi program...

I'm sure that there must be some windows API...I just don't know it...so if anyone wants some easy points...

Just need the line that calls the default browser (started at a specific website...say www.apage.com)

Thanks in advance
0
Comment
Question by:rafy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 10

Accepted Solution

by:
viktornet earned 480 total points
ID: 1354338
Here is how it's done...

ShellExecute(0, 'open', 'http://www.yahoo.com', nil, nil, SW_SHOWNORMAL);

That's the trick :)

-Viktor
--Ivanov
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1354339
Oh, don't forget to include ShellAPI to your uses clause like so...

uses Windows, SysUtils, ..........., ShellAPI;
0
 

Author Comment

by:rafy
ID: 1354340
Perfect...thanks
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1354341
No problem :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question