史萊姆論壇

史萊姆論壇 (http://forum.slime.com.tw/)
-   程式語言討論區 (http://forum.slime.com.tw/f76.html)
-   -   如何讓VB6.0開啟自己寫的網頁 (http://forum.slime.com.tw/thread250494.html)

chung1206 2009-07-15 01:53 PM

如何讓VB6.0開啟自己寫的網頁
 
各位先進們好,我在VB6裡做一個按鈕,希望按下去後能開啟我做的網頁,我是這樣寫的,
Private Sub user_Click()
Shell "Explorer index.html"
End Sub

另外我想做一個瀏覽光碟內容的按鈕,但也是失敗了,謝謝。
Private Sub Command4_Click()
Shell "\"
End Sub

不知該怎麼做才好,謝謝各位大大。

mini 2009-07-16 03:20 PM

Shell "C:\Program Files\Internet Explorer\iexplore.exe " & "http://forum.slime.com.tw/thread250494.html#post2175902", vbNormalFocus

Shell "c:\windows\explorer.exe" & " c:\", vbNormalFocus


所有時間均為台北時間。現在的時間是 01:46 AM

Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2025, Jelsoft Enterprises Ltd.

『服務條款』

* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *


SEO by vBSEO 3.6.1