Re: User control & Form copy to other project

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: J French (erewhon_at_nowhere.uk)
Date: 11/27/04


Date: Sat, 27 Nov 2004 13:18:14 +0000 (UTC)

On Sat, 27 Nov 2004 10:41:45 GMT, "Marcus" <a@b.com> wrote:

<snip>

>> >I can only assume i am misisng something ???, but i have checked my
>> >references, and in the project i created the 1 form and 4 control in i
>dont
>> >have any additional references ( only std 4 ) or components added.

>> Would you be using UserControls within other UserControls ?

>Umm, not sure to be honest!, if i was would i be misisng something ?

Check it out

If you are using UserControls inside other UserControls then you need
to look at the .CTL files and the .VBP file with a text editor

It drove me nuts for about 4 hours

In the Project/Properties - Name field you need the same 'name' for
all EXEs - but this is only if you are sharing nested UserControls



Relevant Pages

  • Re: Memory not freed when unloading forms
    ... No, in this application a form doesn't access another form's controls, ... UserControl which .ctl file is included into the same .vbp file as the form. ... In time, some of these UserControls contain other UserControls, also ... Leonardo Bosi ...
    (microsoft.public.vb.general.discussion)
  • Re: Question regarding VB6
    ... UserControls was exactly what I needed. ... Useful little beasts, they make life so much easier ...
    (comp.lang.basic.visual.misc)
  • Re: Run-time error 91: Object variable or With block variable not se
    ... >newsgroup would be most appropriate. ... Would you be using the same UserControl inside other UserControls? ... (as pure UserControls rather than OCXes) ...
    (microsoft.public.vb.general.discussion)