Advertisement

09.10.2007 at 05:03PM PDT, ID: 22819287
[x]
Attachment Details

Not working with Vista!!

Asked by slabrie99 in .Net Editors & IDEs, Windows Vista, Visual Studio

Tags:

Hi,

My application built with studio 2005 is calling another VB application using those lines of code:

'Execute updater
Dim psi As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo()
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.MaxValue)

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
[+][-]09.10.2007 at 05:17PM PDT, ID: 19865207

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 02:36AM PDT, ID: 19867075

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 08:07AM PDT, ID: 19869287

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 08:12AM PDT, ID: 19869345

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2007 at 07:16PM PDT, ID: 19873476

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2007 at 06:29AM PDT, ID: 19876032

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.12.2007 at 08:51PM PDT, ID: 19881563

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.12.2007 at 09:45PM PDT, ID: 19881712

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, Windows Vista, Visual Studio
Tags: vista
Sign Up Now!
Solution Provided By: rbereny
Participating Experts: 3
Solution Grade: A
 
 
[+][-]09.13.2007 at 11:48AM PDT, ID: 19886119

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628