
[VB6] 用call shell()的方式開啟網頁,會出現捷徑錯誤的訊息


這是開啟網頁的副程式
Function openUrl(URL As String)
Dim str As String
str = "rundll32.exe shdocvw.dll,OpenURL " & URL
Call Shell(str)
End Function
這是呼叫副程式開啟網頁的語法:
Call openUrl(strHomePage)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.139.181.170
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章