Namesoace problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I've a web project called Webproject and in it a namespaces (called
MyNamespace), in it one class (called MyClass) and in this class only one
function (MyFunction) and I'm trying to access MyFuction in one of my forms,
so I used the
Imports Webproject.MyNamespace
MyClass.MyFuction....
....
and it run Ok for the first time, but for the second time it didn't
recognize MyFunction and it gave me a warning about the project's version and
this error:
'MyFunction' is ambiguous in the namespace 'Webproject.MyNamespace'.


Regards,
Rochdi
 
Mike said:
Hi,
I've a web project called Webproject and in it a namespaces (called
MyNamespace), in it one class (called MyClass) and in this class only one
function (MyFunction) and I'm trying to access MyFuction in one of my forms,
so I used the
Imports Webproject.MyNamespace
MyClass.MyFuction....
...
and it run Ok for the first time, but for the second time it didn't
recognize MyFunction and it gave me a warning about the project's version and
this error:
'MyFunction' is ambiguous in the namespace 'Webproject.MyNamespace'.


Regards,
Rochdi
Try instantiating the class and use the function from that class
variable instead of referencing the actual function.

Tom
 
I did but still telling me :'MyClass' is ambiguous in the namespace
'Webproject.MyNamespace' !!!?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Namespace confusion 8
dlls in VB.NET (VS 2008). 1
VB.Net not building added file 4
namespace use. 6
Inheritance 3
DLLImports 2
Shared functions not accessible 10
problem with module 4

Back
Top