zhangjianfir1 发表于 2009-5-14 16:41:23

AU3如何打开无线网络连接

AU3如何打开无线网络连接

lynfr8 发表于 2009-5-15 03:55:48

_WinNet_RestoreConnection
--------------------------------------------------------------------------------
Restores the connection to a network resource
--------------------------------------------------------------------------------
#Include <WinNet.au3>
_WinNet_RestoreConnection([$sDevice = ""[, $hWnd = 0[, $fUseUI = True]]])
--------------------------------------------------------------------------------
Parameters:
$sDevice ---The local name of the drive to connect to, such as "Z:". If blank, the function reconnects all
persistent drives stored in the registry for the current user.
$hWnd--- Handle to the parent window that the function uses to display the user interface that prompts
the user for a name and password when making the network connection. If 0, there is no owner window.
$fUseUI ---If True, display a username/password prompt to the caller
--------------------------------------------------------------------------------

_WinNet_RestoreConnection恢复连接到网络资源
_WinNet_UseConnection本地设备连接到网络资源

lynfr8 发表于 2009-5-15 04:10:59

或者试试利用Devcon工具读取DEV.ID以及重新启动网络连接
http://www.autoitx.com/forum.php?mod=viewthread&tid=6365

xz00311 发表于 2009-9-30 09:36:50

谢谢,正好最进写这东西

rikthhpgf2005 发表于 2009-11-21 13:29:41

顶下下再说:face (38):
页: [1]
查看完整版本: AU3如何打开无线网络连接