gapkiller 发表于 2010-2-6 12:35:50

本帖最后由 gapkiller 于 2010-2-6 16:10 编辑


_Wlan_StartSession()
dim $Profile
$Profile = ssid ; such as "my wlan"
$Profile = "Infrastructure"
$Profile = "Automatic"
$Profile = "Open"
$Profile ="WEP"
$Profile ="802.1x Disabled"
$Profile ="Network Key"
$Profile ="13714544640"
$Profile ="1"
_Wlan_SetProfile(-1, -1, $Profile)
_Wlan_Scan(-1, -1)
_Wlan_Connect(-1, -1, $Profile);$Profile即ssid
_Wlan_EndSession(-1)
codes above for your references.
If you still don't get the point , my msn:geaping@yahoo.com.cn

lxz 发表于 2010-2-6 12:47:33

学习一下......

zhangjianfir1 发表于 2010-2-6 13:07:26

gapkiller老兄,按照您的步骤已实现无线网络的自动连接与断开功能;
但我需要在连接无线路由之前先判断机器有没有无线网卡?当然,无线网卡可能有不同厂家不同型号的,
这个怎么实现呢?

gapkiller 发表于 2010-2-6 13:25:30

判断_Wlan_StartSession()的@error

zhangjianfir1 发表于 2010-2-6 14:56:38

搞定,多谢gapkiller老兄,之前在论坛发帖名为“XP下的摄像头预览脚本在WIN7下面反复多次运行有问题”
还请您帮忙解决!

gapkiller 发表于 2010-2-6 16:07:40

我没有复制到你所说的现象哦

zhangjianfir1 发表于 2010-2-6 19:21:42

gapkiller老兄,能否把您win 7下面的摄像头预览脚本共享一下,我在我机器上测试看看!

gapkiller 发表于 2010-2-6 21:55:06

就是PCbar发布的那个. 我没有在win7下试过.

zhangjianfir1 发表于 2010-2-8 08:15:42

恩,我也用的他那个,的确在WIN7下运行有点问题,您反复运行多次,就会发现问题了,如果您有win7系统的话 请试试,多谢

nmgwddj 发表于 2010-2-8 15:03:32

回复gapkiller


    兄弟还是把头像换了吧,据不少网友反映,看见你的头像口很干,我也测试了,结果 ...
afan 发表于 2010-2-5 23:28 http://www.autoitx.com/images/common/back.gif


    无语中:face (13):

rikthhpgf2005 发表于 2010-2-8 18:10:36

没看明白:face (15):
页: 1 [2]
查看完整版本: 如何在win 7系统下连接到指定路由