-
有源码事例,还有说明.一看就明白,
一,把"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
-
hen hao de ,qing da jia shiyong
hen hao de ,qing da jia shiyong
- 2022-08-18 20:23:40下载
- 积分:1
-
吉林大学时小虎老师机器学习课件――介绍动态规划
吉林大学时小虎老师机器学习课件――介绍动态规划-Jilin University, when the Tigers a teacher machine learning courseware- Introduction Dynamic Programming
- 2022-09-02 18:55:03下载
- 积分:1
-
实现求解二次方程的程序,需先输入正确密码
实现求解二次方程的程序,需先输入正确密码-The realization of the procedure for solving quadratic equations, need to first enter the correct password
- 2023-01-22 17:40:04下载
- 积分:1
-
给出小波去噪的理论,在MATLAB中实现阈值估算和消噪的函数,并给出例子说明。...
给出小波去噪的理论,在MATLAB中实现阈值估算和消噪的函数,并给出例子说明。-Given the theory of wavelet denoising in MATLAB to achieve the threshold estimation and de-noising function, and gives examples to illustrate.
- 2023-06-20 22:00:03下载
- 积分:1
-
使用铅来读取和写入XML文件。非常方便的小程序,用T。
利用PB读写xml文件。很方便的小程序,用PB方便快捷的对xml进行读写。-The use of PB to read and write xml file. Very convenient little program, with the PB convenient to read and write to the xml.
- 2023-03-30 19:50:03下载
- 积分:1
-
在。NET中,体现了与数据库相结合的强大威力!值得借鉴
在。NET中,体现了与数据库相结合的强大威力!值得借鉴-在. NET, the database reflects a combination of power! Worth learning
- 2023-08-15 01:25:04下载
- 积分:1
-
计算机组成原理试题13,提供给在校学生,或者考研需要者,希望能提供一些帮助...
计算机组成原理试题13,提供给在校学生,或者考研需要者,希望能提供一些帮助-Principles of Computer Organization Test 13, made available to students at school, or study section for those who need it, hoping to provide some help
- 2022-05-21 16:27:52下载
- 积分:1
-
jsp to learn basic knowledge about some basic knowledge of jsp, suitable for beg...
jsp基础知识学习,讲述一些jsp的基本知识,适于初学者。-jsp to learn basic knowledge about some basic knowledge of jsp, suitable for beginners.
- 2023-05-23 11:45:03下载
- 积分:1
-
MIMO
MIMO-OFDM仿真程序,包含完整的信道仿真程序,信道估计程序-MIMO-OFDM simulation program, including a complete simulation program channel, channel estimation procedures
- 2023-03-28 02:10:03下载
- 积分:1