473,396 Members | 1,997 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,396 software developers and data experts.

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

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
2 1425
* "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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Ed Suominen | last post by:
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted. An initial plan is to use a Twisted PB server daemon that accepts user:password:file connections from...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
11
by: Keith | last post by:
I apologize for those of you who think I'm posting on the same topic. It is not that I don't appreciate all of your comments - and I'm definitely reading them all - but I think I have a differing...
1
by: Angus Lepper | last post by:
I'm writing a stock ticker for a stock market simulation, and can load the data into the xmlreader in the first place, but can't figure out how to refresh/update the data in it. Any ideas? Code:...
11
by: Tim Marshall | last post by:
I use Terry Kreft's & Stephen Lebans colour dialog procedures for users to pick colours for various control properties in certain apps. Is there a way to take the colour code that is displayed in...
10
by: =?Utf-8?B?Tm90cmUgUG91YmVsbGU=?= | last post by:
Hello, I have a legacy MFC application that has a lot of editor functionality associated with a class that extends CFrameWnd. This editor watches for key down events by using the OnKeyDown...
19
by: Eric S. Johansson | last post by:
Almar Klein wrote: there's nothing like self interest to drive one's initiative. :-) 14 years with speech recognition and counting. I'm so looking to my 15th anniversary of being injured next...
4
NeoPa
by: NeoPa | last post by:
Introduction: Macro Security Levels in MS Office applications are recommended to be set to High. This stops any VBA code associated with a project from running, unless it is signed (with a...
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.