Вниз
Скачать: CL | DM;

Как создать что-нибудь.lnk ?   Найти похожие ветки 

← →
CrazyAngel ©   (2002-03-28 20:02) [0]

Люди помогите plssss , как создать что-нибудь.lnk т.е. ярлык на мою прогу ?


← →
lipskiy ©   (2002-03-28 20:45) [1]

procedure TForm1.CreateShortcut(const FilePath, ShortcutPath, WorkDir, Description, Params:string);
var
obj: IUnknown;
isl: IShellLink;
ipf: IPersistFile;
begin
obj := CreateComObject(CLSID_ShellLink);
isl := obj as IShellLink;
ipf := obj as IPersistFile;
with isl do
begin
SetPath(PChar(FilePath));
SetArguments(PChar(Params));
SetDescription(PChar(Description));
SetWorkingDirectory(PChar(WorkDir));
end;
ipf.Save(PWChar(WideString(ShortcutPath)), False);
end;


← →
CrazyAngel ©   (2002-03-28 20:49) [2]

>lipskiy
Спасибо , попробую ...



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.011 c
3-32665
tovSuhov
2002-03-20 12:05
2002.04.11
Oracle Pipes


1-32751
Vlad011
2002-03-30 16:20
2002.04.11
Classes и Tfilestream


3-32663
SecondGray
2002-03-20 13:15
2002.04.11
Тип ftFloat в таблицах dBase и FoxPro


1-32789
NIC2
2002-03-31 11:55
2002.04.11
WebBrowser


1-32829
Crazy Angel
2002-03-28 17:28
2002.04.11
Как удалить заблокированный файл ???




   Наверх