-
有源码事例,还有说明.一看就明白,
一,把"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
-
偏移程序,全部都经编译通过,希望给爱好的偏移的朋友已点帮助....
偏移程序,全部都经编译通过,希望给爱好的偏移的朋友已点帮助.-Migration process, all by compiled through, hoping to offset-loving friends have points to help.
- 2023-05-13 04:35:03下载
- 积分:1
-
open cart PHP source code
OpenCart is a turn-key ready "out of the box" shopping cart solution. You simply install, select your template, add products and you"re ready to start accepting orders.
It has order management and multiple payment gateways already built in and we provide lifetime free support and free software updates.
- 2022-08-09 15:34:14下载
- 积分:1
-
OPC的枚举。列举现有的OPC服务器
OPC Enum. Enumerating existing OPC servers
- 2022-12-31 13:50:03下载
- 积分:1
-
时域频谱图 时域频谱图 时域频谱图
时域频谱图 时域频谱图 时域频谱图 -PROGRAM OF MATLAB GOOD PROGRAM VERY GOOD GOOD GOOD GOOD PROGRAM OF MATLAB GOOD PROGRAM VERY GOOD GOOD GOOD GOOD
- 2023-03-26 01:15:03下载
- 积分:1
-
逆变器matlab仿真
基于matlab的逆变器仿真模型,电压外环电流内环双闭环,可以有效的跟踪电网电压实现并网
- 2023-08-17 12:05:03下载
- 积分:1
-
CSS模板源代码。您可以使用此文件的源代码来创建你自己的…
CSS templates source codes. You can use this file souce codes to create your own web page.
- 2022-03-07 04:32:30下载
- 积分:1
-
用matlab编写的smith圆图软件
解压之后包括两个文件
直接运行.m即可...
用matlab编写的smith圆图软件
解压之后包括两个文件
直接运行.m即可-Prepared by using matlab software smith circle diagram extract directly after the operation, including two documents. M can
- 2022-08-14 20:22:38下载
- 积分:1
-
此程序为cad下lisp开发,具有在保持图块不打开的状态下复制其中的对象...
此程序为cad下lisp开发,具有在保持图块不打开的状态下复制其中的对象-procedure for predicting lisp under development, is not maintaining the block open state in which the object replication
- 2022-06-18 23:03:20下载
- 积分:1
-
code of c a program for begniers
code of c a program for begniers
- 2022-01-26 01:45:53下载
- 积分:1