VERSION 5.00 Begin VB.Form frmExitYesNo Appearance = 0 'Flat BackColor = &H80000005& Caption = "Exit Installation?" ClientHeight = 3000 ClientLeft = 6165 ClientTop = 2985 ClientWidth = 5475 LinkTopic = "Form1" ScaleHeight = 3000 ScaleWidth = 5475 StartUpPosition = 2 'CenterScreen Begin VB.OLE oleExitText Appearance = 0 'Flat BackStyle = 0 'Transparent Class = "Word.Document.8" Height = 1455 Left = 240 OleObjectBlob = "ExitYesNo.frx":0000 TabIndex = 1 Top = 600 Width = 4935 End Begin VB.Label lblExitAreYouSure BackStyle = 0 'Transparent Caption = "Are you sure you want to exit?" BeginProperty Font Name = "Perpetua" Size = 18 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 495 Left = 120 TabIndex = 0 Top = 120 Width = 4815 End Begin VB.Image cmdNoExit Height = 495 Left = 3840 Picture = "ExitYesNo.frx":5218 Stretch = -1 'True Top = 2280 Width = 1335 End Begin VB.Image cmdUnloadAllForms Height = 480 Left = 240 Picture = "ExitYesNo.frx":8790 Stretch = -1 'True Top = 2280 Width = 1305 End Begin VB.Image imgExitYesNoBackground Height = 6375 Left = -3600 Picture = "ExitYesNo.frx":C052 Top = -3120 Width = 9360 End End Attribute VB_Name = "frmExitYesNo" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False 'iPodLinux iPod nano Installer 'Program written by Philip Peng [Keripo] 'Graphics created by Philip Peng 'Project written for Mr. Benam '2006/4/18 'Credits: 'Original exit all code by Daniel Schwab, (schwab@glauxsoft.ch) ' http://www.vbcode.com/Asp/showsn.asp?theID=1430 ' See "cmdUnloadAllForms" for original code Option Explicit Private Sub cmdNoExit_Click() 'Closes pop-up without exiting Unload frmExitYesNo End Sub Private Sub cmdUnloadAllForms_Click() 'Original exit all code by Daniel Schwab, (schwab@glauxsoft.ch) ' http://www.vbcode.com/Asp/showsn.asp?theID=1430 '===== 'Public Sub UnloadAllForms(Optional frm1 As Form, Optional frm2 As Form) 'Dim MyForm As Form ' For Each MyForm In Forms ' If MyForm.Name <> frm1.Name And MyForm.Name <> frm2.Name Then ' Unload MyForm ' Set MyForm = Nothing ' End If ' Next 'End Sub '===== 'Closes all forms Dim MyForm As Form For Each MyForm In Forms Unload MyForm Set MyForm = Nothing Next 'Back to the Main Screen frmMainScreen.Show End Sub