Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 20, 2012 01:57 PM by Mudasir.Khan
Member
178 Points
382 Posts
Jul 20, 2012 12:26 PM|LINK
hi there i need allow user to write some code in a textbox and run it i use the MSScriptControl.ScriptControl component the problem is that when the user write the code like :"dim obj as new CLS_Excel"
my code returns error :"incorrect syntax" and i have in my project CLS_Excel class
how can i do? i need allow user to manipulate my code and manipulate my controls
All-Star
15346 Points
3142 Posts
Jul 20, 2012 01:57 PM|LINK
please check this
http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm
http://www.codeproject.com/Articles/6492/A-tool-for-dynamic-compile-and-run-of-C-or-VB-NET
amodius
Member
178 Points
382 Posts
suging MSScriptControl.ScriptControl in my project
Jul 20, 2012 12:26 PM|LINK
hi there
i need allow user to write some code in a textbox and run it
i use the MSScriptControl.ScriptControl component
the problem is that when the user write the code like :"dim obj as new CLS_Excel"
my code returns error :"incorrect syntax"
and i have in my project CLS_Excel class
how can i do?
i need allow user to manipulate my code and manipulate my controls
Mudasir.Khan
All-Star
15346 Points
3142 Posts
Re: suging MSScriptControl.ScriptControl in my project
Jul 20, 2012 01:57 PM|LINK
please check this
http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm
http://www.codeproject.com/Articles/6492/A-tool-for-dynamic-compile-and-run-of-C-or-VB-NET