Twaites

I'm dong a project and I need to know what type of code I need in Visual C# 2005: I have string variable holding a path (to a certain folder) and I need to know how to open up that folder (in Windows Explorer) when I click a button.

Re: Visual C# General Opening up a folder in C#

RizwanSharp

Code Snippet

System.Diagnostics.Process.Start("C:\\");

Best Regards,

Rizwan aka RizwanSharp






Re: Visual C# General Opening up a folder in C#

Twaites

Thanks, we just implemented it and it worked!!! Kudo's to you, from me and my partner.



Re: Visual C# General Opening up a folder in C#

RizwanSharp

You both are welcome .

Best Regards,

Rizwan aka RizwanSharp