AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

StringToKnownFolder gesucht

Ein Thema von blablab · begonnen am 1. Aug 2012 · letzter Beitrag vom 10. Jan 2013
Antwort Antwort
Seite 2 von 2     12   
Benutzerbild von defede
defede

Registriert seit: 10. Aug 2006
Ort: Stötten am Auerberg
72 Beiträge
 
Delphi 7 Professional
 
#11

AW: StringToKnownFolder gesucht

  Alt 10. Jan 2013, 16:30
Hi, das könnte dir helfen?
Es braucht noch GetSpecialFolder was per "iWord" die Variable "sDir" befüllt.

Delphi-Quellcode:
type TMyItem = record
    sDir : String; //pfad wird später ermitteln...
    iWord : Word;
    sName : String;
end;

var
  oMyList : Array[0..56] of TMyItem = (
    (sDir:'';iWord:CSIDL_DESKTOP;sName:'<desktop>'),
    (sDir:'';iWord:CSIDL_INTERNET;sName:'Internet Explorer (icon on desktop)'),
    (sDir:'';iWord:CSIDL_PROGRAMS;sName:'Start Menu\Programs'),
    (sDir:'';iWord:CSIDL_CONTROLS;sName:'My Computer\Control Panel'),
    (sDir:'';iWord:CSIDL_PRINTERS;sName:'My Computer\Printers'),
    (sDir:'';iWord:CSIDL_PERSONAL;sName:'My Documents'),
    (sDir:'';iWord:CSIDL_FAVORITES;sName:'<user name>\Favorites'),
    (sDir:'';iWord:CSIDL_STARTUP;sName:'Start Menu\Programs\Startup'),
    (sDir:'';iWord:CSIDL_RECENT;sName:'<user name>\Recent'),
    (sDir:'';iWord:CSIDL_SENDTO;sName:'<user name>\SendTo'),
    (sDir:'';iWord:CSIDL_BITBUCKET;sName:'<desktop>\Recycle Bin'),
    (sDir:'';iWord:CSIDL_STARTMENU;sName:'<user name>\Start Menu'),
    (sDir:'';iWord:CSIDL_MYDOCUMENTS;sName:'Personal was just a silly name for My Documents'),
    (sDir:'';iWord:CSIDL_MYMUSIC;sName:'"My Music" folder'),
    (sDir:'';iWord:CSIDL_MYVIDEO;sName:'"My Videos" folder'),
    (sDir:'';iWord:CSIDL_DESKTOPDIRECTORY;sName:'<user name>\Desktop'),
    (sDir:'';iWord:CSIDL_DRIVES;sName:'My Computer'),
    (sDir:'';iWord:CSIDL_NETWORK;sName:'Network Neighborhood (My Network Places)'),
    (sDir:'';iWord:CSIDL_NETHOOD;sName:'<user name>\nethood'),
    (sDir:'';iWord:CSIDL_FONTS;sName:' windows\fonts'),
    (sDir:'';iWord:CSIDL_TEMPLATES;sName:'CSIDL_TEMPLATES'),
    (sDir:'';iWord:CSIDL_COMMON_STARTMENU;sName:'All Users\Start Menu'),
    (sDir:'';iWord:CSIDL_COMMON_PROGRAMS;sName:'All Users\Start Menu\Programs'),
    (sDir:'';iWord:CSIDL_COMMON_STARTUP;sName:'All Users\Startup'),
    (sDir:'';iWord:CSIDL_COMMON_DESKTOPDIRECTORY;sName:'All Users\Desktop'),
    (sDir:'';iWord:CSIDL_APPDATA;sName:'<user name>\Application Data'),
    (sDir:'';iWord:CSIDL_PRINTHOOD;sName:'<user name>\PrintHood'),
    (sDir:'';iWord:CSIDL_LOCAL_APPDATA;sName:'<user name>\Local Settings\Applicaiton Data (non roaming)'),
    (sDir:'';iWord:CSIDL_ALTSTARTUP;sName:'non localized startup'),
    (sDir:'';iWord:CSIDL_COMMON_ALTSTARTUP;sName:'non localized common startup'),
    (sDir:'';iWord:CSIDL_COMMON_FAVORITES;sName:'CSIDL_COMMON_FAVORITES'),
    (sDir:'';iWord:CSIDL_INTERNET_CACHE;sName:'CSIDL_INTERNET_CACHE'),
    (sDir:'';iWord:CSIDL_COOKIES;sName:'CSIDL_COOKIES'),
    (sDir:'';iWord:CSIDL_HISTORY;sName:'CSIDL_HISTORY'),
    (sDir:'';iWord:CSIDL_COMMON_APPDATA;sName:'All Users\Application Data'),
    (sDir:'';iWord:CSIDL_WINDOWS;sName:'GetWindowsDirectory()'),
    (sDir:'';iWord:CSIDL_SYSTEM;sName:'GetSystemDirectory('),
    (sDir:'';iWord:CSIDL_PROGRAM_FILES;sName:'C:\Program Files'),
    (sDir:'';iWord:CSIDL_MYPICTURES;sName:'C:\Program Files\My Pictures'),
    (sDir:'';iWord:CSIDL_PROFILE;sName:'USERPROFILE'),
    (sDir:'';iWord:CSIDL_SYSTEMX86;sName:' x86 system directory on RISC'),
    (sDir:'';iWord:CSIDL_PROGRAM_FILESX86;sName:'x86 C:\Program Files on RISC'),
    (sDir:'';iWord:CSIDL_PROGRAM_FILES_COMMON;sName:'C:\Program Files\Common'),
    (sDir:'';iWord:CSIDL_PROGRAM_FILES_COMMONX86;sName:'x86 Program Files\Common on RISC'),
    (sDir:'';iWord:CSIDL_COMMON_TEMPLATES;sName:'All Users\Templates'),
    (sDir:'';iWord:CSIDL_COMMON_DOCUMENTS;sName:'All Users\Documents'),
    (sDir:'';iWord:CSIDL_COMMON_ADMINTOOLS;sName:'All Users\Start Menu\Programs\Administrative Tools'),
    (sDir:'';iWord:CSIDL_ADMINTOOLS;sName:'<user name>\Start Menu\Programs\Administrative Tools'),
    (sDir:'';iWord:CSIDL_CONNECTIONS;sName:'Network and Dial-up Connections'),
    (sDir:'';iWord:CSIDL_COMMON_MUSIC;sName:'All Users\My Music'),
    (sDir:'';iWord:CSIDL_COMMON_PICTURES;sName:'All Users\My Pictures'),
    (sDir:'';iWord:CSIDL_COMMON_VIDEO;sName:'All Users\My Video'),
    (sDir:'';iWord:CSIDL_RESOURCES;sName:'Resource Directory'),
    (sDir:'';iWord:CSIDL_RESOURCES_LOCALIZED;sName:'Localized Resource Direcotry'),
    (sDir:'';iWord:CSIDL_COMMON_OEM_LINKS;sName:'CSIDL_COMMON_OEM_LINKS'),
    (sDir:'';iWord:CSIDL_DESKTOP;sName:'Links to All Users OEM specific apps'),
    (sDir:'';iWord:CSIDL_CDBURN_AREA;sName:'USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning')
  );
Invader Zim
Obey Zim
Fear Zim
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 2     12   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:20 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz