|
-
October 17th, 2001, 10:36 AM
#1
Easy Question
I am very new to VB and I have written a SQL-DMO app that has a GUI interface and a command line interface. I have created a SUB main and made it the startup. Here it is
Sub Main()
' If there is a command line, then this is batch mode
If Len(Command$()) Then
' Parse and run the command line
RunCommand
frmRun.Hide
Else
MainForm.Show
End If
End Sub
Problem is after the frmRun.Hide, the form hides but the exe keeps running. What do I do?
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|