Posting Code

John
02-17-2002, 10:18 AM
I have noticed that more people are starting to use syntax highlighting when posting code and I am wondering:

Do you do all the highlighting by hand, meaning changing the font color for each piece, or is there some kind of tag I could use to do this in the code that I post here.

I usually open an empty project and type the code in there to test my answers to people and then paste it here so changing the font color for each item seems like it would be tedious.

Thanks

ChiefRedBull
02-17-2002, 10:25 AM
Theres a couple of programs around, one by VolteFace, and one by JDT that will color code for you.
Search the forum for "CodeTag"...

here (http://www.visualbasicforum.com/showthread.php?threadid=14956&highlight=codetag) is one.
here (http://www.visualbasicforum.com/showthread.php?threadid=18035&highlight=code+coloring) is another....

John
02-17-2002, 10:32 AM
Thanks for that, once again ChiefRedBull comes to my rescue. This is becoming a habit Chief ;)

Thanks

Volte
02-17-2002, 10:44 AM
I just realized I have yet to release the source to this, so, I will do that... soon. It's all commented nicely, and wrapped inside a class, so, whatever. :)

BTW, that first one is postWriter which has nothing to do with codeTag. It's obselete now.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum