473,406 Members | 2,293 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,406 software developers and data experts.

Code editing and compiling outside VS in my application?

Hi,

I need to support a programming language in my c# application. After
a lot of search in google I'm still trying to figure out where to
start on this. Any ideas? Interresting links?, what are the
possibilities? I have 100 days to include a common programming
language like (console C# / VB.net) in our application.

Is there a kind of code EditBox component already available for
editing C# / VB.net source code?
or at least VB script in my application

On a machine without VS is it possible to install everything needed to
compile code and get a build log?

is VS API is what i'm looking for?

I just need an overview of the possibilities, something to start
with...

Thanks for any help...
Nov 11 '08 #1
3 1626
Lee
On Nov 11, 4:25*pm, michelqa <miche...@yahoo.cawrote:
Hi,

I need to support a programming language in my c# application. *After
a lot of search in google I'm still trying to figure out where to
start on this. *Any ideas? Interresting links?, what are the
possibilities? *I have 100 days to include a common programming
language like (console C# / VB.net) in our application.

Is there a kind of code EditBox component already available for
editing C# / VB.net source code?
*or at least VB script in my application

On a machine without VS is it possible to install everything needed to
compile code and get a build log?

is VS API is what i'm looking for?

I just need an overview of the possibilities, something to start
with...

Thanks for any help...
If you want to stick with C#, look at: CS-Script - The C# Script
Engine @ http://csscript.net/

or if you want to go to a "standard" scripting language, look at lua @
http://www.codeproject.com/KB/mcpp/luanetwrapper.aspx

L. Lee Saunders
http://oldschooldotnet.blogspot.com
Nov 12 '08 #2
michelqa wrote:
On a machine without VS is it possible to install everything needed to
compile code and get a build log?
..net runtime comes with C# (and I guess Visual Basic) compiler, so your
program can generate, compile and run C# programs without VS. I made a
program that reads special form data, generates a C# file that has class
that corresponds to the data, compiles it, loads the object file,
instantiates an object, shows it it ProprertyGrid and saves the the
changes to the original data (which will eventually end in a database).

Check for Microsoft.CSharp.CSharpCodeProvider and reflection.

--
Arto Viitanen
Nov 12 '08 #3
Thanks a lot!!!!!!! I need to read about CSScript and take a look at
the .net runtime doc. At the first look a CLS compliant language
seems to be a good choice. What's the point of CSScript VS .net
runtime if everything can be done directly with .net runtime?

In my application I want a kind of RichTextBox that show .cs or .vb
file with all the common editing feature of VS (even intellisence).
My application must be able to compile, run and debug theses
scripts.
My application is an a utomated testing tool, I already have a lot of C
++/C# functions already done and ready to integrate to a futur
scriting solution.

I'm looking for a simple a powerfull scripting language, it's mainly
giving the ability to the user to do structural conditions, loops,
functions, etc with our home brewed user action functions

What is the best option for this kind of application?
Nov 12 '08 #4

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

Similar topics

6
by: Jeremy Wallace | last post by:
I have a ton of queries that I need users to be able to view. I'd like to have them viewed in a datasheet-view form instead of directly, so that I can keep the users from futzing with the data. ...
1
by: Pedro Medas | last post by:
Hi, We have a C project working well that when recompiling a RC file with MS VC++ .NET returns a error "DIALOGEX file not found". This error seems to be a compatibility error. The project was...
171
by: tshad | last post by:
I am just trying to decide whether to split my code and uses code behind. I did it with one of my pages and found it was quite a bit of trouble. I know that most people (and books and articles)...
8
by: Surendra Singhi | last post by:
Hello, Are there any good open source C/C++ source code formatter? Thanks for your help. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.html ,---- | "O thou my friend! The...
14
by: Usman | last post by:
Hi I'm working on an application that contains classes for licensing, authentication etc, including all the algorithms of encryption/decryption etc. I wanted to secure this code, but after...
1
by: rich | last post by:
Hi all, I have a fairly complex "feed" application that recieves messages from an external user-supplied API via a callback function, and attempts to forward these messages to another...
4
by: Arejan | last post by:
hi i am a beginner in asp.net , but have experience in vb6 my q is can asp.net source code be compiled and make an exe as done in vb6. so that users cannot manipulate the source. my...
2
by: Maj | last post by:
Hello! Even i've read smth about this in this forums.. i still have problems with getting the ascii code of a character. here is my problem I have a string with characters. I have another int...
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.