Hi there...
To Import a NameSpace in each CodeFile(Class, Module,...) of project in Visual-Basic we can use Imports KeyWord.
Example:
Imports System.Reflection
By this kind of Import we can use that NameSpace Members just at the current filecode.
But for Use A NameSpace at Project (As General), we need to use the Project Properties....
Steps:
1. Right-Click on Project and Select Properties, to show Project Properties Window.
2. Select 'References' Tab Page....
3.Find each Namespaces at 'Imported Namespaces' Section, you need in your project and Select those to Import in Project....
Note: If you can't find any Namespaces, Using 'Add Reference...' Feature to Add Reference in project then find and select that Namespace at 'Imported Namespaces' Section.
Top comments (0)