ayuda con CheckBox & botones
Publicado por rodrigo (2 intervenciones) el 21/11/2007 23:01:58
miren mi codigo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Option Strict Off
Option Explicit On
Friend Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Configuracion CheckBox 1
If CheckBox1.CheckState = 1 Then
System.Diagnostics.Process.Start("setup1.exe")
End If
' Configuracion CheckBox 2
If CheckBox2.CheckState = 1 Then
System.Diagnostics.Process.Start("setup2.exe")
End If
' Configuracion CheckBox 3
If CheckBox3.CheckState = 1 Then
System.Diagnostics.Process.Start("setup3.exe")
End If
' Configuracion CheckBox 4
If CheckBox3.CheckState = 1 Then
System.Diagnostics.Process.Start("setup4.exe")
End If
End Sub
End Class
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(van setups auto-instalables)
lo que yo quiero es que el setup2 se ejecute cuando termine de instalar el setup1, y que el setup3 se ejecute cuando el setup2 termine y asi sucesivamente...
ayuda por favor
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Option Strict Off
Option Explicit On
Friend Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Configuracion CheckBox 1
If CheckBox1.CheckState = 1 Then
System.Diagnostics.Process.Start("setup1.exe")
End If
' Configuracion CheckBox 2
If CheckBox2.CheckState = 1 Then
System.Diagnostics.Process.Start("setup2.exe")
End If
' Configuracion CheckBox 3
If CheckBox3.CheckState = 1 Then
System.Diagnostics.Process.Start("setup3.exe")
End If
' Configuracion CheckBox 4
If CheckBox3.CheckState = 1 Then
System.Diagnostics.Process.Start("setup4.exe")
End If
End Sub
End Class
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(van setups auto-instalables)
lo que yo quiero es que el setup2 se ejecute cuando termine de instalar el setup1, y que el setup3 se ejecute cuando el setup2 termine y asi sucesivamente...
ayuda por favor
Valora esta pregunta


0