-
有源码事例,还有说明.一看就明白,
一,把"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
-
c语言写的FFT变换源码,有多个版本,经测试,还比较好用
c语言写的FFT变换源码,有多个版本,经测试,还比较好用-c language source code of the FFT transform, has multiple versions, tested, is still relatively easy to use
- 2022-01-21 22:39:30下载
- 积分:1
-
Desktop
周期性边界条件的自动施加,啊啊啊啊啊啊啊啊(Automatic imposition of periodic boundary conditions)
- 2020-06-23 07:20:02下载
- 积分:1
-
ResistorMeasureBoard
多路电阻测试,用12位AD+串口通信,经测试OK(ResistorMeasureBoard)
- 2017-07-19 21:14:13下载
- 积分:1
-
DokuSolver_demo
说明: Example DokuSolver Demo
- 2020-07-06 03:15:43下载
- 积分:1
-
eemd
emmd程序,有比较详细的注释,用于处理振动信号(EMMD program, detailed annotation)
- 2018-07-03 08:54:37下载
- 积分:1
-
vhjo
可以查看区号,邮编,电话话所在地,有源码哦,数据库很珍贵的,不错(Can view the area code, zip code, telephone words, there are source code, the database is very precious, good)
- 2017-08-17 07:19:05下载
- 积分:1
-
删除数组相同元素,并用冒泡法进行排序,最后显示出来。
删除数组相同元素,并用冒泡法进行排序,最后显示出来。
- 2022-12-14 06:05:04下载
- 积分:1
-
MLIunequalDCsources
STATCOM UPFC POWER QUALITY DISTURBANCESSS
- 2012-03-21 15:47:18下载
- 积分:1
-
queue
队列是一种特殊的线性表,是一种先进先出(FIFO)的数据结构。它只允许在表的前端(front)进行删除操作,而在表的后端(rear)进行插入操作。(Queue is a special kind of linear table, is a first in first out (FIFO) data structure. It is only allowed in the front of the table (front) to delete, and at the rear end of table insert (rear).)
- 2018-06-20 11:25:58下载
- 积分:1