Hey,
Thanks for the help. Here's the errors received...
Error 1 The name 'objChildContentDisplay' does not exist in the current
context
Error 2 The name 'objChildContentDisplay' does not exist in the current
context
Error 3 The name 'objChildContentDisplay' does not exist in the current
context
I'm assuming that this is happening because there's no such thing as
objChildContentDisplay until the frmContentDisplay
objChildContentDisplay = new frmContentDisplay(); is parsed. And I'm
assuming that this is not getting parsed because of the
objChildContentDisplay==null statement. Any ideas?
I have the parent form opening the ContentDisplay form (webbrowser
form) under the _Load function. Should I have the linklabel child form
open it instead?
Thanks,
S. Cole
> Try this:
>
[quoted text clipped - 12 lines]
>
> }
Steven Nagy - 29 Sep 2006 23:49 GMT
Sorry, I made a mistake in the code I wrote!
I redeclared a variable with the same name when I ment to use the same
form level variable.
Here's the new code (spot the difference!) :
> > frmContentDisplay objChildContentDisplay;
> >
[quoted text clipped - 10 lines]
> >
> > }