-
- 2022-05-15 01:02:21下载
- 积分:1
-
有源码事例,还有说明.一看就明白,
一,把"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
-
模拟MS_DOS...由c++编程实现...运行即可
模拟MS_DOS...由c++编程实现...运行即可-MS_DOS
- 2022-03-25 06:42:27下载
- 积分:1
-
用C++实现使用链表动态分配二维数组
用C++实现使用链表动态分配二维数组...
用C++实现使用链表动态分配二维数组
用C++实现使用链表动态分配二维数组-C realization use dynamic allocation chain C Two-dimensional arrays to achieve dynamic distribution chain using two-dimensional array
- 2022-09-13 21:45:03下载
- 积分:1
-
how to menus 如何使用菜单?
how to menus 如何使用菜单?-how how to use the menus to the menu
- 2022-06-20 04:57:19下载
- 积分:1
-
网站模版
发布基于风讯CMS的各类模版,您可以在这里交流设计经验,也可从此处下载免费的精美风讯模版!...
网站模版
发布基于风讯CMS的各类模版,您可以在这里交流设计经验,也可从此处下载免费的精美风讯模版!-website template-based CMS wind-- the various templates, you can exchange experience in the design, can be downloaded free from here exquisite style templates appear!
- 2023-04-18 16:35:03下载
- 积分:1
-
不错的particle filter的程序,c语言写的,适合对particle filer感兴趣的的初学者和编程人员。...
不错的particle filter的程序,c语言写的,适合对particle filer感兴趣的的初学者和编程人员。-Good particle filter procedure, c language, and suitable for the particle filer interested beginners and programmers.
- 2023-06-11 15:00:04下载
- 积分:1
-
Floyd算法,推荐
Floyd算法,推荐-Floyd algorithm, recommended clamor clamor clamor clamor clamor
- 2022-06-12 15:50:27下载
- 积分:1
-
写了一个小型的推箱子游戏,只有一关,但可推广
写了一个小型的推箱子游戏,只有一关,但可推广-Wrote a small Sokoban game, with only one clearance, but can be extended
- 2022-10-15 19:10:03下载
- 积分:1
-
专业的UML与Visual Studio NET
Professional Uml With Visual Studio Net - Unmasking Visio For Enterprise Architects Code.zip-Professional Uml With Visual Studio Net- Unmasking Visio For Enterprise Architects Code.zip
- 2022-09-23 11:00:03下载
- 积分:1