Join Date: Jan 12
Posts: 1
Matthew.Kaulfers is an unknown quantity at this point (<10)
Cool Shell?
First time messing with shells and here is the coding I have so far.
Public Class Form1
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Shell("D:\data\CCleaner\CCleaner.exe")
Shell("D:\data\Malwarebytes\mbobs.exe")
******
Attempted
FileOpen(CCleaner) {Then I realized that it won't work because this data will eventually be stored on a CD for multiple computer repairs so a direct location is required. I think....
******
End If
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
End Sub
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
End Sub
End Class
At the location where the Shell line is used I am trying to figure out how to make it run another executable after the CCleaner.exe is finished running. Oh and I need it to Click OK past an administrator request. Basically it is a program that will automate other programs to run and repair/clean a PC. Any help is thankful. Please be in detail as I am not good with VB.NET. Oh and I did attempt to use the "FileOpen" and it does the same as the code above and still won't allow for another program to be launched immediately after. So let me explain further.
I am attempting to create an automated process that will allow several programs to be run one after another with the simple click of a button. It has to be completely autonomous with no human intervention whatsoever beyond the click that says Automatic.

