Autor Beitrag
butterkeks
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Win XP, Win 7
Delphi 2007
BeitragVerfasst: Mi 28.05.08 15:55 
Hallo leute,

ich hab schon ne weile das forum durchforstet und leider nur infos zum login auf einen Webserver gefunden.

Ich möchte gerne den Benutzernamen und das Passwort, das zum zugriff auf eine Passwortgeschützte Windows-Netzwerkfreigabe benötigt wird, automatisch eingeben lassen ohne das der nutzer es sehen kann. Normalerweise erscheint beim klick auf die Freigabe ja ein eingabedialog...dieser soll direkt übersprungen werden.

Wenn das möglich ist, würde ich sogar gerne die Ordneranzeige in meinem Programm anzeigen lassen, also im Prinzip ein Explorerfenster im Programm.

Kann mir da jemand sagen wie man so ein automatisches login programmieren kann?

_________________
Dear lord,
please grant me the ability to punch people in the face over Standard TCP/IP!
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 28.05.08 20:34 
Du musst dazu eine entsprechende Login-Aufforderung über die WinAPI senden. Siehe hierzu die WNet-API von Microsoft.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.