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"

 Process.Start(startInfo)

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,
John

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?

Thanks

i dnt think it is possible

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.