vb应用程序做为系统服务

本文介绍了如何在Windows 9x和NT/2000系统下将VB应用程序设置为服务。在9x系统中,只需在注册表相应位置添加程序路径;而在NT/2000系统中,需要安装SRVANY.exe并配置服务属性,包括启动类型、账户权限,以及通过注册表指定应用及其参数。
摘要由CSDN通过智能技术生成
1.在windows 9x系统下做为服务
   运行regedit
  HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Runserive
 新建reg_sz类型的字符串标题随意,值为要做为服务的程序完整路径名包括文件名和扩展名。
2.在windows nt及 windows 2000下做为服务
Installation:

-> Copy SRVANY.EXE to your system and install it as a Windows NT?service, for example:
    INSTSRV MyService c:/tools/srvany.exe
-> configure via the Services applet ("Startup..." dialog) of the Control Panel as manual or automatic, as appropriate.
-> set via the Services applet ("Startup..." dialog) of the Control Panel the account for the service. If you need access to the screen & keyboard, you must choose the LocalSystem account and click the "Allow Service to Interact with Desktop", otherwise choose any account and specify the correct logon password. Note that the LocalSystem account doesn't have network access.


Specifying the application to sta
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值