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")


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