-
有源码事例,还有说明.一看就明白,
一,把"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
-
quite practical flash of the original code, it can provide a lot of information
相当实用的flash原代码,可以提供很多信息
- 2022-05-01 02:31:13下载
- 积分:1
-
C语言编写的,利用最近距离插值发进行网格值插值运算,等价于从新定义数组大小。...
C语言编写的,利用最近距离插值发进行网格值插值运算,等价于从新定义数组大小。-prepared by the C language, the use of distance interpolation for the value interpolation grid operator, equivalent to the new definition of array size.
- 2022-08-17 11:49:03下载
- 积分:1
-
GPU的设计过程,讲到的是从设计到产品的生产的过程
GPU的设计过程,讲到的是从设计到产品的生产的过程-GPU design process, talk about the design of the production process
- 2022-07-04 12:22:17下载
- 积分:1
-
一个求解旅行商问题(TSP)的程序,效果不错,时间还可以
一个求解旅行商问题(TSP)的程序,效果不错,时间还可以-A Traveling Salesman Problem (TSP) program, the effect is true, time can also be
- 2022-04-18 04:21:48下载
- 积分:1
-
这是一个很简单的程序,主要功能是如何实现从2张表中获取数据并进行简单计算...
这是一个很简单的程序,主要功能是如何实现从2张表中获取数据并进行简单计算-This is a very simple procedure, the main function is how to achieve two from the table and access to data in simple terms
- 2022-01-26 01:10:31下载
- 积分:1
-
I am in the online collection of C language source code classic game collection,...
本人在网上搜集的C语言编写的经典小游戏的源码集合,有志于C游戏编程学习的朋友可以选用参考。-I am in the online collection of C language source code classic game collection, game programmers interested in learning C Friend can choose to use reference.
- 2022-04-24 05:19:25下载
- 积分:1
-
使用比较方便的一款液晶字符提取软件。适用于任何字符。
使用比较方便的一款液晶字符提取软件。适用于任何字符。-More convenient use of a LCD Character extraction software. Apply to any character.
- 2023-02-22 01:25:03下载
- 积分:1
-
C++程序供初学者使用
C++程序供初学者使用-C program for beginners
- 2023-06-12 02:55:03下载
- 积分:1
-
贪食蛇游戏经典游戏之一,本程序采用C编程,在TC2.0下通过运行,谢谢大家欣赏...
贪食蛇游戏经典游戏之一,本程序采用C编程,在TC2.0下通过运行,谢谢大家欣赏-pivotal game classic games, the procedures used C programming, by running under WITH TC 2.0, thank you all appreciate
- 2023-01-16 11:45:04下载
- 积分:1