⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 3981.html

📁 VB技巧问答10000例 VB技巧问答10000例
💻 HTML
字号:
<html>
  <head>
    <title>程式写错了啦!</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>程式写错了啦!</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:yfwu@Iname.com">小吴</a> on July 17, 1998 at 07:54:04:<p>
In Reply to: <a href="3934.html">Re: Service 不可以有使用者介面</a> posted by kiingkong on July 16, 1998 at 11:20:04:<p>
你的程式当然有错呀!<p>1. 在 Install 那段程式里面,你忘了加上 End<br>If Command = "-install" Then <br> .NTService1.StartMode=svcStartAutomatic <br> .NTService1.Interactive = True <br> .NTService1.Install <br> End     ' 这行没加当然会错<br>End If <p>2. 不要跟我说你是用 SrvAny 这个程式,使用这个程式功能比 NtSvc.ocx 差太多了。<p>3. Ntsvc.StartService 这个 method 是告诉这个 OCX 开始要接受 service 送来的事件,而不是自己启动 service。Service 要如何启动应该都是要从 Control Panel 中去设定的。
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 3981-->
</ul><!--end: 3981-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -