Autor Beitrag
ptronick
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22

win xp prof.
D5 Stand
BeitragVerfasst: Di 27.04.04 20:02 
hi,

ich möchte mit einem Button eine Seite aufrufen.
Folgender Quelltext klappt schon ganz gut:

shellexecute(application.handle, 'open', pchar('http://www.delphi-forum.de'), nil,nil, sw_shownormal);

Nur wird dann die Seite mit dem StandardBrowser geöffnet. Kann man das soweit beeinflussen, dass er den Interneterplorer nehmen soll?

Danke

Patrick[/df]
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 27.04.04 20:04 
Ruf den InternetExplorer mit der Seite als Parameter direkt auf.
ptronick Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22

win xp prof.
D5 Stand
BeitragVerfasst: Di 27.04.04 20:13 
wo muss ich dann den parameter eingeben?
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 27.04.04 20:32 
Kuck dir mal die Parameterliste von Shellexecute an.
ptronick Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22

win xp prof.
D5 Stand
BeitragVerfasst: Di 27.04.04 20:53 
sorry, ich weis absolut nicht, wie ich mit dem befehl umgehen soll.
ich weis nur, dass er funktioniert *schäm*.

kannst du das genauer sagen?
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mi 28.04.04 08:02 
Hallo,

ausblenden Delphi-Quelltext
1:
shellexecute(application.handle, 'open', PChar('iexplore.exe'), pchar('http://www.delphi-forum.de'), nil, sw_shownormal);					

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
ptronick Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22

win xp prof.
D5 Stand
BeitragVerfasst: Mi 28.04.04 13:56 
danke!!!