S
Stewart Berman
I am not sure if this is a VB.NET problem or a .NET problem.
I have a desktop that I use for development and testing. I developed a VB.NET 2005 application.
Part of the application includes selecting multiple files. When I install the application on the
desktop machine via the publish.htm web page the multiple file selection works.
I then installed the same application from the same publish.htm page to my notebook. When I go into
the part of that application that opens a file selection dialog box I can only select one file. If
I hold down the Ctrl key and click on multiple files only the last one is selected. The same is
true when using the shift key.
Both the desktop and the notebook have .NET 2.0 SP2,.NET 3.0 SP 2 and .NET 3.5 SP 1 installed. The
desktop has Visual Studio 2005 installed. The notebook has Visual Studio 2008 installed.
The development (solution) package is not on the notebook. Only the ClickOnce installation process
has been used.1
The code for invoking the file selection dialog box is:
OpenFileDialog1.InitialDirectory = fvarFileFolder
If (DialogResult.OK = OpenFileDialog1.ShowDialog(Me)) Then
The OpenFileDialog1 Multiselect property is set to True.
Why does multiple selection work on the desktop and not on the notebook?
I have a desktop that I use for development and testing. I developed a VB.NET 2005 application.
Part of the application includes selecting multiple files. When I install the application on the
desktop machine via the publish.htm web page the multiple file selection works.
I then installed the same application from the same publish.htm page to my notebook. When I go into
the part of that application that opens a file selection dialog box I can only select one file. If
I hold down the Ctrl key and click on multiple files only the last one is selected. The same is
true when using the shift key.
Both the desktop and the notebook have .NET 2.0 SP2,.NET 3.0 SP 2 and .NET 3.5 SP 1 installed. The
desktop has Visual Studio 2005 installed. The notebook has Visual Studio 2008 installed.
The development (solution) package is not on the notebook. Only the ClickOnce installation process
has been used.1
The code for invoking the file selection dialog box is:
OpenFileDialog1.InitialDirectory = fvarFileFolder
If (DialogResult.OK = OpenFileDialog1.ShowDialog(Me)) Then
The OpenFileDialog1 Multiselect property is set to True.
Why does multiple selection work on the desktop and not on the notebook?