| | |
OpenFileDialog crashes EXPLORER.EXE
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2007
Posts: 6
Reputation:
Solved Threads: 0
Hi All,
Explorer.exe crashes when i run my application on a customer's computer (in fact: on all of their computers!). This happens usually when I browse through directories using a OpenFileDialog.
They run on Windows NT build 2600 with Novell groupwise
Error signature:
AppName: explorer.exe
AppVer: 6.0.2900.2180
ModName: comctl32.dll
ModVer: 6.0.2900.2982
Offset: 004d793
Now the way I've implemented my dialog box looks like this:
Is there any known error regarding .NET 2.0 and Explorer.exe, or am I just implementing my stuff in the wrong way?
Explorer.exe crashes when i run my application on a customer's computer (in fact: on all of their computers!). This happens usually when I browse through directories using a OpenFileDialog.
They run on Windows NT build 2600 with Novell groupwise
Error signature:
AppName: explorer.exe
AppVer: 6.0.2900.2180
ModName: comctl32.dll
ModVer: 6.0.2900.2982
Offset: 004d793
Now the way I've implemented my dialog box looks like this:
VB.NET Syntax (Toggle Plain Text)
If myProject.LastDir = "" Then dlgOpenAsc.InitialDirectory = "c:\" Else dlgOpenAsc.InitialDirectory = myProject.LastDir End If dlgOpenAsc.Filter = "ArcInfo grid (*.asc)|*.asc" dlgOpenAsc.FileName = "" dlgOpenAsc.ShowDialog() txtAhnGrid.Text = dlgOpenAsc.FileName myProject.NBWToetsing.AHNGrid = New AscGrid(dlgOpenAsc.FileName, True)
It is most likely cause by DEP yelling at your program.
I'm not sure if there is an API to add your program to the exception list. You can test it on one machine by going to Control Panel -> System - > Advanced -> Click on Performance - > DEP and then adding your program to the exception list.
If that doesn't help, the only other thing I thought of was this.
When you build and run the app on your machine does it give the same problem? If it does what exception does it throw? in that case put the OpenDialog code around try/catch blocks
Try
<Your Code Here>
Catch Break as New <thrown exception here>
Endtry
That's the only way I could think of that would solve a problem.
I'm not sure if there is an API to add your program to the exception list. You can test it on one machine by going to Control Panel -> System - > Advanced -> Click on Performance - > DEP and then adding your program to the exception list.
If that doesn't help, the only other thing I thought of was this.
When you build and run the app on your machine does it give the same problem? If it does what exception does it throw? in that case put the OpenDialog code around try/catch blocks
Try
<Your Code Here>
Catch Break as New <thrown exception here>
Endtry
That's the only way I could think of that would solve a problem.
Last edited by ShawnCplus; Mar 28th, 2007 at 11:42 pm. Reason: Forgot step
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
![]() |
Similar Threads
- My Videos folder crashing explorer.exe (Windows NT / 2000 / XP)
- troubleshooting explorer.exe in Windows XP (Windows NT / 2000 / XP)
- explorer.exe crashes when right-click .mp3s- HJT log (Viruses, Spyware and other Nasties)
- Windows Explorer.exe crashes (Windows NT / 2000 / XP)
Other Threads in the VB.NET Forum
- Previous Thread: ColorDialog
- Next Thread: Dynamically changing a form at Run Time
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application arithmetic array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert intel internet listview mobile monitor ms net networking objects output panel passingparameters picturebox picturebox1 port position print printing problem project read remove save searchbox searchvb.net select serial shutdown soap sorting survey table tcp temperature text textbox timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year






