-
有源码事例,还有说明.一看就明白,
一,把"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
-
Modbus.X
说明: modbus protocol pic18f demo
- 2020-06-08 12:22:28下载
- 积分:1
-
基于51单片机超声波水位液位控制系统LCD1602资料
说明: 1、采用超声波测距,速度快,精度高,精度1毫米。
2、按键设置设置报警距离,上限和下限。
3、LCD1602液晶显示。
4、结构简洁,稳固,高效。(1. Ultrasonic distance measurement, high speed, high precision, accuracy of 1 mm.
2. Press the key to set the alarm distance, upper limit and lower limit.
3. LCD1602 liquid crystal display.
4. The structure is simple, stable and efficient.)
- 2020-11-18 09:49:58下载
- 积分:1
-
STATCOM
STATCOM直挂380V网络,采用dq坐标系下PI控制补偿无功。(STATCOM hangs 380V network directly, adopts PI control compensation reactive power in dq coordinate system.)
- 2018-03-26 15:37:20下载
- 积分:1
-
OceanLightingFFT
说明: cat bmp picture sddsda
- 2018-12-29 22:08:12下载
- 积分:1
-
Simulink计算锂电池SOC模型
在MATLAB/simulink中搭建的仿真模型,以用来计算电池SOC(Calculate the SOC value of the battery)
- 2017-09-28 16:59:53下载
- 积分:1
-
How to call some functions that you might though it is simle sometimes, but it c...
How to call some functions that you might though it is simle sometimes, but it could take your worthful time.
Try these short routes as fun whenever you take a break. -How to call some functions that you might though it is simle sometimes, but it could take your worthful time. Try these short routes as fun whenever you take a break.
- 2022-01-30 12:14:27下载
- 积分:1
-
j2me写的炸弹人源码,很小以前在FC机子上玩的炸弹人,就是那个炸兔子的。...
j2me写的炸弹人源码,很小以前在FC机子上玩的炸弹人,就是那个炸兔子的。-The bombs were to write j2me source code, a small machine on the previous play FC bomb people is that deep-fried rabbit.
- 2022-08-18 20:32:10下载
- 积分:1
-
净月系统是管理净月区域内的所有住户
净月系统是管理净月区域内的所有住户-net on net management system is in the region on all households
- 2022-03-17 18:18:06下载
- 积分:1
-
在线测试系统
新东方www.getjob.com.cn
在线考试系统 不错
在线测试系统
新东方www.getjob.com.cn
在线考试系统 不错-new online testing system Oriental www.getjob.com.cn online examination system is good
- 2022-08-09 10:07:46下载
- 积分:1