meretrix Posted August 19, 2003 Posted August 19, 2003 Has anyone had a problem where when you call OpenFileDialog->ShowDialog() the program simply hangs? Is there a workaround for this? Thanks in advance! Quote
aewarnick Posted August 19, 2003 Posted August 19, 2003 What VS version, What language? Looks like C++ .net. Quote C#
meretrix Posted August 19, 2003 Author Posted August 19, 2003 Yes, it's C++ .Net, 2002 version. Quote
aewarnick Posted August 19, 2003 Posted August 19, 2003 Can you post the code? I have no problem there at all with C# .net VS2002. Quote C#
aewarnick Posted August 20, 2003 Posted August 20, 2003 Sadly, I cannot compile that code, I only have the standard version of C# .net. It looks pretty straight forward to me though. Have you tried creating a new instance of the OpenFileDialog instead of using the global one? Maybe that will work? Quote C#
*Experts* Volte Posted August 20, 2003 *Experts* Posted August 20, 2003 After removing all references to the external icons and stuff, it compiled file and the "Load" menu item worked fine. [edit]Yay, 1200 posts[/edit] Quote
meretrix Posted August 20, 2003 Author Posted August 20, 2003 Really? That was the first thing I tried... and it still hung. Could you perhaps post the "fixed" code? Thanks. Quote
*Experts* Volte Posted August 20, 2003 *Experts* Posted August 20, 2003 The only reason I removed references to the external icons is because I don't have them, and it wouldn't run with them referenced. They would in no way affect OpenDialog. Quote
meretrix Posted August 20, 2003 Author Posted August 20, 2003 Ah. Well then, that pretty much makes it a problem with my installation, doesn't it? Time to reinstall, I guess... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.