views:

13

answers:

1

I am trying to launch explorer programmatically from my .Net CF Window application. But its throwing win32 exception. I have used same kind of code in desktop .Net version, and it always worked. (I am using Windows CE 5 and .Net CF 3.5 )

Following code throws Win32 Exception,

Process.Start("\\", null);

Unfortunately, i am using the code like this :-(

try
{ Process.Start("\\", null); }
catch { }
A: 

Maybe you should give it a program name to start? "\" is not an application. Something like this is probably more likely to yield success:

Process.Start("\\windows\\explorer.exe", null); 
ctacke
In Desktop .Net 'Process.Start("C:/dir")' used to work, so i tried to do it in same way. Following code worked in Win CE5 , 'Process.Start("explorer.exe", "\\")'
Palani