Private Sub Form_Load()
    Dim wsh As New WshShell
    Dim ProgDir As String, ts As String
    ProgDir = wsh.SpecialFolders("Programs")
    ts = ProgDir & "\我的程序组"
    If Dir(ts, vbDirectory) = "" Then MkDir ts
    Dim UrlLnk As WshURLShortcut, Lnk As WshShortcut
    Set UrlLnk = wsh.CreateShortcut(ts & "\msdn网站.url")
    UrlLnk.TargetPath = "http://msdn.microsoft.com"
    UrlLnk.Save
    Set Lnk = wsh.CreateShortcut(ts & "\启动程序.lnk")
    Lnk.TargetPath = App.Path & "\" & App.EXEName & ".exe"
    Lnk.Save
End Sub