ahhh thankx! po
Dim xProcess As System.Diagnostics.Process = Nothing Dim GC As New ProcessStartInfo GC.UseShellExecute = True GC.FileName = "main.exe" GC.Arguments = "__kogstudios_original_service__" xProcess = System.Diagnostics.Process.Start(GC)
IO.File.Delete("ResFeedback.dat")
'Note: Using the code 'Kill("filename.exe")' will put the file to the recycle bin
'While using 'IO.File.Delete' command, it will remove the file permanently.
What do these codes even do, and does it still work? :awesome:Quote:
Oh.. The codes.. Here is what I use..
VB 2008
Starting main.exe
Deleting a fileCode:Dim xProcess As System.Diagnostics.Process = Nothing Dim GC As New ProcessStartInfo GC.UseShellExecute = True GC.FileName = "main.exe" GC.Arguments = "__kogstudios_original_service__" xProcess = System.Diagnostics.Process.Start(GC)
Feel free to use it. ;)Code:IO.File.Delete("ResFeedback.dat") 'Note: Using the code 'Kill("filename.exe")' will put the file to the recycle bin 'While using 'IO.File.Delete' command, it will remove the file permanently.
Btw. I also suggest that you should use the 'Try' command so if anything happens wrong, you can do an action below 'Catch ex As Exception.
I tried to use these codes in VB2012, and after I put the program in the GC paste e execute it, it showed a window titled by "Update", without anything writed and a button "OK". After I push this button, nothing happen.Quote:
Oh.. The codes.. Here is what I use..
VB 2008
Starting main.exe
Deleting a fileCode:Dim xProcess As System.Diagnostics.Process = Nothing Dim GC As New ProcessStartInfo GC.UseShellExecute = True GC.FileName = "main.exe" GC.Arguments = "__kogstudios_original_service__" xProcess = System.Diagnostics.Process.Start(GC)
Feel free to use it. ;)Code:IO.File.Delete("ResFeedback.dat") 'Note: Using the code 'Kill("filename.exe")' will put the file to the recycle bin 'While using 'IO.File.Delete' command, it will remove the file permanently.
Btw. I also suggest that you should use the 'Try' command so if anything happens wrong, you can do an action below 'Catch ex As Exception.