G
Guest
Hi
i have a strange problem with the open/savefiledialog.
1st Case
===============================================
If i call in my big mdi-application (25 Forms) a openfiledialog or a savefiledialog like ..
If Me.SaveFileDialog1.ShowDialog = DialogResult.OK Then ..
and click inside the dialog at the scrollbar, the application quits with a System.NullReferenceException
If i disable Application.EnableVisualStyles all works fine ????
2nd Case
===============================================
If i build a new application with only one form1 and call the filedialogs like the same with EnableVisualStyles everything is ok
3rd Case
===============================================
If i copy the form from case 2 to case 1 and call the filedialogs from form1 (same form, same code) the application quits like case 1
Application.EnableVisualStyles / XP-Styles is the key for that bug. Does anybody can help
Best regard
Michael Herrman
Windows XP-Pro, VB.Net Pro, Framework 1.1.4322.573
i have a strange problem with the open/savefiledialog.
1st Case
===============================================
If i call in my big mdi-application (25 Forms) a openfiledialog or a savefiledialog like ..
If Me.SaveFileDialog1.ShowDialog = DialogResult.OK Then ..
and click inside the dialog at the scrollbar, the application quits with a System.NullReferenceException
If i disable Application.EnableVisualStyles all works fine ????
2nd Case
===============================================
If i build a new application with only one form1 and call the filedialogs like the same with EnableVisualStyles everything is ok
3rd Case
===============================================
If i copy the form from case 2 to case 1 and call the filedialogs from form1 (same form, same code) the application quits like case 1
Application.EnableVisualStyles / XP-Styles is the key for that bug. Does anybody can help
Best regard
Michael Herrman
Windows XP-Pro, VB.Net Pro, Framework 1.1.4322.573