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

Extracting VC# Code into a text file?

Hi!

is it possible to extract all the code of a project (or a single .cs
file) into a text file? I mean of course I can just do ctrl-c and
ctrl-v, but it would be great if the colors would be kept and if it
would be somehow structured..

the problem is that I need to show someone the code of my project, but
on his computer there is no VC#. (and no, he can't come watch it on
mine :)

Thanks!
Nov 15 '05 #1
3 1256
The colours are added by the IDE. They are not marked up in the actual code.

Do you mean the actual IDE settings for the colour? Thats not stored in the
..csproj or sln files
"Tobias Froehlich" <re*******@gmx.net> wrote in message
news:up********************************@4ax.com...
Hi!

is it possible to extract all the code of a project (or a single .cs
file) into a text file? I mean of course I can just do ctrl-c and
ctrl-v, but it would be great if the colors would be kept and if it
would be somehow structured..

the problem is that I need to show someone the code of my project, but
on his computer there is no VC#. (and no, he can't come watch it on
mine :)

Thanks!

Nov 15 '05 #2
"Tobias Froehlich" <re*******@gmx.net> wrote in message
news:up********************************@4ax.com...
Hi!

is it possible to extract all the code of a project (or a single .cs
file) into a text file? I mean of course I can just do ctrl-c and
ctrl-v, but it would be great if the colors would be kept and if it
would be somehow structured..

the problem is that I need to show someone the code of my project, but
on his computer there is no VC#. (and no, he can't come watch it on
mine :)

Thanks!


Paste from VC# to Word (or even WordPad, if you don't have Word). The
formatting and colors will be preserved.

Ryan LaNeve
Nov 15 '05 #3
Can we have a spellchecker in the next IDE also :D

And a thesarus for naming variables cuz we all know how hard that is :D
"Ryan LaNeve" <ry**@nolanevespam.com> wrote in message
news:#d**************@TK2MSFTNGP12.phx.gbl...
"Tobias Froehlich" <re*******@gmx.net> wrote in message
news:up********************************@4ax.com...
Hi!

is it possible to extract all the code of a project (or a single .cs
file) into a text file? I mean of course I can just do ctrl-c and
ctrl-v, but it would be great if the colors would be kept and if it
would be somehow structured..

the problem is that I need to show someone the code of my project, but
on his computer there is no VC#. (and no, he can't come watch it on
mine :)

Thanks!


Paste from VC# to Word (or even WordPad, if you don't have Word). The
formatting and colors will be preserved.

Ryan LaNeve

Nov 15 '05 #4

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

Similar topics

4
by: lecichy | last post by:
Hello Heres the situation: I got a file with lines like: name:second_name:somenumber:otherinfo etc with different values between colons ( just like passwd file) What I want is to extract...
2
by: Avi | last post by:
hi, Can anyone tell me what the problem is and how to solve it The following piece of code resides on an asp page on the server and is used to download files from the server to the machine...
5
by: Michael Hill | last post by:
Hi, folks. I am writing a Javascript program that accepts (x, y) data pairs from a text box and then analyzes that data in various ways. This is my first time using text area boxes; in the past,...
2
by: Kevin K | last post by:
Hi, I'm having a problem with extracting text from a Word document using StreamReader. As I'm developing a web application, I do NOT want the server to make calls to Word. I want to simply...
6
by: Amma | last post by:
Hello Every one , Pls help me to extracting number from a text file since I am new to perl programming . I have a file and need to extract the number after semicolon in that ...
2
by: VictorTan | last post by:
Hello. I'm new to this forum. Hope that I don't make mistakes in here but if I do, please correct me if there is. Thanks. I also wanted to ask you guys regarding about the following following...
3
by: Clarisa | last post by:
Hello Folks I am working on extracting lines of data in a text file based on the string it contains. This is the text file called info.txt:
6
by: Werner | last post by:
Hi, I try to read (and extract) some "self extracting" zipefiles on a Windows system. The standard module zipefile seems not to be able to handle this. False Is there a wrapper or has...
4
by: dexter48 | last post by:
Hi I'm searching for a string occurance in a text file. I find the string ok and write the results to a log file. But on the line above is also some information I need. How can i get that. The string...
4
by: poolboi | last post by:
hi guys i've having some problem extracting data from a text file example if i got a text file with infos like: Date 2008-05-01 Time 22-10 Date 2008-05-01 Time 21-00 Date 2008-05-02 Time...
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...
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
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
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...
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.