Run My Computer

Hi there again,

I was wondering how i could run "My Computer" on Win XP... Can anyone give me a solution

If i'm not clear, what i want is to run Explorer and open it up in the My Computer folder.

With Process.Start(Environment.GetfolderPath(Environment.SpecialFolder.MyComputer)) I cannot do it.

Thnx a lot;




Answer this question

Run My Computer

  • Bruno Kovačić

    is there any similar way to call xp's built in start searching for something i type in

    I mean i have a textbox control, and when i press a button, i'd like to call xp's search searching for the content of the textbox...

    is there any way to do this

    thnx



  • Ofir Epstein

    ok, i've found it... you can find these settings in the registry...

    that's how you can start the Network Places folder:

    Process.Start("::{208D2C60-3AEA-1069-A2D7-08002B30309D}")



  • Zeldacat

    Yeah, and I had a few more with that code:

    Private Const MyComputer = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
    Private Const RecycleBin = "::{645FF040-5081-101B-9F08-00AA002F954E}"
    Private Const NetworkNeighborhood = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
    Private Const ControlPanel = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    Private Const Printers = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}"


  • Juan64

    BlueMikey wrote:
    Yeah, and I had a few more with that code:

    Private Const MyComputer = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
    Private Const RecycleBin = "::{645FF040-5081-101B-9F08-00AA002F954E}"
    Private Const NetworkNeighborhood = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
    Private Const ControlPanel = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    Private Const Printers = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}"

    thnx for these, too... :)



  • magicalclick

    That's a spiffy trick.


  • mclagett

    BlueMikey wrote:
    Process.Start("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}")

    I can't remember where on Earth I ever found out how to do it, I just have it saved in this bag of tricks file. MyComputer has no string representation, what you see up there is a registry key representing MyComputer.

    Hello!

    Thank you for your answer... :) i'd have never found it out... :) Thanks again... Don't you know how to this for the folder "Network Places", too

    thnx;



  • Jinz

    Process.Start("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}")

    I can't remember where on Earth I ever found out how to do it, I just have it saved in this bag of tricks file.  MyComputer has no string representation, what you see up there is a registry key representing MyComputer.

  • Run My Computer