| | |
Process.Start acts differently with windows XP or vista
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2009
Posts: 27
Reputation:
Solved Threads: 0
Good morning,
I have a small VB. app in VS2008 that opens a windows folder in maximized view.
I am using the following code:
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
I have a small VB. app in VS2008 that opens a windows folder in maximized view.
I am using the following code:
VB.NET Syntax (Toggle Plain Text)
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
![]() |
Similar Threads
- windows vista +fujitsu siemens problem (Windows Vista and Windows 7)
Other Threads in the VB.NET Forum
- Previous Thread: picturebox!!!
- Next Thread: Final year projects
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms ftp generatetags html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





