Re: using user controls in class file

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



Thanks
I somehow got it fixed by changing the instance declaration to "public". Of
course, I also had the /reference option when compiling.

<lisa@xxxxxxxxxxxx> wrote in message
news:1116869209.077847.124110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> dl wrote:
> > Hi
> > I would like to define an instance of a user control, which is in a
> separate
> > assembly, in a class file I am trying to build, how can I do this,
> please?
> >
> > I am getting compilation error, saying "missing using directive or an
> > assembly reference", but I have already included the "using ..."
> directive.
>
> Sometimes that isn't enough. Are you using VS.NET? If so, go to the
> references under the project name and add the usercontrol there.
>
> Lisa
>


.



Relevant Pages

  • FreeBSD 5.x source update and compilation problem in HP Vectra VE18 -- SOLVED
    ... It was 4GB seagate IDE HDD. ... Somehow it was causing the problem. ... However I'm having problem compiling sources. ... I even tried with FreeBSD 5.2RC2, ...
    (freebsd-hackers)
  • Re: Register corruption --patch
    ... >>posiible to easily diagnose this somehow? ... In a way patch helped to track down the error: while compiling ... A witch!** ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Reflecting generics
    ... Timbo sez: ... Is it possible to, somehow, get "java.lang.String" from c? ... Or is that information lost after compiling? ... you can't really nest angle brackets, ...
    (comp.lang.java.programmer)
  • Re: Kernel compilation in Suse 9
    ... > works ok, but when I boot with the new kernel, somehow the / fs is ... compiling an Athlon-Kernel. ... I haven't found the reason why, but solved that problem by copying the ...
    (alt.os.linux.suse)