dynamic code question?

  • Thread starter Thread starter William Stacey
  • Start date Start date
W

William Stacey

Say I have a multi-line text box on a form and "Run" botton. I want to type
a class with fields and methods into the text box and try to instanciate it
and run a method on the class and maybe even capture std out to an "Output"
text box. How could this be done? tia
 
Hi William,

What is the key difficulty in your task?
I think you can get your task done by Reflection.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "William Stacey" <[email protected]>
| Subject: dynamic code question?
| Date: Sun, 14 Sep 2003 14:01:27 -0400
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Message-ID: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: 66.188.59.114.bay.mi.chartermi.net 66.188.59.114
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:184732
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Say I have a multi-line text box on a form and "Run" botton. I want to
type
| a class with fields and methods into the text box and try to instanciate
it
| and run a method on the class and maybe even capture std out to an
"Output"
| text box. How could this be done? tia
|
| --
| William Stacey
|
|
|
|
 
Back
Top