PB中打開指定網頁的方法

使用ie打開

//Inet linet_base

//this.GetContextService("Internet", linet_base)

//linet_base.HyperlinkToURL(ls_url)

使用shRunDefltBrowser函數可以調用缺省的瀏覽器,打開指定頁面


函數聲明:function long shRunDefltBrowser(string szUrl) library "pbvm90.dll"//這是PB9的
調用方法:shRunDefltBrowser("community.csdn.net")


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章