none
how do I access and control an openfileDialog from a class file?? RRS feed

  • Question

  • I am trying to get access to the OpenFileDialog class from a class file.  but I can not seem to find the namespace.  I just get an error that says Windows is not a part of the system. namespace?  any Ideas??

    Peter G. Simmon

    Friday, January 25, 2013 8:44 PM

Answers

  • Ensure that your project contains a reference to System.Windows.Forms.

    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    • Marked as answer by PeterSimmon Friday, January 25, 2013 9:25 PM
    Friday, January 25, 2013 8:50 PM
    Moderator

All replies

  • Ensure that your project contains a reference to System.Windows.Forms.

    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    • Marked as answer by PeterSimmon Friday, January 25, 2013 9:25 PM
    Friday, January 25, 2013 8:50 PM
    Moderator
  • thanks you are right, brain not working today!!

    Peter G. Simmon

    Friday, January 25, 2013 9:25 PM