Autor Beitrag
DiamondDog
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 460



BeitragVerfasst: Sa 19.07.08 09:24 
Hallo Leute,
ich hab da folgendes biß jetzt öffne ich eine Webseite so:
ausblenden Delphi-Quelltext
1:
shellexecute(handle,'open',Pchar('http://www.test.de'),nil,nil,sw_show);					
Da hier aber immer der Browser geladen wird und immer ein neues Fenster, ist das für mein Vorhaben etwas schlecht. Meine Frage ist jetzt wie bekomme ich es hin die Seite in einer Form zu öffnen?
Die Seite brauch nur geladen werden kein vor zurück oder reload Funktionen oder sonstiges. Wäre super wenn mir da jemand verraten könnte wie das geht.

Danke schon mal.

Mfg Dog
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 19.07.08 09:34 
TWebBrowser

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
DiamondDog Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 460



BeitragVerfasst: Sa 19.07.08 10:24 
ok hab mir jetzt mal n Tutorial gesucht:
www.delphipraxis.net/topic18669.html
hoffe es is erlaubt hier den Code so zu Posten.
Also da steht ich soll:
Komponente -> ActiveX installieren -> In der Liste auswählen (Microsoft Internet Controls)-> Installieren

Dabei habe ich ein Problem und zwar wenn ich auf installieren gehe dann bekomme ich die Error Meldung:
Eine Klasse mit der Bezeichnung 'TWebBrowser' wurde bereits installiert.

Des weiteren steht dann da:
"Nun schiebt ihr den Browser auf euer Projekt."
Wie mach ich das denn?

Edit: Habs hinbekommen. 100 Dank
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 19.07.08 12:26 
Hi!

Ich hab' das auch mal ausprobiert, aber bei mir kommt dann folgende Fehlermeldung:

"[Fataler Fehler] Ausgabedatei 'c:\program files\borland\delphi7\Projects\Bpl\mxcompos.bpl' kann nicht erstellt werden" :cry: :cry: :cry: :evil: :evil: :evil: :pc-kaputt-mach: :mrgreen:

Als ich es mit der dcluser (oder so) :mrgreen: versucht hab', hat es auch nicht funktioniert. Hat einer eine Idee :idea:? :?

_________________
Die Lösung ist nicht siebzehn.
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: Sa 19.07.08 13:39 
Hast du vielleicht noch eine weitere Instanz von Delphi geöffnet gehabt? Du darfst beim Installieren von Packages immer nur ein Delphi offen haben. Sonst kommt so eine oder eine ähnliche Fehlermeldung.
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 19.07.08 13:44 
Hab den Fehler schon! :shock: Pfadangabe ... :( :( :(

_________________
Die Lösung ist nicht siebzehn.