Autor Beitrag
sam250
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Mi 11.07.07 23:08 
abend, ich habe folgendes Problem, ich wäre euch sehr dankbar, wenn jemand mir hilfen könnte:
ich möchte ein Delphi-programm über dem Browser starten, wasfür befehle gibts, um ein Delphi-programm mit HTML auszuführen.

Merci


Moderiert von user profile iconTino: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Fr 13.07.2007 um 09:24
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Do 12.07.07 11:31 
Möglich wäre es ein eigenes Protokoll auf dem Rechner zu konfigurieren und dann über href das Programm aufrufen. Unter anderem macht das EMule und TortoiseSVN das so:

ausblenden Quelltext
1:
<a href="tsvn:http://myweb/svn/test">...</a>					


Lg, Martin

_________________
Ein Nutzer der Ecke ;-)
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Do 19.07.07 15:05 
Er meint glaub eher, dass im Browser die *.exe startet, was zwar irgendwie möglich ist, aber auf Grund der Sicherheitseinstellungen der meisten User nicht funktionieren wird.

Am Besten gleich alles in PHP basteln, wenns nicht zu aufwändig ist.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Do 19.07.07 16:16 
Geht nicht einfach "file:///C:/programmsowieso.exe"? Oder "C:\programmsowieso.exe"? Mit Internet-Explorer sollte es gehen. Der ist ja das gleiche wie Windows-Explorer. Mit Firefox aber sicher auch!!! Wird sonst nicht auch Pascal als Websprache erkannt? Dann könnte man ja ein ShellExecute nehmen.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 19.07.07 16:32 
user profile iconJakob_Ullmann hat folgendes geschrieben:
Geht nicht einfach "file:///C:/programmsowieso.exe"? Oder "C:\programmsowieso.exe"? Mit Internet-Explorer sollte es gehen. Der ist ja das gleiche wie Windows-Explorer. Mit Firefox aber sicher auch!!! Wird sonst nicht auch Pascal als Websprache erkannt? Dann könnte man ja ein ShellExecute nehmen.

Oh mein Gott, ist dir klar was das heißen würde?? Wunderbar, eine Website hat grad bei mir format.com ausgeführt! Toll!
Eigentlich dürfte sowas IMHO nicht gehen, und das ist auch gut so.
Der IE ist übrigens AFAIK nicht identisch mit dem Explorer, lediglich wenn man eine Webadresse in die Adressleiste eingibt wandelt sich der Explorer sozusagen um in den IE. Jedenfalls gibt es 2 getrennte Exe-Dateien, explorer.exe und iexplore.exe.
Aber selbst wenn sie identisch wären: Der IE hat ein Zonenmodell...

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Do 19.07.07 16:35 
Bei mir kommt dann 'ne Meldung "Möchten Sie folgende Datei speichern?"
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 19.07.07 16:37 
user profile iconJakob_Ullmann hat folgendes geschrieben:
Bei mir kommt dann 'ne Meldung "Möchten Sie folgende Datei speichern?"

Und da kann man dann auf Öffnen klicken. ABer diese Abfrage lässt sich - zum Glück - nicht umgehen. Zumindest sollte man sie nicht umgehen können...

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell