找回密码
 加入
搜索
楼主: zhangjianfir1

如何在win 7系统下连接到指定路由

 火.. [复制链接]
发表于 2010-2-6 12:35:50 | 显示全部楼层
本帖最后由 gapkiller 于 2010-2-6 16:10 编辑
_Wlan_StartSession()
dim $Profile[9]
$Profile[0] = ssid ; such as "my wlan"
$Profile[1] = "Infrastructure"
$Profile[2] = "Automatic"
$Profile[3] = "Open"
$Profile[4] =  "WEP"
$Profile[5] =  "802.1x Disabled"
$Profile[6] =  "Network Key"
$Profile[7] =  "13714544640"
$Profile[8] =  "1"
_Wlan_SetProfile(-1, -1, $Profile)
_Wlan_Scan(-1, -1)
_Wlan_Connect(-1, -1, $Profile[0])  ;$Profile[0]即ssid
_Wlan_EndSession(-1)
codes above for your references.
If you still don't get the point , my msn:geaping@yahoo.com.cn
发表于 2010-2-6 12:47:33 | 显示全部楼层
学习一下......
 楼主| 发表于 2010-2-6 13:07:26 | 显示全部楼层
gapkiller老兄,按照您的步骤已实现无线网络的自动连接与断开功能;
但我需要在连接无线路由之前先判断机器有没有无线网卡?当然,无线网卡可能有不同厂家不同型号的,
这个怎么实现呢?
发表于 2010-2-6 13:25:30 | 显示全部楼层
判断_Wlan_StartSession()的@error
 楼主| 发表于 2010-2-6 14:56:38 | 显示全部楼层
搞定,多谢gapkiller老兄,之前在论坛发帖名为“XP下的摄像头预览脚本在WIN7下面反复多次运行有问题”
还请您帮忙解决!
发表于 2010-2-6 16:07:40 | 显示全部楼层
我没有复制到你所说的现象哦
 楼主| 发表于 2010-2-6 19:21:42 | 显示全部楼层
gapkiller老兄,能否把您win 7下面的摄像头预览脚本共享一下,我在我机器上测试看看!
发表于 2010-2-6 21:55:06 | 显示全部楼层
就是PCbar发布的那个. 我没有在win7下试过.
 楼主| 发表于 2010-2-8 08:15:42 | 显示全部楼层
恩,我也用的他那个,的确在WIN7下运行有点问题,您反复运行多次,就会发现问题了,如果您有win7系统的话 请试试,多谢
发表于 2010-2-8 15:03:32 | 显示全部楼层
回复  gapkiller


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



    无语中
发表于 2010-2-8 18:10:36 | 显示全部楼层
没看明白
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-22 13:43 , Processed in 0.079991 second(s), 15 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表