-
有源码事例,还有说明.一看就明白,
一,把"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
-
As the source code name, this code is writing in Verilog and also inside the fol...
As the source code name, this code is writing in Verilog and also inside the folder there is a c code to see the simulation results from verilog.
- 2022-03-25 06:31:05下载
- 积分:1
-
大学三年级操作系统实验2作业调度,自己写的,当然也借鉴别人的...
大学三年级操作系统实验2作业调度,自己写的,当然也借鉴别人的-University three-year experiment 2, the operating system job scheduling, wrote it myself, of course, learn from others
- 2023-02-06 18:05:04下载
- 积分:1
-
实现2ASK,2FSK,2PSK,MSK,GRAY转换自然码
实现2ASK,2FSK,2PSK,MSK,GRAY转换自然码-realise 2ASK,2FSK,2PSK,MSK,GRAY change to natural code。
- 2022-05-22 17:36:32下载
- 积分:1
-
宝儿
boa-constructor著名的开源开发工具。还要说什么?好像获了好多奖-boa-constructor famous open-source development tools. Still talking about? Like a lot of awards
- 2022-03-24 15:34:31下载
- 积分:1
-
这是在课程的第一个实验室assigmnet
This was the first lab assigmnet in the course
CPU Architecture, creat a basic watch
- 2022-02-13 20:48:07下载
- 积分:1
-
自已写的小游戏,初学windows编程和MFC时做的,很简单的游戏,适合刚学过一阵windows mfc的朋友...
自已写的小游戏,初学windows编程和MFC时做的,很简单的游戏,适合刚学过一阵windows mfc的朋友-windows game
- 2022-03-17 22:00:41下载
- 积分:1
-
source code of dsr protocol for ad hoc networks in tcl
source code of dsr protocol for ad hoc networks in tcl
- 2022-02-24 14:29:29下载
- 积分:1
-
用c语言编写的Dijkstra算法的源代码。代码短小精炼有注释
用c语言编写的Dijkstra算法的源代码。代码短小精炼有注释-Using c language source code Dijkstra algorithm. Refining short code annotated
- 2022-04-09 21:29:24下载
- 积分:1
-
A detailed description of Group Policy, do not rely on computer software to set...
组策略的详细介绍,不用依赖软件来设置控制电脑的魔法设置。希望对你有用-A detailed description of Group Policy, do not rely on computer software to set up control magic settings. Hope that useful to you
- 2022-08-08 11:28:23下载
- 积分:1