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
 
Back
Top