PC Review


Reply
Thread Tools Rate Thread

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

 
 
Dean Slindee
Guest
Posts: n/a
 
      25th Aug 2004
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


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      25th Aug 2004
* "Dean Slindee" <(E-Mail Removed)> 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/>
 
Reply With Quote
 
Juan Romero
Guest
Posts: n/a
 
      25th Aug 2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control the Excel VBA Editor Main Window Caption stuartt Microsoft Excel Programming 6 17th Apr 2008 09:35 AM
Running code from the VBA editor Window =?Utf-8?B?V2F2ZXF1YXRpb24=?= Microsoft Access VBA Modules 4 17th Oct 2007 01:30 AM
Total Loss of control in VS.net 2005 code window Elmo Watson Microsoft Dot NET Framework Forms 5 1st May 2007 07:21 AM
Can we re-use the code editor window? Marc Gravell Microsoft C# .NET 2 3rd Jan 2006 02:44 PM
help form - control code window =?Utf-8?B?RXJubw==?= Microsoft Access Form Coding 0 9th Feb 2005 08:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:34 PM.