Internet代理设置 [英] Internet Proxy Settings

查看:127
本文介绍了Internet代理设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我只想问一下是否有办法检查当前的价值是多少局域网设置代理服务器正在使用VBA?

I just want to ask if there is a possible way to check what the current value of the LAN Settings Proxy server is using VBA?

***新手***

推荐答案

这有用吗?

http://vbnet.mvps.org/index.html?code/network/internetgetconnectedstate.htm

将所有代码放入普通模块并替换Sub Command1_Click使用此

Put all the code in a normal module and replace Sub Command1_Click with this

Private Sub Test()

Debug.Print "IsNetConnectViaLAN", IsNetConnectViaLAN()
Debug.Print "IsNetConnectViaModem", IsNetConnectViaModem()
Debug.Print "IsNetConnectViaProxy", IsNetConnectViaProxy()
Debug.Print "IsNetConnectOnline", IsNetConnectOnline()
Debug.Print "IsNetRASInstalled", IsNetRASInstalled()
Debug.Print "GetNetConnectString", GetNetConnectString()

End Sub

另见"相关"链接

Peter Thornton

Peter Thornton


这篇关于Internet代理设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆