Re: Working with 2 forms...

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jan Roelof de Pijper (jr_de_pijper_at_hotmail.com)
Date: 03/28/04


Date: Sun, 28 Mar 2004 23:29:55 +0200

On Sat, 27 Mar 2004 13:08:04 -0500, "Nicholas Paldino [.NET/C# MVP]"
<mvp@spam.guard.caspershouse.com> wrote:

>Jan,
>
> The reason for this is that you are declaring the variable to be of type
>Form, not frmScreen. Change the line to:
>
>frmScreen frmMyScreen = new frmScreen( );
>
> And it should be ok.

Thanks! I really and truly blundered here. I have been programming
C++/MFC too long to pull something stupid like this :(

Jan Roelof



Relevant Pages

  • Re: If I was...
    ... >>>You cannot seriously be this stupid. ... >>Dude, your ignorance regarding racism is beginning to astound. ... would vote for a black candidate for the same reason. ... you have no understanding that it isn't relieved by voting for a ...
    (misc.writing)
  • Re: If I was...
    ... >>You cannot seriously be this stupid. ... >>>as well as whites are. ... >Dude, your ignorance regarding racism is beginning to astound. ... You haven't given one good reason for considering black racism to be ...
    (misc.writing)
  • Re: Obama and abortion
    ... That's not the reason they aren't human, but the point is that they ARE ... Show the scientific evidence of a 3 week old fetus dreaming. ... Saying they aren't human would be stupid, ... Are we smart enough and brave enough and honest enough to acknowledge what we ARE destroying, not just say what we are NOT? ...
    (rec.gambling.poker)
  • Re: How to count pulses per second ?
    ... the issue is your attitude. ... Don't ask questions you know are stupid. ... were giving Ed for no reason at all. ... impress, then I'd be impressed by you, but the fact is, I'm not. ...
    (sci.electronics.basics)
  • Re: If I was...
    ... No reason, it's just magic. ... It's a stupid way to look at the world, ... >>as well as whites are. ... >>knowing how the toaster works, ...
    (misc.writing)