Re: Can't see namespace

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"tshad" <tfs@xxxxxxxxxxxxxx> schrieb
I am using vb.net VS 2003 and can't seem to see my namespace.

I have 2 files (form1.vb and DBTypes.vb).

My DBTypes.vb is:
************************************************
' Create to new variable types to handle nulls and track changes '
to standard variable types. This is for use with database
variables. ' This will tell us if a vaiable has changed, give us the
original and current value,
' and tell us whether the current value and original value is/was
null or not.

imports System
imports System.IO

Namespace FtsData



My vb file is:
****************************
Imports FtsData


I am getting 2 errors:

Namespace or type 'FtsData' for the Imports 'FtsData' cannot be
found.

and

Type 'StringType' is not defined.

But I have the Imports statement and StringType is in the DBTypes.vb
file.

What am I missing?

Use the full qualified name

Imports Rootnamespace.FtsData

where Rootnamespace is the projects's root namespace in the project properties.


Armin

.