T
tshad
Using VS 2008, I have a project that uses the dll from another project.
The Namespace is MyFunctions, with a class of DbObject. The beginning of
the code is:
***************************
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace MyFunctions
Public Class DbObject
**************************
The Project, class vb file, and dll are called MyFunctions.
In my code, I have to:
Imports MyFunctions.MyFunctions
To get this to work:
Dim myDbObject As New DbObject("a test")
Why don't I need:
Imports MyFunctions
How would I change the project to allow me to use only the Namespace?
Thanks,
Tom
The Namespace is MyFunctions, with a class of DbObject. The beginning of
the code is:
***************************
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace MyFunctions
Public Class DbObject
**************************
The Project, class vb file, and dll are called MyFunctions.
In my code, I have to:
Imports MyFunctions.MyFunctions
To get this to work:
Dim myDbObject As New DbObject("a test")
Why don't I need:
Imports MyFunctions
How would I change the project to allow me to use only the Namespace?
Thanks,
Tom