Thanks for responding.
The L: drive is on the local PC and presents no problem. That path works fine after the user selects the folder manually in the FolderBrowserDialog1; The same path is then stored in the variable strCampaignFolder. Thereafter the FolderBrowserDialog1 opens with that folder...
Do you know why this happens?
If (strCampaignFolder <> "") Then
'Next line works fine when strCampaignFolder already has a value set by FolderBrowserDialog1.SelectedPath further below.
FolderBrowserDialog1.SelectedPath = strCampaignFolder
Else 'PROBLEM: Next line causes the...
I tried to discover this years ago, but without success. I'm trying again now, with the same result. The code I have found doesn't work properly.
This is functionality so common that you'd expect it to be known everywhere, yet it remains a mystery!
Have you succeeded yet? If so, please let me...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.