Autor Beitrag
Handycommander
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Mo 06.02.06 17:03 
hi,

ist es möglich, wenn ich ein von mir geschriebenes programm auf einen rechner in meinem netzwerkrechner kopiere, dass die datei dann selbstständig startet?
also ohne meine eingriffe startet...

also so in etwa:

ausblenden Quelltext
1:
mein rechner --> exedatei --> netzwerkrechner --> exedatei wird ausgeführt					


würd mich mal interessieren!

mfg
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 06.02.06 17:07 
Mir ist der Begriff 'Netzwerkrechner' gänzlich unbekannt. Ich glaube, du meinst einen Rechner, mit dem du im Netzwerk verbunden bist.

Du kannst zwar die exe auf die Festplatte von ihm bekommen, aber gestartet werden muss das von alleine. Wenn du bereits ein anderes Programm als Server dort offen hast, kannst du ihm über Sockets/Indys mitteilen, das zu starten, aber so wie du das willst, geht das net.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Mo 06.02.06 17:10 
ja meinte ich :roll:
hab ich mir schon fast gedacht
danke
afk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 102

Win 2K, Win XP
Delphi 2006 Arch., Delphi 6 Ent., MS-SQL 2005 & 2000
BeitragVerfasst: Mo 06.02.06 17:12 
Das geht schon, aber nicht ohne den Zielrechner per Programm (z.B. mit Hilfe von WMI) von einem anderen PC zum Starten der Exe zu veranlassen.

Gruß Axel

_________________
Man muß sparn wo mn knn !
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 06.02.06 17:17 
user profile iconafk hat folgendes geschrieben:
Das geht schon, aber nicht ohne den Zielrechner per Programm (z.B. mit Hilfe von WMI) von einem anderen PC zum Starten der Exe zu veranlassen.

Gruß Axel


Genau das meinte ich doch :roll:

Ohne ein anderes Programm - unmöglich...

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
afk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 102

Win 2K, Win XP
Delphi 2006 Arch., Delphi 6 Ent., MS-SQL 2005 & 2000
BeitragVerfasst: Mo 06.02.06 17:29 
user profile iconKoller hat folgendes geschrieben:
user profile iconafk hat folgendes geschrieben:
Das geht schon, aber nicht ohne den Zielrechner per Programm (z.B. mit Hilfe von WMI) von einem anderen PC zum Starten der Exe zu veranlassen.

Gruß Axel


Genau das meinte ich doch :roll:

Ich aber nicht !

WMI bedeutet etwas anderes als ein anderes Programm auf Basis von Sockets/Indy als Server auf dem Zielrechner am laufen zu haben.

WMI ist bei allen neueren Windows-Systemen Bestandteil des Betriebssystems und bei den wenigsten Systemen deaktiviert. Zumindest innerhalb eines LANs kann es daher meist auch problemlos genutzt werden, erfordert aber ein wenig Programmieraufwand (und Ahnung von der Materie :wink:).

Gruß Axel

_________________
Man muß sparn wo mn knn !