This maybe the simplest way to Create Shortcut. After all, it require Win98 se or higher, beacause it use the vbscript to do the job.
Now, there is still something to explain.
The ShortCutPath must be the special folders in your system. I have tried out the follows:
"Desktop :Our Desktop
Programs :Start Menu\Programs
StartMenu :Start Menu
StartUp :Start Menu\Programs\StartUp
SendTo :Windows\SentTo
Fonts :Windows\Fonts
Favorites :Windows\Favorites"

The Window_Style is a integer,
Window_Style=3 means MaximizedWindows when run.
Window_Style=7 means MinimizedWindows when run.
Well, Others means NomalWindows when run.
Default is 0.

The IconNum set our Shortcut's icon.
0 means the first icon in the target file.
1 the sencond ...
2 the third ...
and so on.
Default is 0.
VB Code:
  1. Option Explicit
  2.  
  3. Private Sub Command1_Click()
  4. 'This will Create a ShortCut of Notepad in our desktop, its name is "Notepad", minimize windows when run, use the 2nd icon as the Shortcut icon.
  5.  
  6. Create_ShortCut "C:\WINDOWS\NOTEPAD.EXE", "Desktop", "Notepad", , 7, 1
  7. End Sub
  8.  
  9. Sub Create_ShortCut(ByVal TargetPath As String, ByVal ShortCutPath As String, ByVal ShortCutname As String, Optional ByVal WorkPath As String, Optional ByVal Window_Style As Integer, Optional ByVal IconNum As Integer)
  10.  
  11. Dim VbsObj As Object
  12. Set VbsObj = CreateObject("WScript.Shell")
  13.  
  14. Dim MyShortcut As Object
  15. ShortCutPath = VbsObj.SpecialFolders(ShortCutPath)
  16. Set MyShortcut = VbsObj.CreateShortcut(ShortCutPath & "\" & ShortCutname & ".lnk")
  17. MyShortcut.TargetPath = TargetPath
  18. MyShortcut.WorkingDirectory = WorkPath
  19. MyShortcut.WindowStyle = Window_Style
  20. MyShortcut.IconLocation = TargetPath & "," & IconNum
  21. MyShortcut.Save
  22.  
  23. End Sub