Solved

vb.net ntdll.dll

Posted on 2010-08-23
8
782 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
  • 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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