-
有源码事例,还有说明.一看就明白,
一,把"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
-
介绍了微波patch天线的基本原理和特性,具体用了gps天线作为例子进行设计推导。...
介绍了微波patch天线的基本原理和特性,具体用了gps天线作为例子进行设计推导。-introduced a microwave antenna patch the basic principles and characteristics with a specific example gps antenna design is derived.
- 2023-06-05 01:35:04下载
- 积分:1
-
kd树类的实现。内部提供了三种搜索方法。
kd树类的实现。内部提供了三种搜索方法。-kd tree class implementation。
- 2023-08-30 21:50:08下载
- 积分:1
-
fuzzy systems for wind has been described in this controller run using matlab
fuzzy systems for wind has been described in this controller run using matlab
- 2022-08-08 21:28:26下载
- 积分:1
-
ISING model的monte carlo 不同温度模拟程序,要用FORTRAN语言程序软件打开...
ISING model的monte carlo 不同温度模拟程序,要用FORTRAN语言程序软件打开-ISING model of monte carlo simulation program at different temperatures, using FORTRAN language software Open
- 2023-02-24 06:55:03下载
- 积分:1
-
c写的经典贪吃蛇游戏,dos下运行的经典。
c写的经典贪吃蛇游戏,dos下运行的经典。-c write the classic Snake game, dos run under classic.
- 2023-06-06 13:05:04下载
- 积分:1
-
PIC ASM工具mpasmwin5.14
PIC ASM TOOL MPASMWin5.14
- 2022-05-21 15:24:22下载
- 积分:1
-
embedded systems theory and interface technology, high courseware can be used to...
嵌入式系统原理与接口技,很高的可课件
用power point 可open-embedded systems theory and interface technology, high courseware can be used to be open power point
- 2022-02-03 16:15:25下载
- 积分:1
-
A generic list of one
一个通用单向循环链表管理程序,有了它,无论你的应用程序里要处理多少种类的单向循环链表,都可以用它轻松实现链表节点的添加、删除、排序等操作-A generic list of one-way cycle management process, with it, no matter where your application to deal with the number of types of one-way circulation list, you can use it to easily add nodes list, delete, sort, such as operation
- 2022-06-29 15:35:07下载
- 积分:1
-
重点讲解正则表达式的用法,用以实现全文搜说的表达式定义。...
重点讲解正则表达式的用法,用以实现全文搜说的表达式定义。-The usage of the regular expression is discussed in detail in order to offer appropriate reference to the search engine development.
- 2022-01-26 03:57:29下载
- 积分:1