问题描述
我已经在几个论坛上发布了这个问题,但没有回应。所以我想b / b
希望任何知道我在说什么的人请给你
解决方案或建议。
我的问题是我需要检查互联网连接并弹出一个拨号
对话框什么时候没有?
我''我尝试了以下方法:
Dim myReq作为HttpWebRequest
尝试
myReq = WebRequest.Create(" http:// www.yahoo.com/")
myReq.GetResponse()
Catch ex As Exception
-------- -------->这里提示拨号对话框
结束尝试
到目前为止检查部分还可以。但它不能自动拨号或提示
拨号。
我需要你正确的方法来做这个。你的帮助很多
赞赏。谢谢。
Hi, I''ve posted this question on several forum but have no response. So I
hope anyone who have any idea what I''m talking about please give your
solution or advice.
My problem is I need to check the internet connection and pop-up a Dial-Up
dialog when there isn''t any?
I''ve tried the following:
Dim myReq As HttpWebRequest
Try
myReq = WebRequest.Create("http://www.yahoo.com/")
myReq.GetResponse()
Catch ex As Exception
----------------> prompt for Dial-Up dialog here
End Try
The checking part is ok so far. But it can''t automatically dial up or prompt
for dial up.
I need your advice on the correct way in doing this. Your help is much
appreciated. Thanks.
推荐答案
这篇关于检查Internet连接,提示拨号对话框。请帮忙!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!