I have a VB.net exe which I want to invoke or run from a windows service implemented in VB.NET.
When timer fires, at that time i want to invoke vb.net exe.
I tried the normal way of invoking applications thruough the process command but it doesn't seem to work in case of Windows services in VB.NET. Please help me out...this is urgent,
code for the above is as:
Public Sub TimerFired(ByVal sender As Object, ByVal e As ElapsedEventArgs)
Dim psList() As Process
Dim str_Proc As String
psList = Process.GetProcesses
For Each p As Process In psList
str_Proc = p.ProcessName
If str_Proc.Contains("AutoBackup-Icon") Then p.Kill()
str_IconExePath="C:\Hazel Infotech\AutoBackup Utility\AutoBackup-Icon.exe"
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, str_MsgTitle)
but, AutoBackup-Icon.exe doesn't get start..
please help me out, its very urgent......