By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

Can VS.NET code editor window be used as a control?

P: n/a
I would like to be able to view-only Visual Studio code files (.vb, .cs) in
an application outside of Visual Studio. Is it possible to show the code in
the same rich formatting (at least colors and indentation) as in a Visual
Studio code editor page? Could be either an .rtb or VS.NET text control.
Any ideas how to proceed?

Thanks,
Dean Slindee
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "Dean Slindee" <sl*****@charter.net> scripsit:
I would like to be able to view-only Visual Studio code files (.vb, .cs) in
an application outside of Visual Studio. Is it possible to show the code in
the same rich formatting (at least colors and indentation) as in a Visual
Studio code editor page? Could be either an .rtb or VS.NET text control.
Any ideas how to proceed?


You can base your implementation on the text editor component of
SharpDevelop:

SharpDevelop @ic#code
The Open Source Development Environment for .NET
<URL:http://www.icsharpcode.net/OpenSource/SD/>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

P: n/a
I have been programming for 8 years now, and the one control that has really
frustrated me is the code editor. The functionality required by it goes far
beyond the features presented by .NET languages. If you want to make your
own control (which I highly NOT recommend), I suggest you make it in C++.
Very tough though.....

See the post above. SharpDevelop has done it.

"Dean Slindee" <sl*****@charter.net> wrote in message
news:10*************@corp.supernews.com...
I would like to be able to view-only Visual Studio code files (.vb, .cs) in an application outside of Visual Studio. Is it possible to show the code in the same rich formatting (at least colors and indentation) as in a Visual
Studio code editor page? Could be either an .rtb or VS.NET text control.
Any ideas how to proceed?

Thanks,
Dean Slindee

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.