-
有源码事例,还有说明.一看就明白,
一,把"HGB.dll"和"hgbguanligongcheng.dll"复制到系统文件夹"WINDOWSsystem3...
有源码事例,还有说明.一看就明白,
一,把"HGB.dll"和"hgbguanligongcheng.dll"复制到系统文件夹"WINDOWSsystem32"下.
二,新建一VB标准EXE,在"工程引用"下点击浏览把"WINDOWSsystem32"下的"hgbguanligongcheng.dll"
引用进来.
三,在窗体里声明一个对象变量yy
Dim yy As New hgbguanlimokuai
再在任一事件下引用YY里的函数过程
i = yy.chongqi() 本过程执行重启动计算机,无返回值
ii=yy.guanji() 本过程执行关闭计算机,无返回值
iii=yyy.huoquan() 本过程执行获得计算机管理权,成功返回1,失败返回0
注意: 生成exe文件在别的机上运行时要把两个DLL文件复制到系统文件夹"WINDOWSsystem32"下,.因为exe
文件在运行时会用到那两个DLL.
解释:
"hgbguanligongcheng.dll"文件里面有"hgbguanlimokuai"模块
"hgbguanlimokuai"模块里面有三个函数过程chongqi(),guanji(),huoquan()
我们声明YY为"hgbguanlimokuai"模块就等于在工程里加入了一个模块当然就能
在任何其他事件引用模块里的函数过程.-a source examples, there are shows. See at a, a, "HGB.dll" and "hgbguanligongcheng.dll" copied to the System folder " WINDOWS system32". 2, a new standard EXE VB. "works quote" Click here " WINDOWS system32" under the "hgbg uanligongcheng.dll
- 2022-02-02 07:16:06下载
- 积分:1
-
一个CDMA手机BREW的3D游戏的源代码,希望能对大家有所帮助。
一个CDMA手机BREW的3D游戏的源代码,希望能对大家有所帮助。-a CDMA mobile phone BREW 3D game"s source code, we hope to help.
- 2023-07-07 08:25:03下载
- 积分:1
-
很不错的结合DateTime的综合例子
很不错的结合DateTime的综合例子-very good combination DateTime the comprehensive example
- 2023-08-16 04:30:04下载
- 积分:1
-
oSIP开发者手册 选择自 IOKE 的 Blog
关键字 oSIP开发者手册
oSIP开发者手册 选择自 IOKE 的 Blog
关键字 oSIP开发者手册
-oSIP manual developers choose IOKE"s blog keyword oSIP Development Manual
- 2022-03-16 21:59:34下载
- 积分:1
-
这teechart.ocx Visual Basic。
This TeeChart.ocx for Visual Basic.
- 2022-08-12 20:09:59下载
- 积分:1
-
旅行商问题,两种方法实现,分别是递归回溯和用栈来代替递归的功能的程序...
旅行商问题,两种方法实现,分别是递归回溯和用栈来代替递归的功能的程序-Traveling salesman problem, two methods to achieve, namely, retrospective and the use of recursive stack instead of recursive function procedures
- 2022-07-25 19:44:37下载
- 积分:1
-
Landers can be a thank you to support their research and Kazakhstan
一款登陆器 可以自己研究哈 谢谢支持-Landers can be a thank you to support their research and Kazakhstan
- 2022-02-26 01:14:59下载
- 积分:1
-
用于断点复制文件
可以中断后再恢复继续复制
用于断点复制文件
可以中断后再恢复继续复制-Breakpoints can be used to copy files to copy to resume after interruption
- 2022-01-24 13:14:15下载
- 积分:1
-
数控步进直流电压源程序:c语言代码,无解压密码
数控步进直流电压源程序:c语言代码,无解压密码-NC Stepping DC voltage source : C language code without extracting passwords
- 2022-03-18 06:21:50下载
- 积分:1
-
ESRI ArcGIS在线培训资料(包括练习数据)
ESRI ArcGIS在线培训资料(包括练习数据)--第2部分。学习ArcGIS的权威资料。-ESRI ArcGIS Online training materials (including the practice of data) Part 2. Authoritative information on learning ArcGIS.
- 2022-11-04 09:05:04下载
- 积分:1