Namesoace problem


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
 
Ad

Advertisements

T

tomb

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
 
Ad

Advertisements

G

Guest

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

Top