Chinaunix首页 | 论坛 | 博客
  • 博客访问: 649162
  • 博文数量: 107
  • 博客积分: 4135
  • 博客等级: 上校
  • 技术积分: 1182
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-06 16:01
文章分类

全部博文(107)

文章存档

2020年(2)

2012年(5)

2011年(6)

2010年(23)

2009年(17)

2008年(35)

2007年(19)

我的朋友

分类:

2007-09-29 15:54:43

Private   Declare   Function   WNetAddConnection   Lib   "mpr.dll"   Alias   "WNetAddConnectionA"   (ByVal   lpszNetPath   As   String,   ByVal   lpszPassword   As   String,   ByVal   lpszLocalName   As   String)   As   Long  
  Private   Sub   Command1_Click()  
          Dim   rtn   As   Long  
          rtn   =   WNetAddConnection("\\Class05\xxl",   "111",   "")     '111为password  
          FileCopy   "\\Class05\xxl\题目.txt",   "C:\题目.txt"  
  End   Sub  
阅读(1654) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~