OpenFileDialog bug problem .net
-
I am using the openfiledialog in my project. Sample code: at bottom I get a blank filename when I get a return back from the dialog. This happens after I pick a file (any file). Now when I run the same code on my other computer (laptop), it functions normally. What can cause this to happen? I am not having any other system problems (that I know of), and this is really wierd. Any ideas? (Framework 1.1) xp servicepack 2 ( I think I am fully upgraded software wise.) :mad: :sigh: If ofd.ShowDialog() = DialogResult.OK Then 'Load the excel import file into a datatable PartsTrakCommonLibrary.PartTrakCommonLibrary.FillDataTableFromExcel(dtImportData, ofd.FileName) End If Thanks, Foxjazz
-
I am using the openfiledialog in my project. Sample code: at bottom I get a blank filename when I get a return back from the dialog. This happens after I pick a file (any file). Now when I run the same code on my other computer (laptop), it functions normally. What can cause this to happen? I am not having any other system problems (that I know of), and this is really wierd. Any ideas? (Framework 1.1) xp servicepack 2 ( I think I am fully upgraded software wise.) :mad: :sigh: If ofd.ShowDialog() = DialogResult.OK Then 'Load the excel import file into a datatable PartsTrakCommonLibrary.PartTrakCommonLibrary.FillDataTableFromExcel(dtImportData, ofd.FileName) End If Thanks, Foxjazz