Showing results for 
Search instead for 
Do you mean 

Folderbrowserdialog : SendKeys VB.Net

[ Edited ]

I have a problem with the selection , the dialog dialog does not scroll to selected folder .I believe that it is a known problem.

link : FolderBrowserDialog.html

A solution it's "sending keys" .I try to know if i can do the same thing with nx open .I tried but it did not work.

My code below :

 Dim FlBrowserDialog As FolderBrowserDialog = New System.Windows.Forms.FolderBrowserDialog
   With FlBrowserDialog
       .SelectedPath = "C:\application\NX11\MACH\auxiliary"
       .ShowNewFolderButton = True
   End With

  If FlBrowserDialog.ShowDialog = System.Windows.Forms.DialogResult.OK Then
       dir = FlBrowserDialog.SelectedPath
       Exit Sub
   End If