Multiple File Select Not Working In Published ClickOnce Application

  • Thread starter Thread starter Stewart Berman
  • Start date Start date
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?
 
Hello Saberman,

I have a quick test in my side. When the MultiSelect property is set to
true, your codes work fine on all of my three machines.

At the first glance, I think the issue should not be related to the .NET
Framework. It looks like related to the OS and dll version. So, could you
please let me know which versions of OS are installed for your notebook and
desktop?

Since the OpenFileDialog is implemented in the comdlg32.dll, I recommend
you to use Process Explorer to view if the version of loaded comdlg32.dll
in your notebook is different from that in your desktop.


Best regards,
Colbert Zhou (colbertz @online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 
Hello Saberman,

I have a quick test in my side. When the MultiSelect property is set to
true, your codes work fine on all of my three machines.

At the first glance, I think the issue should not be related to the .NET
Framework. It looks like related to the OS and dll version. So, could you
please let me know which versions of OS are installed for your notebook and
desktop?

Since the OpenFileDialog is implemented in the comdlg32.dll, I recommend
you to use Process Explorer to view if the version of loaded comdlg32.dll
in your notebook is different from that in your desktop.


Best regards,
Colbert Zhou (colbertz @online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 
Hello Saberman,

I am writing to check the status of this issue. Would you mind letting us
to know if the issue is resolved in your side? Any future help needed,
please feel free to update here.


Best regards,
Colbert Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 
Hello Saberman,

I am writing to check the status of this issue. Would you mind letting us
to know if the issue is resolved in your side? Any future help needed,
please feel free to update here.


Best regards,
Colbert Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
 
I rebuilt everything and reinstalled and it appears to be working correctly with one minor problem.

I can no longer use:
IsolatedStorageScope.Application Or IsolatedStorageScope.User or IsolatedStorageScope.Roaming

It says it is unable to determine the application identify.

I think I have to start over on a clean machine.
 
I rebuilt everything and reinstalled and it appears to be working correctly with one minor problem.

I can no longer use:
IsolatedStorageScope.Application Or IsolatedStorageScope.User or IsolatedStorageScope.Roaming

It says it is unable to determine the application identify.

I think I have to start over on a clean machine.
 
Back
Top