I am trying to declare an instance of the OpenFileDialog object in a class, which is in a class library with the lineThis line works fine in the form.vb file but then in the class.vb file the OpenFileDialog is underlined with a blue wiggle.VB Code:
Public o As New OpenFileDialog
How do you declare an OpenFileDialog object in a class for global use?




Reply With Quote