I would like to call a .NET executable file in a windows serviceat certain intervals of time. The following is the codesnippet, I put in. I am not receiving any error in my errorhandling routine (as it writes as a log entry). But my problemis, the respective application doesn't popup on screen and getvisible. I desperately need the application to be visible whenit does some work (just to know basically the status andprogress of the process it is doing). I copied calc.exe intothe root to test it. But I didn't test with anything else. Cananybody help me please.
'first method
'Dim proc As Process = Process.Start(" c:\calc.exe")
'second method
'Dim startInfo As New ProcessStartInf o("c:\calc.exe" )
'startInfo.Crea teNoWindow = False
'startInfo.Wind owStyle = ProcessWindowSt yle.Normal
'Process.Start( startInfo)
'third method
'Shell("c:\calc .exe"), AppWinStyle.Nor malFocus, False)
--------------------------------
From: Jag Chat
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>Ut1JfGDcgU+ 57pOKSMh24Q==</Id>
'first method
'Dim proc As Process = Process.Start(" c:\calc.exe")
'second method
'Dim startInfo As New ProcessStartInf o("c:\calc.exe" )
'startInfo.Crea teNoWindow = False
'startInfo.Wind owStyle = ProcessWindowSt yle.Normal
'Process.Start( startInfo)
'third method
'Shell("c:\calc .exe"), AppWinStyle.Nor malFocus, False)
--------------------------------
From: Jag Chat
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>Ut1JfGDcgU+ 57pOKSMh24Q==</Id>