Wrox Programmer Forums
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 19th, 2007, 08:57 PM
Registered User
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# and windows

Hi everybody, I'm new on this forum.
I've been programming for a while now but I was never told how to for example when a button is clicked in my application open win explorer with some folder, for example c:\. I know the part about handling the mouse click event, but the problem are functions for opening win explorer. I guess its got something to do with winApi??

Also I would very much appreciate some short tutorial about those kind of functions, or at least under what namespace are they all.

Old February 20th, 2007, 02:47 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there and welcome,

Most of the calls fall under the Google namespace:


You'll also find a number of useful pointers under the Smart.Questions namespace:




Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Old February 20th, 2007, 07:16 AM
Registered User
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I have google it, thanx...

If anyone is interested here is the code:
using System.Diagnostics;

Process.Start("explorer.exe", locationToOpen.Text);
No money can buy what truth can take away

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows dave_dc BOOK: Professional Multicore Programming: Design and Implementation for C++ ISBN: 978-0-470-28962-4 2 September 14th, 2013 07:35 AM
windows matteman Visual Basic 2008 Essentials 1 June 18th, 2008 09:52 AM
Accessing Windows service from a windows app sajid08 C# 1 October 6th, 2006 10:25 AM
Windows Service hunghung General .NET 3 January 20th, 2005 01:43 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.