Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Library: Internet / LAN / ASP.NET (https://www.delphipraxis.net/23-library-internet-lan-asp-net/)
-   -   Prism Standard-Webbrowser öffnen... (https://www.delphipraxis.net/37324-standard-webbrowser-oeffnen.html)

Alexander 4. Jan 2005 15:05


Standard-Webbrowser öffnen...
 
Hallo,
mit der VCL/WinApi gab es ja die Möglichkeit mit
Delphi-Quellcode:
 ShellExecute(0, 'open', 'http://www.delphipraxis.net', nil, nil, SW_SHOW);
eine Website im Standard-Browser zu öffnen.
Unter .NET funktioniert dies so:
Delphi-Quellcode:
uses System.Diagnostics;
  System.Diagnostics.Process.Start('http://www.delphipraxis.net');
  System.Diagnostics.Process.Start('mailto:mail@domain.de');
[edit=Chakotay1308]Delphi-Tags, Titel und Klassifizierung angepasst. Mfg, Chakotay1308[/edit]


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:30 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz