Re: Executing Application from Windows Service
- From: "m.posseth" <michelp@xxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 19:07:17 +0200
well you could try this one
Imports System.Diagnostics
Public Module modmain
Sub Main()
Dim NewProcess as Process = new Process
NewProcess.Start("C:\MyApplication.exe")
End Sub
End Module
the above code is the counterpart of the shellexecute api
regards
Mchel Posseth [MCP]
"Rajeev Ramanujan" <rajeev.ramanujan@xxxxxxxxxxxx> wrote in message
news:%23pZT0udkFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
> Hi All,
>
> I'm trying to execute a standalone application written in VB .Net using
> a windows service developed using VB .Net. But the service is not able to
> execute the application.
>
> How to make the application execute from the Windows Service that i
> wrote? I tried using the SHELL command to execute the application from the
> service as shown below.
>
> Shell("c:\temp\WindowsApplication2.exe", AppWinStyle.Hide)
>
>
>
> Thanks in advance
>
> Rajeev R
>
.
- References:
- Executing Application from Windows Service
- From: Rajeev Ramanujan
- Executing Application from Windows Service
- Prev by Date: Re: hiding/showing a form...
- Next by Date: Re: Help regarding compression.
- Previous by thread: Executing Application from Windows Service
- Next by thread: Loading Windows Forms
- Index(es):
Relevant Pages
|