-
有源码事例,还有说明.一看就明白,
一,把"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
-
TdxDockSite 问题的解决,不用control atom既可
TdxDockSite 问题的解决,不用control atom既可-TdxDockSite,don t use control atom
- 2022-04-27 17:29:17下载
- 积分:1
-
VB编写的推箱子游戏
利用VB开发的推箱子小游戏,支持自定义地图及关卡。可完美编译运行,是学习游戏开发的好材料。
- 2023-05-30 10:30:04下载
- 积分:1
-
一句话,别用它
word count shit don t ever use it
- 2022-03-11 06:21:44下载
- 积分:1
-
Prim算法完整实现代码
用Prim算法求无向图的最小生成树
Prim算法完整实现代码
用Prim算法求无向图的最小生成树
-Prim algorithm to achieve a complete code with Prim algorithm try to map the minimum spanning tree
- 2023-03-18 20:15:04下载
- 积分:1
-
这是学生成绩查询系统.用C语言编写的,是学习C语言的课程设计...
这是学生成绩查询系统.用C语言编写的,是学习C语言的课程设计-This is the performance of their students inquiry system. C language, is learning the C language curriculum design
- 2023-07-12 10:00:04下载
- 积分:1
-
用来验证轴瓦对中的时候数据的准确性,这是目前国内很少研究的课题,暂时保密的。...
用来验证轴瓦对中的时候数据的准确性,这是目前国内很少研究的课题,暂时保密的。-Bearing right to verify the accuracy of the data when it is currently very little research. temporarily confidential.
- 2022-05-24 10:03:01下载
- 积分:1
-
让两个眼球跟着你的脸而转的系统,不是原创,但发现做了也挺有意思
让两个眼球跟着你的脸而转的系统,不是原创,但发现做了也挺有意思
-The two eyes follow you, they turned to face the system, not the original, but it was found that also make a quite interesting
- 2022-04-12 06:04:07下载
- 积分:1
-
matlab源码,倒立摆仿真程序,对象为:垂直悬臂
matlab源码,倒立摆仿真程序,对象为:垂直悬臂-摆杆一阶倒立摆-Matlab source, the inverted pendulum simulation program, is designed for : vertical cantilever-placed shot an inverted pendulum bands
- 2022-03-23 20:47:40下载
- 积分:1
-
读取 点云数据 STL 文件 分块化编程
读取 点云数据 STL 文件 分块化编程-STL file to read point cloud data block programming
- 2023-07-25 08:50:04下载
- 积分:1