This runs fine in the IDE but when I compile it and run it... I dont get the case select question... the program just exits after the Call is finished... Anyone have any ideas?

VB Code:
  1. Private Sub Form_Activate()
  2.     Dim SaveName As String
  3.    
  4.     SaveName = "c:\auto.bat"
  5.     Set FSOFolder = MyFSO.GetFolder("d:\")
  6.     Call RecurseDirs(FSOFolder)
  7.     lblFile.Caption = "Scan Complete"
  8.      
  9.     Select Case MsgBox("Scan is now complete Notify Network Administrator?" vbYesNo
  10.     Case vbYes
  11.         Open SaveName For Output As #1
  12.             Print #1, "Yes... Notify Admin"
  13.         Close #1
  14.             Call MsgBox("Thank you for your time.", vbInformation + vbDefaultButton1, "")
  15.             End
  16.  
  17.     Case vbNo
  18.         Open SaveName For Output As #1
  19.             Print #1, "No... Don't Notify Admin"
  20.         Close #1
  21.             Call MsgBox("Thank you for your time.", vbInformation + vbDefaultButton1, "")
  22.            End
  23.     End Select
  24.    
  25. End Sub


Thanks