Re: Question about Namespaces

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Jon,

I was actually writing this app in VB.net. When I went to code up an
example in C# it worked just fine.
I figured the C# newsgroups would be better to post to about namespaces
than the VB ones, but maybe this is something have VB just can't do,
and C# can.

What I mean is this code does NOT work in VB.NET. It will not compile
b/c it can't find the "RotatorDesigner" class.

Is this a known thing that VB.Net can't do?

using System;
using ComponentArt.Web.UI.Design;


namespace ClassLibrary1
{
public class Class1
{
ComponentArt.Web.UI.Design.RotatorDesigner X;
ComponentArt.Web.UI.Design.MyTestClass Y;

public Class1()
{
}
}
}

namespace ComponentArt.Web.UI.Design
{
public class MyTestClass
{
public MyTestClass()
{

}
}
}



>>It is, as far as I'm aware.

Could you post a short but complete program which demonstrates the
problem?

.



Relevant Pages

  • Re: What can .Net do for me?
    ... > The same app takes less code. ... That is a ridiculous statement, when it come to writing less code for ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: Making a library
    ... I'm writing a C++ app for my final year project at ... >University and what I'm wanting to do is produce a library (or ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: passing paremeters to ANT
    ... app, but that's their problem:). ... writing it out to a file is ... BASH. ... Prev by Date: ...
    (comp.lang.java.programmer)
  • RE: Device Connection
    ... I am writing my app in C# ... "Philip Germanos" wrote: ... Prev by Date: ...
    (microsoft.public.pocketpc.developer)
  • Re: find buttons???
    ... sorry ray, i am pretty new to these newsgroups, and i get mixed up in ... some that i am writing in from time to time. ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)