|
Ярлыки
|
|||
---|---|---|---|
#18+
Кто подскажет как нажатием комманда создавать ярлыки на рабочем столе? ... |
|||
:
Нравится:
Не нравится:
|
|||
07.07.2003, 10:32 |
|
Ярлыки
|
|||
---|---|---|---|
#18+
Private Sub cmdCreateLink_Click() ' Предварительно делаем ссылку на библиотеку C:\WINDOWS\system32\wshom.ocx ' Windows Script Host Object Model Dim wshell As New WshShell Dim myShort As WshShortcut Dim strDesktop As String strDesktop = wshell.SpecialFolders("Desktop") Set myShort = wshell.CreateShortcut(strDesktop & "\I love VB.lnk") myShort.WindowStyle = 3 ' Полный путь к рисунку иконки укажи сам myShort.IconLocation = "C:\Program Files\Microsoft Visual Studio\Common\Graphics\Icons\Computer\msgbox03.ico" myShort.TargetPath = "%windir%\notepad.exe" myShort.Hotkey = "ALT+CTRL+F" myShort.Save End Sub ... |
|||
:
Нравится:
Не нравится:
|
|||
07.07.2003, 18:13 |
|
|
start [/forum/topic.php?fid=60&tid=2171059]: |
0ms |
get settings: |
11ms |
get forum list: |
16ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
44ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
others: | 271ms |
total: | 411ms |
0 / 0 |