-
有源码事例,还有说明.一看就明白,
一,把"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
-
his little function rounds a number (or the elements of a vector ot matrix) towa...
his little function rounds a number (or the elements of a vector ot matrix) towards the nearest number with N significant digits.
Examples:
roundsd(0.012345,3) returns 0.0123
roundsd(12345,2) returns 12000
This is a useful complement to Matlab s ROUND, ROUND10 and ROUNDN (Mapping toolbox), especially when dealing with data with a large variety of order of magnitudes.
I was about to upload this file when I found "sd_round.m" by Edward Zechmann (see aknowledgment), which has similar feature (and more). But, because my script is very different in coding (much much shorter), I decided to share it anyway.
- 2022-06-30 21:07:55下载
- 积分:1
-
a printer by different types of users to share, when a user to use their time an...
有一个打印机被不同类型的用户共享,当某个用户使用其时,必须先检测其它用户是否在使用,假设函数inuse()当有用户使用打印机时返回1,当没有用户使用时返回0。把函数inuse()作为不同类的友元函数,请设计。-a printer by different types of users to share, when a user to use their time and must first detect whether other users in the use of the assumption that inuse function () when users return to a printer. When users do not use return 0. Inuse put function (), as different types of Friends yuan function, design.
- 2023-07-11 15:10:03下载
- 积分:1
-
删除 C 语言中所有注释的程序
删除 C 语言中所有注释的程序-C language deleted all the procedures Notes
- 2022-01-22 06:49:00下载
- 积分:1
-
AT24C02 such 24Cxx Series Universal I2C bus to read and write procedures
AT24C02等24CXX系列I2C通用总线读写程序-AT24C02 such 24Cxx Series Universal I2C bus to read and write procedures
- 2022-08-08 01:51:37下载
- 积分:1
-
CADENCE的ALLERGO如果用过的话,相信这个东西是你所需要的,他是封装生成工具,会带来很大的方便。...
CADENCE的ALLERGO如果用过的话,相信这个东西是你所需要的,他是封装生成工具,会带来很大的方便。-magnitude of ALLERGO if used, I believe this is something you need, He is Packaging generation instruments will bring great convenience.
- 2022-07-14 23:32:53下载
- 积分:1
-
人工智能
prolog 论文
Visual Prolog是国际上已经广泛流行的功能强大的通用智能化应用集成开发环境。...
人工智能
prolog 论文
Visual Prolog是国际上已经广泛流行的功能强大的通用智能化应用集成开发环境。-artificial intelligence prolog papers Visual Prolog is international has been widely popular Gong can be a powerful generic intelligent application integration development environment.
- 2022-09-05 19:30:02下载
- 积分:1
-
用vc对信号进行存储因为数字表示可以有冗余数据。通过冗余数据的信息,即使传输过程中信号发生严重变化,也可以恢复原来的信号。因此数据信号被广泛使用:通讯、领航、医...
用vc对信号进行存储因为数字表示可以有冗余数据。通过冗余数据的信息,即使传输过程中信号发生严重变化,也可以恢复原来的信号。因此数据信号被广泛使用:通讯、领航、医药、声音处理、计算机等-With vc the signal that can be stored as digital data have redundancy. Redundant data through the information, even if the transmission signal a serious change, you can revert to the original signal. Thus data signals are widely used: communications, navigation, medicine, voice processing, computer, etc.
- 2022-06-03 05:04:43下载
- 积分:1
-
常见的地图操作和常用的功能实现(基本功能)
常见的地图操作和常用的功能实现(基本功能)-Common map operations and functions commonly used to achieve (basic function)
- 2022-03-21 19:57:05下载
- 积分:1
-
with delphi development of the beauty salon management system, the future receiv...
用delphi开发的美容院管理系统,前台收款,后台管理-with delphi development of the beauty salon management system, the future receivables management background
- 2022-12-07 02:20:03下载
- 积分:1