Autor Beitrag
Philipp_Reitter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mi 29.03.06 15:45 
hi ich hab zwei fragen

# Verhindern das Programm ohne eingabe von Admin-PW beendet wird
# Anwendung im taskmanager verstecken


kann mir jemand helfen???
danke mal im vorraus
Vera
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 82

WinXP Home
Delphi 2005 Personal
BeitragVerfasst: Mi 29.03.06 15:50 
Hallo Philipp!

user profile iconPhilipp_Reitter hat folgendes geschrieben:
hi ich hab zwei fragen

Dafür sollte man eigentlich zwei getrennte Topic für erstellen.

user profile iconPhilipp_Reitter hat folgendes geschrieben:
# Verhindern das Programm ohne eingabe von Admin-PW beendet wird

Was genau kannst du dabe nicht? Mit IF-THEN sollte es zu lösen sein. Oder weißt du nicht wie man ein Fenster anzeigt in dem der User das Kennwort eintragen kann? Oder weißt du nicht wie man das Admin-Kennwort erhält?

user profile iconPhilipp_Reitter hat folgendes geschrieben:
# Anwendung im taskmanager verstecken

Ich denke die Suche sollte vielleicht ein paar Treffer zu dieser Frage liefert.

Bye, Vera!
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mi 29.03.06 15:52 
ok ich wrds versuchen....
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Mi 29.03.06 15:54 
Also mit dem Taskmanageer geht relativ einfach:
ausblenden Delphi-Quelltext
1:
ShowWindow(Application.Handle, SW_HIDE);					

das ganze im Timer und dann ist dass Prog nur noch unter Prozesse.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6393
Erhaltene Danke: 147

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 29.03.06 15:54 
user profile iconPhilipp_Reitter hat folgendes geschrieben:
# Verhindern das Programm ohne eingabe von Admin-PW beendet wird
# Anwendung im taskmanager verstecken

Zu Frage eins: Suche in: Delphi-Forum ANWENDUNG VERSTECKEN
Zu Frage zwei: Suche in: Delphi-Forum TASKMANGER
Es gibt schon Lösungen. Notfalls erstmal die Begriffe aus dem eigenen Topic als Suchbegriff verwenden. :wink:
Waldteufel
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 29.03.06 15:58 
Ich würde einen Dienst empfehlen.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mi 29.03.06 15:58 
ich würde noch terminate process hooken, sonst kann man des prog immer killen :P und dann abfragen, ob dein programm gekillt werden soll und das dann ggflls abbrechen.


aaaaaaaansonsten: msdn.microsoft.com/l...nd_access_rights.asp


oder du nennst die exe gleich winlogon.exe
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mi 29.03.06 16:10 
user profile iconBigboss hat folgendes geschrieben:
Also mit dem Taskmanageer geht relativ einfach:
ausblenden Delphi-Quelltext
1:
ShowWindow(Application.Handle, SW_HIDE);					

das ganze im Timer und dann ist dass Prog nur noch unter Prozesse.


das geht nicht da passiert gar ncihts und ich will ja das es im taskmanager nicht mehr ztu sehen ist...
Vera
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 82

WinXP Home
Delphi 2005 Personal
BeitragVerfasst: Mi 29.03.06 16:13 
Warum soll Deine Anwendung nicht nicht im Taskmanager erscheinen? :gruebel:
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 29.03.06 16:13 
Bezüglich Terminateprocess: blogs.msdn.com/oldne...04/07/22/191123.aspx bzw. noch wichtiger: blogs.msdn.com/oldne...004/02/16/73780.aspx

Was soll das für ein Programm werden? Warum darf man es nicht beenden können?
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: Mi 29.03.06 16:24 
@ Phillip_Reitter
Also eigentlich sollte das schon klappen, das Schnippselchen in nen Timer Interval auf 1 und dann haste das Programm weder in der Taskleiste noch bei Anwendungen im Taskmanager. Wie gesagt aber halt bei den Prozessen.
Philipp_Reitter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 430



BeitragVerfasst: Mi 29.03.06 16:27 
es wird eine Kindersicherung fürs internet...
www.softprose.any-ke...uard/board/index.php