![]() |
Wie öffne ich den standard Internet-Browser? PROBLEM
Ich benutze diesesen Aufruf:
Delphi-Quellcode:
(ShellAPI ist in Uses Liste)
ShellExecute(0, 'open', 'www.egal.com/ordner/seite.php?'+inttostr(X)+','+inttostr(Y), nil, nil, SW_SHOW);
Dashier funktioniert jedoch...
Delphi-Quellcode:
Was muss ich tun?
Webbrowser.Navigate('www.egal.com/ordner/seite.php?'+inttostr(X)+','+inttostr(Y));
(Es ist richtig das die Seite so "www.egal.com/ordner/seite.php?200,400" aussehen soll ;-) ) Achja die Fehlermedlung: [Fehler] Proggy.pas(XX): Inkompatible Typen: 'String' und 'PAnsiChar' |
Re: Wie öffne ich den standard Internet-Browser? PROBLEM
Dumusst nach PChar casten:
Delphi-Quellcode:
;)
ShellExecute(0, 'open', PChar('www.egal.com/ordner/seite.php?'+inttostr(X)+','+inttostr(Y)), nil, nil, SW_SHOW);
|
Re: Wie öffne ich den standard Internet-Browser? PROBLEM
Delphi-Quellcode:
ShellExecute(0, 'open', PAnsiChar('www.egal.com/ordner/seite.php?'+inttostr(X)+','+inttostr(Y)), nil, nil, SW_SHOW);
|
Re: Wie öffne ich den standard Internet-Browser? PROBLEM
DANKESCHÖN :-) (is doch ein noobfehler oder? (Bin auch einer) PAnsiChar is mir noch nie untergekommen :oops:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:49 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz