PRivateDeclareFunctionfCreateShellLinkLib"STKIT432.DLL"(ByVallpstrFolderNameAsString,ByVallpstrLinkNameAsString,ByVallpstrLinkPathAsString,ByVallpstrLinkArgsAsString)AsLong
SubPerintah1_Klik()
DimlReturnAsLong
'Tambahkan ke desktop
lReturn=fCreateShellLink("../../Desktop","ShortcuttoCalculator","c:/windows/calc.exe","")
'Tambahkan ke grup program
lReturn=fCreateShellLink("","Pintasan ke Kalkulator","c:/windows/calc.exe","")
'Tambahkan ke grup startup
lReturn=fCreateShellLink("/Startup","ShortcuttoCalculator","c:/windows/calc.exe","")
Sub Akhir->