locked
How do I modify the default imported namespaces for my project?

    Question

  • On most of my forms I have to import

    Imports Microsoft.VisualBasic
    Imports System.Data
    Imports System.Data.OleDb


    Is there any way of making this a default?

    dennist
    Sunday, May 01, 2005 11:52 AM

Answers

  • I'm assuming you are using Visual Basic 2005:

    1. Right-click on the project and click Properties
    2. On the Configuration window, select the References tab.
    3. Add the namespaces you want to import under Imported namespaces.

    HTH

    David
    Sunday, May 01, 2005 11:58 AM