Open "Explorer.exe" with in a VB.NET Application

  • 13 years ago

    Hi all...

     I am working on a project which needs me to Open the "Explorer.exe" session with in a VB.NET application. i used the

    Process.Start("Explorer.exe",blahblahblah) but it doesnt work to open the explorer.exe within my VB.NET application. can anybody help me on this ?

     please reply me soon.

     

     

  • 13 years ago

    Just put the full path in.

  • 13 years ago

    I used the below;

    Process.Start("Explorer.exe", Environment.UserName)

    but it doesnt open "explorer.exe" within the boundries of my applicaiton ...so is it possible to use explorer.exe as an object of VB.NET application to open it with in the application? if yes how??

  • 13 years ago
    Dim p As Process = New Process

    With p.StartInfo

    .FileName = "explorer"

    .WindowStyle = ProcessWindowStyle.Normal

     

    End With

    p.Start()

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Anyone who considers arithmetic methods of producing random digits is, of course, in a state of sin.” - John von Neumann