I'm setting the SelectedPath parameter of a dialog on a Windows form and it's working. The problem is that it's not visible when the modal form displays. If I scroll down, I can see that it has highlighted the correct folder, but I'd like that folder to be at the top of the scroll window if possible. I'm not too familiar with VB or VStudio so I would appreciate any help. Here's the code that I'm using to set the parameter.
If myVariables.myEHDConnected = True Then
dlgTarget.SelectedPath = myVariables.myEHDDrive & "Storage\"
End If
This code does highlight the directory but it's not visible when the modal form opens.