Re: Dynamically Add a Control to a Form
From: Paul J. Lay (pjlay_at_msn.com)
Date: 04/28/04
- Next message: Ioannis Vranos: "Re: Menu on the right"
- Previous message: Jack Li: "DataGrid, help !"
- In reply to: Ying-Shen Yu[MSFT]: "RE: Dynamically Add a Control to a Form"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Apr 2004 12:53:07 -0400
That was the problem. I missed it when I checked the source. Thanks very
much for pointing this out.
Best Regards,
Paul J. Lay
""Ying-Shen Yu[MSFT]"" <v-yiy@online.microsoft.com> wrote in message
news:F5FXtJOLEHA.3900@cpmsftngxa10.phx.gbl...
> Hi Paul,
>
> I checked the code in that KB article, the dot has been included in the
> prefix string in the follow statement.
> >>>CtrlType = "System.Windows.Forms." +
> cboControlType.SelectedItem.ToString();
>
> Did you have this dot in the same place? You need add it if the dot is not
> there.
> If you still have problem to run the KB sample code, please feel free to
> let me know and provide me some more information, such as compiler error,
> exception type/message/stacktrace etc.
>
> Thanks!
> Best regards,
>
> Ying-Shen Yu [MSFT]
> Microsoft Community Support
> Get Secure! - www.microsoft.com/security
>
> This posting is provided "AS IS" with no warranties and confers no rights.
> This mail should not be replied directly, please remove the word "online"
> before sending mail.
>
- Next message: Ioannis Vranos: "Re: Menu on the right"
- Previous message: Jack Li: "DataGrid, help !"
- In reply to: Ying-Shen Yu[MSFT]: "RE: Dynamically Add a Control to a Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|