473,378 Members | 1,236 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Allow the user to add his C# code class at runtime

Hi all,

I am working in a simulator (C# window application) for networks. I want to
allow the user to add his own code (e.x. routing protocol) written in C#. How
can I give my simulator to provide such capability? (In a way similar to
MATLAB for example where we can build .m file to the WORK directory and
MATLAB implement it).

Do I need to include the C# compiler eith the setup file? if so How can I do
it? and How can I told the simulator to pick the class code from a special
directory?

Please if somebody know anything or at least some headlines from where I
could start please help me.

Ghada

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...sharp/200608/1

Aug 19 '06 #1
2 1555
Rick Strahl has a great article on doing this here
http://www.west-wind.com/presentatio...ynamicCode.htm

Cheers,

Greg
"Ghada Al-Mashaqbeh via DotNetMonster.com" <u7793@uwewrote in message
news:64fee63670e64@uwe...
Hi all,

I am working in a simulator (C# window application) for networks. I want
to
allow the user to add his own code (e.x. routing protocol) written in C#.
How
can I give my simulator to provide such capability? (In a way similar to
MATLAB for example where we can build .m file to the WORK directory and
MATLAB implement it).

Do I need to include the C# compiler eith the setup file? if so How can I
do
it? and How can I told the simulator to pick the class code from a special
directory?

Please if somebody know anything or at least some headlines from where I
could start please help me.

Ghada

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...sharp/200608/1

Aug 19 '06 #2
Thank you very much Greg.

Ghada

Greg Young wrote:
>Rick Strahl has a great article on doing this here
http://www.west-wind.com/presentatio...ynamicCode.htm

Cheers,

Greg
>Hi all,
[quoted text clipped - 15 lines]
>>
Ghada
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...sharp/200608/1

Aug 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: MLH | last post by:
I would like to allow users to set, as an application default, a specific printer to send reports to. I don't know how to bring up a list of valid print devices in A97, nor do I know how to...
6
by: Earl Teigrob | last post by:
I am writing an application that dynamically loads user controls at run time based on user options. I would like to give my users the ability to build their own user controls and add them to my...
8
by: Razak | last post by:
Hi, I have a class which basically do Impersonation in my web application. From MS KB sample:- ++++++++++++++++++++code starts Dim impersonationContext As...
1
by: Reza Nabi | last post by:
Bakground: I have a webform (LoadCtl.aspx) which loads the user control to a placeholder dynamically based on the ctlName querystring passed in the URL. Webform (LoadCtl.aspx) also passes a...
4
by: rushikesh.joshi | last post by:
Hi All, I have created my own WebControl and want to add it in my aspx page at runtime. it's compiling perfectly, but when i m going to execute, it gives me error of "Object reference not set...
0
by: Ghada Al-Mashaqbeh via DotNetMonster.com | last post by:
Hi all, I am working in a simulator (C# window application) for networks. I want to allow the user to add his own code (e.x. routing protocol) written in C#. How can I give my simulator to...
3
by: Dmitry | last post by:
I am trying to figure out how to pass set of credentials to System.IO Challenge is: App is running under one set of credentials, but via GUI user have a chance to enter another set. I would like...
7
by: MLH | last post by:
I use this line DoCmd.SelectObject acTable, "tblAdmin", True when I want to display database window. Often- times, working on a remote mde via a TCP/IP connection, its convenient to have a...
9
by: J055 | last post by:
Hi I have a standard asp page which uses a MasterPage. The MasterPage contains a User control. How can I access a public method in the User control from my WebForm page? I can't move the method...
4
by: =?Utf-8?B?WmFyYm9yZw==?= | last post by:
I'm writing a little program that will run when a user logs in, checks their password expiration and also installs a piece of monitoring software if necessary. The program has to run on Vista so I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.