PDA

View Full Version : How Can I Open "My Computer" in My AMS Project ?


Peyman
08-14-2007, 06:24 PM
I Make a Program But Idont Know How Open "My Computer" in My Program (my mean : i Click on a Button and OPen "My Computer" )

Intrigued
08-14-2007, 08:42 PM
Shell.Execute("EXPLORER.EXE", "open", "/n, /e, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "", SW_SHOWNORMAL)

Peyman
08-15-2007, 05:14 AM
But My mean is OPEN My Computer not EXPLORER

Desolator
08-15-2007, 08:31 AM
My Computer is a section of Windows Explorer, the application that is used for browsing folders, files, etc. There's no easy way to get around it. AFAIK the code above will do the same as pressing WinKey + E.

Intrigued
08-15-2007, 07:27 PM
But My mean is OPEN My Computer not EXPLORER

Then do this:

Shell.Execute("EXPLORER.EXE", "open", "/n, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "", SW_SHOWNORMAL)

Peyman
08-15-2007, 07:56 PM
Good Work.
Thanks Intrigued.

Intrigued
08-15-2007, 08:39 PM
Good Work.
Thanks Intrigued.

You are welcome.