Advertisement
ASP_Volume3 VB function enhancement #60830

Close all forms within a project.

Add this code to a module and simply use CloseAll to unload all forms in your project.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Sub CloseAll()
On Error Resume Next
Dim intFrmNum As Integer
 intFrmNum = Forms.Count
Do Until intFrmNum = 0
 Unload Forms(intFrmNum - 1)
 intFrmNum = intFrmNum - 1
Loop
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine