Hi,
My application built with studio 2005 is calling another VB application using those lines of code:
'Execute updater
Dim psi As System.Diagnostics.Process
StartInfo = New System.Diagnostics.Process
StartInfo(
)
psi.Arguments = "updater"
psi.FileName = Application.StartupPath & "\Updater.exe"
psi.WorkingDirectory = Application.StartupPath + "\"
psi.UseShellExecute = True
Dim o As Process = System.Diagnostics.Process
.Start(psi
)
o.WaitForExit(Integer.MaxV
alue)
Its working perfectly with XP but not with Vista !
The error message said that the access of the path "C:\Program Files\MySoft\Updater.exe" is refused!!!
Can someone help me with this?
Start Free Trial