------------
De sources van NLDDanyUtils zijn te vinden in:
ftp://ftp.nldelphi.com/public/OpenSo.../NLDDanyUtils/
------------
Deze unit bevat procedures en functies die toelaten op een gemakkelijke manier shortcuts op standaardlocaties te maken en te verwijderen.
99% van de code in deze unit komt uit een tiphoek thread van walterheck, zie thread http://www.nldelphi.com/forum/showth...3162#post23162 .
Ik vond die tip zo interessant dat ik er een unit van heb gemaakt. Ik hoop dat dit geen plagiaat is? Ikzelf heb enkel de routine "RemoveShortCut" toegevoegd. Alle lof voor walterheck dus.
(Als je wilt, walterheck, dan kun je deze utility overnemen in jouw OpenSource bijdragen!?)
De Interface:
Code:
function CreateShortCut(SourceFileName: TFileName;
Location: TLocationType;
IconPath: string;
IconIndex: Integer;
Tooltip: string;
ShortcutName: string;
Arguments: string;
WorkingDirectory: string = '';
StartMenuFolder: string = ''): Integer;
function RemoveShortCut(Location: TLocationType;
ShortCutName: string;
StartMenuFolder: string = ''): Integer;
Bookmarks