Link to home
Create AccountLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VB.net set folder of FolderBrowserDialog1 to "My Documents"

Hi
I get the error "Conversion from string to integer not valid" at the line marked 'ERROR
         Dim result As DialogResult
            With Me.FolderBrowserDialog1
                .ShowDialog()
                .RootFolder = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) 'ERROR
     
            End With
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Murray Brown

ASKER

Thanks very much. It worked well
Thanks