-
有源码事例,还有说明.一看就明白,
一,把"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
-
使用java编写的足球游戏,非常有意思,适合学习!
使用java编写的足球游戏,非常有意思,适合学习!-prepared by the use of football games, very interesting, suitable for learning!
- 2022-02-12 00:03:50下载
- 积分:1
-
字母排序,在对一个C程序进行编译的过程中,可发现注释中的拼写错误...
字母排序,在对一个C程序进行编译的过程中,可发现注释中的拼写错误-Alphabetical order, in the process of a C compiler, the Notes can be found in the spelling errors
- 2022-02-26 13:24:07下载
- 积分:1
-
华为内部程序设计培训,对c++语言规范的一些解释说明。
华为内部程序设计培训,对c++语言规范的一些解释说明。-Huawei internal procedures in designing the training, the c++ Language specification of a number of explanations.
- 2022-03-07 02:23:15下载
- 积分:1
-
Ellipse fitting to introduce the relevant mathematical calculations and methods,...
椭圆拟合的相关介绍与数学运算方法,包括说明文档及源码、和测试数据-elliptical fitting related presentations and mathematical methods, including documentation, and -Ellipse fitting to introduce the relevant mathematical calculations and methods, including documentation and source code, and test data-elliptical fitting related presentations and mathematical methods, including documentation, and
- 2022-03-30 12:58:00下载
- 积分:1
-
大黄页系统,精致的黄色的flash演示,10m
大型黄页系统,精美黄页flash演示,10m-Large yellow pages systems, exquisite yellow flash presentation, 10m
- 2023-05-14 14:00:06下载
- 积分:1
-
This is learning "system" in the curriculum design, including the subj...
这是学习《操作系统》后的课程设计报告,包括题目、程序流程图、和源程序代码-This is learning "system" in the curriculum design, including the subject, the process flow diagram, and source code
- 2022-09-02 15:55:02下载
- 积分:1
-
发一点图片,在开发软件中需要的
发一点图片,在开发软件中需要的-hair 1:00 pictures, in the development of software
- 2022-03-31 21:54:47下载
- 积分:1
-
自动化过程中用到的运动控制器,编程例子,介绍运动控制函数的使用...
自动化过程中用到的运动控制器,编程例子,介绍运动控制函数的使用-Automation of the process used in the motion controller, programming examples, introduce the use of motion control functions
- 2022-06-26 13:05:40下载
- 积分:1
-
I2C芯片的读写程序
I2C芯片的读写程序-I2C chip reader procedures
- 2023-06-07 11:00:03下载
- 积分:1