-
有源码事例,还有说明.一看就明白,
一,把"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
-
户外的开放源代码的软件产品,没有中文版。我们有骗局…
开源软件产品Alfresco没有中文版。我们在其英文版的基础上进行了翻译。-Alfresco open source software products, there is no Chinese version. We have conducted on the basis of their English translation.
- 2022-11-28 17:15:03下载
- 积分:1
-
库存管理系统
应用背景特征---------------在文件中添加项目显示所有项目在库存中查找特定项目修改库存项目的状态删除库存项目存货项目分析关键技术它是基于库存管理小型项目TurboC图形。这是工程学院的学生以及大师MCA - mscit非常有用…更多
- 2022-03-17 09:25:40下载
- 积分:1
-
one very simple game of pool, use the direction keys to control plate at about m...
一款非常简单的撞球游戏,使用方向键控制板块左右弹动小球即可得分。-one very simple game of pool, use the direction keys to control plate at about moving the ball can score.
- 2022-02-06 10:27:34下载
- 积分:1
-
basica program eg,to
upload
basica program eg,to
upload-basica program eg, to upload
- 2023-01-23 20:50:03下载
- 积分:1
-
中国科技大学计算机科学系的PRA…
中国科技大学计算机系的并行计算实践的PPT,主要讲解了并行计算-Department of Computer Science University of Science and Technology of China practice of parallel computing PPT, mainly on the parallel computing
- 2022-02-07 09:38:14下载
- 积分:1
-
算法
单链表c++算法实现-Algorithm
- 2022-08-22 16:52:59下载
- 积分:1
-
这个是采用欧氏距离下的K
这个是采用欧氏距离下的K-means算法的matlab实现-this is the Euclidean distance between the K-means algorithm to achieve the Matlab
- 2023-04-25 19:35:03下载
- 积分:1
-
常用元器件PCB封装大全,包含各种常用器件的封装,给设计带来方便...
常用元器件PCB封装大全,包含各种常用器件的封装,给设计带来方便-Encyclopedia of components commonly used PCB package, including a variety of commonly used device package, designed to bring convenience to
- 2022-03-13 02:04:46下载
- 积分:1
-
五个C++程序源代码
五个C++程序源代码-5 C source code
- 2022-03-20 08:32:26下载
- 积分:1