Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7804993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:04:57+00:00 2026-06-02T02:04:57+00:00

I have a C# winforms application that I am using. I have a browse

  • 0

I have a C# winforms application that I am using. I have a “browse output folder” button that takes the user to a specific path on a network drive for our local systems.

However, I have been getting these weird exceptions from Explorer.exe where it crashes for no particular reason with no real error message. This occurs when the folder opens up properly and sits for a while, it will open a message saying that it “has stopped working” and asks me to close it. This issue is very repeatable.

My best guess at the issue is that it is a network related problem. The network has been known to be glitchy occasionally (goes up/down briefly fairly often). Could this cause the problem?

Explorer crash

The code I use is (I do typically check that the folder path is valid):

string Path = "\\\\serverPath\\data\\My Folder\\";
System.Diagnostics.Process.Start("Explorer.exe", Path);

Basic question summary: Am I making this call to Explorer.exe improperly / is there a better/safer way of doing this to avoid this problem?

EDIT: OR is as I expected and is just a windows bug that I’m going to have to deal with… =(

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T02:04:59+00:00Added an answer on June 2, 2026 at 2:04 am

    If you want an alternative way of opening the folder try using SHOpenFolderAndSelectItems. To open a folder I think you can use the same PCITEMIDLIST as the parent and the selection:

    SHOpenFolderAndSelectItems(folder, 1, &folder, 0);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application (winforms) that downloads a file to user's temporary folder, then
I have an winforms application that was built using MVC. The controller is subscribing
I have a Winforms application that schedules some work using a service. The service
I have a WinForms application (I'm using VB) that can be minimized to the
I have a .NET WinForms application that I've converted into a COM dll using
Using VB.net 4.0 I have a Winforms application that is loosely based on MVVM.
I have an WinForms application that is deployed using Visual Studio 2008's publish (ClickOnce)
I have a WinForms application that needs to behave in specific ways (specifically shell
I have my winform application gathering data using databinding. Everything looks fine except that
I have a winforms application that normally is at about 2-4% CPU. We are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.