Results 1 to 5 of 5

Thread: declaring an OpenFileDialog object in a class for global use *RESOLVED*

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982

    declaring an OpenFileDialog object in a class for global use *RESOLVED*

    I am trying to declare an instance of the OpenFileDialog object in a class, which is in a class library with the line
    VB Code:
    1. Public o As New OpenFileDialog
    This line works fine in the form.vb file but then in the class.vb file the OpenFileDialog is underlined with a blue wiggle.

    How do you declare an OpenFileDialog object in a class for global use?
    Last edited by davidrobin; Jul 29th, 2004 at 10:17 AM.


    Things I do when I am bored: DotNetable

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width