-
有源码事例,还有说明.一看就明白,
一,把"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
-
酷客-Coidea970开发板用户手册(Linux) V1.00
说明: 酷客NUC970的BSP Linux操作手册,适合学习应用,希望对你有所帮助。(The BSP Linux Operation Manual of KUKE nuc970 is suitable for learning applications. I hope it can help you.)
- 2020-04-29 07:03:46下载
- 积分:1
-
FDTD-2D柱坐标
柱坐标系下利用FDTD计算偶极天线的电场分布(Calculation of electric field distribution of dipole antenna by FDTD in cylindrical coordinate system)
- 2021-05-15 13:30:02下载
- 积分:1
-
saved_vehicles
说明: 纯电动汽车能量制动回收MATLAB建模,适合新能源汽车的学生使用(Matlab modeling of energy brake recovery of pure electric vehicle, suitable for students of new energy vehicles)
- 2020-01-29 17:00:37下载
- 积分:1
-
labview通信
说明: labview UDP TCP 通信实例(labview UDP TCP programs)
- 2021-03-17 16:19:21下载
- 积分:1
-
django
说明: 用django实现用户管理系统的后台包括前端展示,主要功能包括从前端页面直接对数据库进行增删改查,还有登录,身份验证,导入导出excel,增加装饰器实现页面保护,分页等功能,可直接用于向内部展示。(The background of user management system with Django includes front-end display. The main functions include adding, deleting, modifying and checking the database directly from the front-end page, login, authentication, importing and exporting excel, adding decorator to realize page protection, paging and other functions, which can be directly used for internal display.)
- 2019-11-28 17:32:01下载
- 积分:1
-
这个是DEM0451的程序,用于车辆底盘的控制器,非常好用哦,非常好的...
这个是DEM0451的程序,用于车辆底盘的控制器,非常好用哦,非常好的-This is DEM0451 procedures for vehicle chassis controller, very easy to use Oh, very good
- 2022-07-27 22:40:43下载
- 积分:1
-
x64
ACR IS THE BEST OF ALL THE BEST DRIVER
- 2019-01-15 23:04:24下载
- 积分:1
-
从网页中提取内容,取出各种标记,只保留文本内容,生成文本文件。...
从网页中提取内容,取出各种标记,只保留文本内容,生成文本文件。-Extracted from the web site content, remove all kinds of tags, only the text to generate a text file.
- 2023-08-14 12:30:03下载
- 积分:1
-
无线传感器网络仿真+基于Omnet++
说明: 主用用于通信中的MAC层协议的仿真,模拟节点发包、丢包过程(For the simulation of communicate system)
- 2020-03-25 23:34:55下载
- 积分:1