المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Can't launch URL from desktop app?



C# Programming
03-08-2013, 10:50 PM
I'm trying to launch a URL from my desktop app. I know I have done this before:

System.Diagnostics.Process.Start("http://www.microsoft.com");

Process hangs on this line. Is this some kind of new Windows 7 security issue? I have UAC disabled and am admin on my box.

if I type "start http://www.microsoft.com" from the cmd line, it works fine, so the browser is correctly registered and works as expected.