Autor Beitrag
maveric
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 54


D7
BeitragVerfasst: Di 29.03.05 11:19 
Hallo,

schreibt man den ein Link auf eine Seite??

WebBrowser1.Navigate('http://www.delphi-forum.de');

zeigt mir die Seite in eigenem Browser an, ich möchte aber ein direkten Link.

Wahrscheinlich funzt das mit dem webdispatcher ?!?!?!? Nur kenn ich leider die entsprechenden Befehle nicht.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.Button1Click(Sender: TObject);
begin
"öffne Browser ---> lade http://www.delphi-forum.de ";
end;



Danke

maveric
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Di 29.03.05 11:21 
Hallo
das Stichwort heisst Suche in: Delphi-Forum, Delphi-Library SHELLEXECUTE

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Di 29.03.05 11:22 
einfach ein label machen www.blabla.de und ind das onclickéreignis:
ausblenden Delphi-Quelltext
1:
2:
3:
uses shellapi
///...
shellexecute(handle,'open',PChar(TLabel(sender).caption),nil,nil,SW_SHOW);

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
maveric Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 54


D7
BeitragVerfasst: Di 29.03.05 11:29 
hmm... kannst du mir vielleicht mal ein beispiel geben ??? ich glaube ich muss da noch was deklarieren?....
chrisw
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 439
Erhaltene Danke: 3

W2K
D7
BeitragVerfasst: Di 29.03.05 11:32 
ausblenden Delphi-Quelltext
1:
ShellExecute(0, 'open', 'http://www.google.de', '', '', SW_SHOW);					

_________________
Man sollte keine Dummheit zweimal begehen, die Auswahl ist schließlich groß genug.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Di 29.03.05 11:33 
user profile iconmaveric hat folgendes geschrieben:
hmm... kannst du mir vielleicht mal ein beispiel geben ??? ich glaube ich muss da noch was deklarieren?....

:?!?: das da oben ist doch ein beispiel :rofl:

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Di 29.03.05 11:35 
Wollt ich auch grad schreiben. Und über den Suchhinweis den ich dir gegeben habe, findest du noch ca. 7342 weitere.

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
maveric Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 54


D7
BeitragVerfasst: Di 29.03.05 11:38 
OK,DANKE, war an dieser Stelle leicht verwirrt ! :lol:

AN DIESER STELLE MAL EIN DICKES LOB ANS DELPHI-FORUM :!:
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Di 29.03.05 11:41 
user profile iconmaveric hat folgendes geschrieben:
OK,DANKE, war an dieser Stelle leicht verwirrt ! :lol:

AN DIESER STELLE MAL EIN DICKES LOB ANS DELPHI-FORUM :!:

angenommen, eingesteckt UND IHR KRIEGT NIX DAVON :mrgreen:

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Di 29.03.05 11:44 
user profile iconpatrick hat folgendes geschrieben:

angenommen, eingesteckt UND IHR KRIEGT NIX DAVON :mrgreen:

Das könnte dir so passen. Los sofort rausrücken und aufteilen. :motz:

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
maveric Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 54


D7
BeitragVerfasst: Di 29.03.05 12:52 
Möchte euch nix vorenthalten ! :wink:

Meine Erkenntnis hab ich aus dem Beitrag von chrisw erlangt ! DANKE nochmal

und hier ist er nochmal:

ausblenden Delphi-Quelltext
1:
ShellExecute(0, 'open', 'http://www.google.de', '', '', SW_SHOW);					


Allerdings nicht vergesen in uses shellapi einzufügen!!!

Dann funzt es!