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

📄 16340.html

📁 VB技巧问答10000例 VB技巧问答10000例
💻 HTML
字号:
<html>
  <head>
    <title>用Unload结束程式,但却仍在背景中执行,哪里错了?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>用Unload结束程式,但却仍在背景中执行,哪里错了?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by 新手 on July 29, 1999 at 02:27:09:<p>
一共有三个Form1,Form2 and From3只要不用都Unload掉,要用时再Show,结束程式用Unload没用End。结束程式时Unload主表单Form1时,不管Fomr2,Form3是Show,Hide 或早已Unload,全部在主表单Form1之Unload事件程序中都设定:<p>Set Form2=Nothing  'Form2 之Unload事件程序中也设定Set Form2=Nothing<br>Unload Form2<br>Set Form3=Nothing  'Form3之Unload事件程序中也设定Set Form3=Nothing<br>Unload Form3<br>Set Form1=Nothing<br>Unload Form1<br>制成.exe档执行时有时虽然结束程式,萤幕上看不到程式或其图示,但再执行时却出现该程式已在执行中(程式码有设定侦测)。请问为何有时结束不了?
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 16340-->
<!--top: 16343--><li><a href="16343.html">写反了吧!</a> <b>小吴</b> <i>08:25:18 7/29/99</i>
(<!--responses: 16343-->2)
<ul><!--insert: 16343-->
<!--top: 16344--><li><a href="16344.html">Set FormName = Nothing  ,非[Basic}语法之程式码?</a> <b>新手</b> <i>09:30:22 7/29/99</i>
(<!--responses: 16344-->1)
<ul><!--insert: 16344-->
<!--top: 16524--><li><a href="16524.html">Re: Set FormName = Nothing  ,非[Basic}语法之程式码?</a> <b>C.T.Wang</b> <i>18:12:32 8/02/99</i>
(<!--responses: 16524-->0)
<ul><!--insert: 16524-->
</ul><!--end: 16524-->
</ul><!--end: 16344-->
</ul><!--end: 16343-->
</ul><!--end: 16340-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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