![]() |
![]() |
|
|
|||||||
| Netzwerke Rat & Tat zu Netzwerkfragen und -problemen |
|
|
Themen-Optionen | Ansicht |
|
|
#6 |
|
Inventar
![]() Registriert seit: 24.09.2001
Beiträge: 7.335
|
Code:
Private Sub cmdShellLink_Click()
Dim sDesk As String
Dim oShell As New IWshShell_Class
Dim oShortCut As New IWshShortcut_Class
sDesk = oShell.SpecialFolders.Item("Desktop")
Set oShortCut = oShell.CreateShortcut(sDesk & "\" & Trim$(txtName) & ".lnk")
With oShortCut
.TargetPath = Trim$(txtTarget)
.Description = txtDescription
.Arguments = txtArguments
.WorkingDirectory = txtStartIn
.WindowStyle = cboStyles.ItemData(cboStyles.ListIndex)
.Save
End With
Set oShell = Nothing
Set oShortCut = Nothing
End Sub
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org . |
|
|
|
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|