Good morning,

I have a small VB. app in VS2008 that opens a windows folder in maximized view.
I am using the following code:

Dim startInfo As New ProcessStartInfo("explorer.exe")

startInfo.WindowStyle = ProcessWindowStyle.Maximized

startInfo.Arguments = "C:\Program Files\123 Systems\ExcelFolders\TechTimeSheet"


When using my app with windows xp it works well. It opens a single folder as if going through the "my computer" to open it. Attached is a screen shot "folder" to show the desired way.
However when using hte same code with Vista it opens my folder as if I right clicked on the start menu and selected "explore", also a screen shot named "explore" is attached showing what I do NOT want.

If I may ask, what I am doing wrong? What should I change to get both vista and XP to work the same, that is openeing a single folder.

Thank you for your help,

Attachments explorer.jpg 46.59 KB Folder.jpg 42.25 KB
8 Years
Discussion Span
Last Post by babbu

seems u r new to vista
u try and double click on my computer in vista u will get the same view
vista by default has this view like u get in xp when u right click and explore.
dont worry ur program is working fine


Thanks for the response, but I don't get the same window depending when clicking in vista environemt or an XP one. What should I do then to have the one in XP (single folder) compared to in Vista getting a whole entire explore view?


This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.