RE: system.invalidcastexception
- From: "billr" <billr@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Aug 2005 06:30:03 -0700
Sounds to me that the control you are using does not implement
ISupportInitialize
how to make the Exception go away? ... remove the code.
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk
http://greyskin.co.uk
"DavideR" wrote:
> I have converted my program from vb6
> In the initializecomponent event the following code give a n exception
> CType(Me.controlname, System.ComponentModel.ISupportInitialize).EndInit()
> Exception first-chance of type "System.InvalidCastException" in
> system.windows.forms.dll
>
> Additional information: Cast not supported.
> what's wrong? I am using vsnet2002 with framework 1.0 sp3.
> how can i take this exception away
>
.
- Follow-Ups:
- RE: system.invalidcastexception
- From: DavideR
- RE: system.invalidcastexception
- References:
- system.invalidcastexception
- From: DavideR
- system.invalidcastexception
- Prev by Date: RE: pros and cons of using stored procedures for VB app ?
- Next by Date: Re: how do i launch the browser with the file I want loaded?
- Previous by thread: system.invalidcastexception
- Next by thread: RE: system.invalidcastexception
- Index(es):
Relevant Pages
|