Autor Beitrag
JRegier
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Do 16.06.05 16:26 
Hallo, sagt mal wie mache ich ein WWW Link auf Formular? Wie funktioniert das, eine WWW Seite aus
Delphi aufzurufen? Mit Label?
megaperlz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 53

Win95 Win98 Win2000 WinXP
D5
BeitragVerfasst: Do 16.06.05 16:28 
spontan würd ich des jetzt so machen:

ausblenden Quelltext
1:
Shellexecute( 0, nil, PChar('http://www.meinehomepage.de/'), nil, nil, SW_SHOW)					

_________________
Nichts ist gelber als Geld selber.
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Do 16.06.05 16:50 
user profile iconmegaperlz hat folgendes geschrieben:
spontan würd ich des jetzt so machen:

ausblenden Quelltext
1:
Shellexecute( 0, nil, PChar('http://www.meinehomepage.de/'), nil, nil, SW_SHOW)					


Welche UNIT muß ich dafür einbinden? Mein Delphi sagt erstmal kenne das nicht! In der Hilfe
steht auch nicht zu welcher Unit es gehört!
raven_22
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 95

Win XP pro
D7 Enterprise
BeitragVerfasst: Do 16.06.05 17:48 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
uses ShellApi;

ShellExecute(0, 'open','c:\Windows\notepad.exe', nil, nil, SW_SHOWNORMAL); //Notepad starten

ShellExecute(0,'open','c:\windows\notepad.exe','c:\Test.txt', nil, SW_SHOWNORMAL); //Test.txt mit Notepad öffen

ShellExecute(0,'open','c:\', nil, nil, SW_SHOWNORMAL); // Ordner öffen

Shellexecute(0, nil, 'http://www.meinehomepage.de/', nil, nil, SW_SHOW); // URL öffen




LG raven 8)

_________________
---_-= raven_22 =-_---
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Do 16.06.05 17:56 
user profile iconraven_22 hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
uses ShellApi;

ShellExecute(0, 'open','c:\Windows\notepad.exe', nil, nil, SW_SHOWNORMAL); //Notepad starten

ShellExecute(0,'open','c:\windows\notepad.exe','c:\Test.txt', nil, SW_SHOWNORMAL); //Test.txt mit Notepad öffen

ShellExecute(0,'open','c:\', nil, nil, SW_SHOWNORMAL); // Ordner öffen

Shellexecute(0, nil, 'http://www.meinehomepage.de/', nil, nil, SW_SHOW); // URL öffen




LG raven 8)


Vielen Dank! Ich versuch's mal! Wow ich faß es nicht es Klapt es Klapt! :P