The exception was "null" ...

  • Thread starter Thread starter Rudolf Ball
  • Start date Start date
R

Rudolf Ball

Hi NG,

when trying to drag a UserControl from the toolbox on a Form, this exception
rises:

The exception was ""null" is not a valid value for the 'stream'.".

?

Thank you

Rudi
 
Rudolf Ball said:
when trying to drag a UserControl from the toolbox on a Form, this exception
rises:

The exception was ""null" is not a valid value for the 'stream'.".

?

And what was the stack trace? That sounds like an
ArgumentNullException, but without knowing what threw it, there's not a
lot to go on.
 
when trying to drag a UserControl from the toolbox on a Form, this
exception
rises:

The exception was ""null" is not a valid value for the 'stream'.".

you try to use a stream that is not properly initialized. for example, you
might have tried to create a bitmap or an icon from non-existing assembly
resource (I often get this error in such scenario).

Regards, Wiktor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top