Lou Elston
Newcomer
- Joined
- Oct 21, 2003
- Messages
- 23
I am using Visual Studios 2003 and Visual basic, and have created a program that displays the FolderBrowserDialog.
I diabale the ShowNewFolderButton, because I do not want the user to create a new folder, just select a folder.
When I run this on my development system (Win XP), the 'new folder' button does not show. When I go to test this on a Win 2000 Server system, the 'create new folder' button shows. Why??? I am running the test environment under VMWare, but I can't see that as the problem. What am I doing wrong? Thanks.
This is the code....
Dim MyDialog As New FolderBrowserDialog
MyDialog.Description = "Select the folder to create a directory and file list from"
MyDialog.ShowNewFolderButton = False
Application.DoEvents()
lblEvent.Visible = True
lblEvent.Text = Now & " Creating List file - Please wait"
Application.DoEvents()
If (MyDialog.ShowDialog() = DialogResult.OK) Then
I diabale the ShowNewFolderButton, because I do not want the user to create a new folder, just select a folder.
When I run this on my development system (Win XP), the 'new folder' button does not show. When I go to test this on a Win 2000 Server system, the 'create new folder' button shows. Why??? I am running the test environment under VMWare, but I can't see that as the problem. What am I doing wrong? Thanks.
This is the code....
Dim MyDialog As New FolderBrowserDialog
MyDialog.Description = "Select the folder to create a directory and file list from"
MyDialog.ShowNewFolderButton = False
Application.DoEvents()
lblEvent.Visible = True
lblEvent.Text = Now & " Creating List file - Please wait"
Application.DoEvents()
If (MyDialog.ShowDialog() = DialogResult.OK) Then