J
Joshua Frank
Hi All,
Is it possible to have a private namespace in VB? When I try it I get
this error:
"Specifiers and attributes are not valid on 'Namespace' statements."
I have a few reasons for wanting this; the most annoying one is that if
you add a web reference to your project, VS creates the proxy objects in
a namespace that you specify. Because namespaces are always public,
this then appears in the object browser as part of the component. But
this is annoying, because I don't want the internal implementation
details (i.e., that my component uses a web service) visible like this.
Namespaces are just an organizational convenience for the programmer;
I can't think of a reason why you shouldn't be able to make one public.
Any ideas on this one? Thanks in advance.
Cheers,
Josh
Is it possible to have a private namespace in VB? When I try it I get
this error:
"Specifiers and attributes are not valid on 'Namespace' statements."
I have a few reasons for wanting this; the most annoying one is that if
you add a web reference to your project, VS creates the proxy objects in
a namespace that you specify. Because namespaces are always public,
this then appears in the object browser as part of the component. But
this is annoying, because I don't want the internal implementation
details (i.e., that my component uses a web service) visible like this.
Namespaces are just an organizational convenience for the programmer;
I can't think of a reason why you shouldn't be able to make one public.
Any ideas on this one? Thanks in advance.
Cheers,
Josh