Click to See Complete Forum and Search --> : Vb small utility for code coloring
Cimperiali
November 8th, 2002, 04:59 AM
'Improved a bit to handle case of someone
'activating twice the color option....
---and I added a delete of extra vbcrlf while uncolorizing---
'Reloaded new one
'Cloning Yves idea and utility, I build a similar program in Vb
'that works for Vb code. You can also rightClick on icon in tray
'for some customizations
---and for an "Uncolor unCode" option ---
'
'Sources are included.
'
'Credits should be given to Yves
'
'Have a nice day, you all
Cesare Imperiali
on 12-04-2002 at 10:33 PM
...mmm....
Yves Utility seen by more than 2600 people;
mine and JeffB together...only around 600...
...mmmm.... :rolleyes:
Platinum Plus
November 8th, 2002, 05:45 AM
Tight code ;)
Simon666
November 8th, 2002, 05:47 AM
While you are busy, could you add a link to my color code utility too? It is also in Yves thread. (http://www.codeguru.com/forum/showthread.php?s=&threadid=216655&pagenumber=2) It uses mainly MFC and is easier to understand and modify than Yves' code I think.
Yves M
November 8th, 2002, 08:32 AM
*grumpy* so you don't like my programming style ?
;)
Simon666
November 8th, 2002, 08:44 AM
Originally posted by Yves M
*grumpy* so you don't like my programming style ?
;) No, I already told once before : I don't understand your programming style :(. I know some Visual, some C, but nothing specific to C++ that is not in C. I'm intending to work on that in my vacation at the end of the year.
JeffB
November 8th, 2002, 10:13 AM
Cimperiali, your program is amazingly good!
The code is even enough easy to read that I've already modified it :)
JeffB
Yves M
November 8th, 2002, 10:51 AM
Originally posted by Simon666
I know some Visual, some C, but nothing specific to C++ that is not in C.
I had the same problem when I started off with C++. I recommend you get Stroustrup's "The C++ Programming Language". It's really, really, really useful :)
But it's true that with the current layout of the files, the program is hard to read. CBasicNet did manage to, but he must have spent some time on it ;). I'll try and order things a bit clearer.
]Originally posted by JeffB
Cimperiali, your program is amazingly good!
The code is even enough easy to read that I've already modified it
See, Cimperiali I said that your program was very cool :)
Cimperiali
November 8th, 2002, 11:40 AM
Sometimes I feel as if I mesmerized people, as usually do not
think at my code as cool. Sometimes plain code, somelse
redundant one, but never "cool"...(and indeed JeffB has just "modified it", thus it needed improvements...)
'
Well, thanks all for kind words...
'
;)
CBasicNet
November 8th, 2002, 08:34 PM
Originally posted by Yves M
But it's true that with the current layout of the files, the program is hard to read. CBasicNet did manage to, but he must have spent some time on it ;). I'll try and order things a bit clearer.
No, I didn't read your code. I just inserted my code before yours. But that's because your color tags may contains numbers as in [*COLOR=#008800*] in the future, so I need to parse before your parsing.
Eventually, I will read your code to learn to do all those cool stuff.:D
Yves M
November 8th, 2002, 09:10 PM
lol ok, you can tell that I didn't really read your code either :p
CBasicNet
November 9th, 2002, 01:42 AM
hey, I couldn't compile your latest program.
Even after I changed the cursor from IDC_HAND to IDC_ARROW, it crashes upon exit.
Looks like it is because I didn't have platform SDK.:rolleyes:
Those VC/VB to HTML conversion will be very useful to those who write articles for CodeGuru and those who write their own programming webpages.:)
Yves M
November 9th, 2002, 07:04 AM
And when you just run the version I compiled, does it work fine ? *concerned*
CBasicNet
November 9th, 2002, 10:24 AM
Yes.
Yves M
November 11th, 2002, 04:41 PM
Nice :)
Cimperiali
November 12th, 2002, 09:35 AM
I did it again!
'------------------------------------------------------------
For those who mhight be interested, I reloaded
project with some improvements in code...
Cesare I.
'------------------------------------------------------------
Never satisfied of it... And -Thanks to JeffB- now I will
Inform you on versioning. Btw, I forgot to check the
"Autoincrement box" in project making....
JeffB
November 12th, 2002, 10:13 AM
The version 1.6.3
There is nothing to say about it, it's the same thing as 1.6 except some minor minor bugs correction ;)
All credits should go to Cimperiali and to Yves M. ;)
Source code and EXE included ;)
JeffB
Cimperiali
November 12th, 2002, 12:19 PM
Start calling it "your own code color". This is an order! ;)
I will look at it tomorrow (must go now)
See you,
Cesare Imperiali
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.