Вниз
Скачать: 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.45 MB
Время: 0.009 c
1-32818
Dim!S
2002-04-01 12:58
2002.04.11
Задание маски в TMaskEdit


3-32647
SZap
2002-03-16 13:41
2002.04.11
TQuery.SQL


1-32824
snoup
2002-03-27 19:18
2002.04.11
Как с помощью компонента TDialUp сделать автодозвон? Я пишу так:


1-32851
AvcRUSSIAN
2002-03-29 10:15
2002.04.11
ScrollBAR`s в TreeView


1-32898
Cupor
2002-03-29 19:08
2002.04.11
Панаели инструментов как в Photoshope




   Наверх