-
有源码事例,还有说明.一看就明白,
一,把"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
-
EPE.2005.219598
说明: A Fast Power Loss Calculation Method for Long Real Time Thermal
Simulation of IGBT modules for a Three-Phase Inverter System
- 2021-01-13 14:50:59下载
- 积分:1
-
C程序的典型例子900个
C程序的典型例子900个-C procedure typical example 900
- 2023-08-18 13:15:03下载
- 积分:1
-
Turbulence-Stability9783642147661-c2.pdf
Notes on Turbulence and flow stability
- 2017-12-08 14:00:36下载
- 积分:1
-
space
it is the new chaleng for you because is very spacial
- 2017-11-02 18:33:42下载
- 积分:1
-
2
lecture micro controller explain 7 segment
- 2018-11-15 04:13:43下载
- 积分:1
-
在一个连续的多机器人规划生成
Multirobot Plan Generation in a Continuous
Domain: Planning by Use of Plan Graph
and Avoiding Collisions Among Robots
- 2023-02-19 02:55:03下载
- 积分:1
-
虽然这本书有些简单,可是,它包含的内容其实也不少。
简单是因为我不想让它太复杂化,我尽量争取一个游戏程序,不到十面纸。事实也是如此:其中那么多的代码,...
虽然这本书有些简单,可是,它包含的内容其实也不少。
简单是因为我不想让它太复杂化,我尽量争取一个游戏程序,不到十面纸。事实也是如此:其中那么多的代码,有一半是详细的解释。
简单的另一个原因是,一个农民的儿子,我知道学生买一本大书的痛苦。
这本书不同于一般的书的地方在于:它是以游戏的实现为主线,附加一些程序涉及到的其它内容。
-VC++6 Gram Programing
- 2022-01-21 21:49:48下载
- 积分:1
-
K型热电偶MAX6675的驱动程序
K型热电偶MAX6675的驱动程序,此驱动部分已经在产品中使用(K type thermocouple MAX6675 driver, the driver section has been used in the product)
- 2019-04-11 10:59:51下载
- 积分:1
-
SAR
用matlab仿真SAR方向图,并且实现主波束在一定角度范围内扫描的过程。(Simulating SAR pattern with MATLAB .The scanning process of the main beam in a certain angle range is realized.)
- 2019-01-19 15:07:14下载
- 积分:1