J
Jerry West
I'm trying to set the .RootFolder property of the FolderBrowserDialog
object. Each time I try I get an error stating:
"Object reference not set to an instance of an object."
I have not opened the VB toolbox and placed a FolderBrowserDialog onto a
Form. Instead, I have simply declared a var as FolderBrowserDialog within a
module and attempted to use it. Is this the reason why I receive this error?
My goal was to simply create a wrapper for the FolderBrowserDialog in a
module and call that for any folder browsing needs.
JW
object. Each time I try I get an error stating:
"Object reference not set to an instance of an object."
I have not opened the VB toolbox and placed a FolderBrowserDialog onto a
Form. Instead, I have simply declared a var as FolderBrowserDialog within a
module and attempted to use it. Is this the reason why I receive this error?
My goal was to simply create a wrapper for the FolderBrowserDialog in a
module and call that for any folder browsing needs.
JW