I have tried it a few different ways this is the latest. No errors or
anything it just doesn't run it. I have tried it with .bat files and .exe
files they don't run. Permissions are all okay. I have read a lot on google
it appears many have code that runs fine on windows 2000 but on windows 2003
the same code does nothing. ................. Any Ideas Ive been at this one
all day today.................


Private Sub ButtonAutoPatchServer_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles ButtonAutoPatchServer.Click

        Dim strAutoPatchLocation, strAutoPatchWorkingDirectory, myOutput

        strAutoPatchWorkingDirectory = Session("ServerFilePath")

        strAutoPatchLocation = Session("ServerFilePath") &
"HldsUpdateTool.exe"


        Response.Write("<BR>WORKING DIRECTORY" &
strAutoPatchWorkingDirectory & "<BR>")
        Response.Write("<BR>FILE LOCATION" & strAutoPatchLocation)


 
'---------------------------------------------------------------------------
-----
        Dim myProcess As System.Diagnostics.Process = New
System.Diagnostics.Process
        myProcess.StartInfo.WorkingDirectory = strAutoPatchWorkingDirectory
        myProcess.StartInfo.FileName = strAutoPatchLocation
        myProcess.StartInfo.Arguments = "-command update -game
'Counter-Strike Source'"
        myProcess.StartInfo.UseShellExecute = False
        myProcess.StartInfo.RedirectStandardOutput = True
        myProcess.StartInfo.RedirectStandardError = True
        myProcess.StartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Maximized
        myProcess.StartInfo.CreateNoWindow = False
        myProcess.Start()
        myOutput = myProcess.StandardOutput.ReadToEnd()
        myProcess.WaitForExit()
 
'---------------------------------------------------------------------------
-----

        LabelAutoPatch.Text = "It will take approximately 1-15 minutes to
complete the patch depending on how large your game directory size is. It is
important not to STOP or START or RESTART your server during this process.
Please wait at least 15 minutes before attempoing any of these actions."
        LabelAutoPatchingStatus.Text = "AUTO PATCHING IN
PROGRESS..................."


    End Sub




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hhqlm65/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123823753/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to