Autor Beitrag
Sauger Chris
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Sa 06.12.03 19:20 
hallo wie kann ich das machen das der ordner erst auf geht wenn ein password
eingegeben wurde.

Danke

Chris(Delphi7)
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: So 21.12.03 01:06 
wie meinst du das?
willst du das beim öffnen eines bestimmten ordner im explorer eine passwort abfrage stattfindet oder das beim öffnen ein passwort geschützter ordner der von z.b. einem shelllistview geöffnet wird eine passwortabfrage erfolgt?

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
Sauger Chris Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Mo 22.12.03 19:38 
das beim öffnen ein passwort geschützter ordner der von z.b. einem shelllistview geöffnet wird eine passwortabfrage erfolgt?

ja genau das brauche ich

Chris(Delphi 7)
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 23.12.03 13:10 
aber das ganze muss nicht auch im expolorer geschützt sein sondern nur in deiner app oder wie ?

_________________
In the beginning was the word.
And the word was content-type: text/plain.
blackbirdXXX

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Di 30.12.03 16:51 
Wenn du WindowsNT 3.52+ hast dann kannst du deine Festplatte mit NTSC formatieren und Berechtigungen einstellen.
Danach kannst du das ganze auch von Delphi aus steuern:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
uses ShellAPI

function ShowProperties(hWndOwner: HWND; const FileName: string;
                        Registerkarte: PChar): Boolean;
var Info: TShellExecuteInfo;
begin
  with Info do begin
    cbSize := SizeOf(Info);
    fMask := SEE_MASK_NOCLOSEPROCESS or
             SEE_MASK_INVOKEIDLIST or
             SEE_MASK_FLAG_NO_UI;
    wnd  := hWndOwner;
    lpVerb := 'properties';
    lpFile := pChar(FileName);
    lpParameters := registerkarte;
    lpDirectory := nil;
    nShow := 0;
    hInstApp := 0;
    lpIDList := nil;
  end;

  Result := ShellExecuteEx(@Info);
end;

//Aufruf mit:
ShowProperties(0, pchar(shelllistview1.SelectedFolder.PathName), 'Sicherheitseinstellungen');

_________________
Klein, schwarz und ärgert Techniker? Jumper!