Solved

vb.net ntdll.dll

Posted on 2010-08-23
8
789 Views
Last Modified: 2012-05-10
Writing a program in vb.net 2005.  All of a sudden it crashes when trying to use an open file dialog box (which has been working for some time) with a Faulting module ntdll.dll 6.1.7600.16559 error.
Error code 00000374

This is on a Win 7 computer.

Any thoughts?
0
Comment
Question by:classnet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 5

Expert Comment

by:sanket_1985
ID: 33504916
The problem must be because of internal references.

Try setting property
AutoUpgradeEnabled = true

for the control and it should work. This is a known problem on Windows Vista and above OS.
0
 

Author Comment

by:classnet
ID: 33504978
Already set to true.
0
 
LVL 5

Expert Comment

by:sanket_1985
ID: 33504998
Have you installed any software recently that changes the looks and appearance? If yes, it should be the trouble. If no, need to check this out more.
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:classnet
ID: 33505013
No... it was all of a sudden...
0
 
LVL 17

Expert Comment

by:Zhaolai
ID: 33505348
Try this:
1. Launch Visual Studio with elevated Administrator privilege (Right click the shortcut >> Click "Run as Administrator").
or
2. Try running devenv /Resetsettings in Command Prompt to eliminate the cause of corrupted settings
0
 

Author Comment

by:classnet
ID: 33505501
No go...

Probalby just another Microsoft reformat, reinstall and it'll work for awhile and do again.

Thanks anyway.
0
 

Author Comment

by:classnet
ID: 33505921
More info.
The OpenFileDialog (OFD) control actually crashes when I click the center scrollbar in an attempt to scroll up to see “Desktop”.  It pauses then crashes… never an opportunity to click “Desktop”.

To test, on the main (startup) form I put an OFD control and a button to bring it up.  It works fine.  IF I bring up the control on the main form and THEN proceed to use the control on my other form (2 generations away) the control will work.

If I skip the "messing around" with the control on the main form and just pull the form that pulls up the form that needs to use the control then VB crashes.

Clear as mud?
0
 

Accepted Solution

by:
classnet earned 0 total points
ID: 33584837
?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question