Shannon Shang-I think therefore I am

We came here, you and I, to this place and this profession, to be great, to do great things, and give form to great dreams - and we have

i tool for converting to visual studio source code to colorized html

During the Spring Festival ,i have written a tool for converting  source code to HTML .

Following is  a  snapshoot :

For example:

source code:

Private Sub printEnder(iFileNumber As Integer)
    Print #iFileNumber, "</pre>"
    Print #iFileNumber, "</td>"
    Print #iFileNumber, "</tr>"
    Print #iFileNumber, "</table>"
    Print #iFileNumber, "<hr>"
'    Print #iFileNumber, "<p align=right style=" & Chr(34) & _
    "COLOR: yellow; FONT-WEIGHT: bold; FONT-SIZE: 8pt; _
    BACKGROUND-COLOR: #339900; FONT-VARIANT: normal;" & _
    Chr(34) & ">  Generate By Code2Html at " & Now
    Print #iFileNumber, "<p align=right style=" & Chr(34) & _
    "COLOR: white; FONT-WEIGHT: bold; FONT-SIZE: 8pt;" & Chr(34) & _
    "><a href="; Chr(34) & "mailto:ch21st@hotmail.com" & Chr(34) & _
    ">  Generate By Code2Html </span>at " & Now
   
    Print #iFileNumber, "</HEAD>"
    Print #iFileNumber, "</HTML>"

End Sub

After process:


Private Sub printEnder(iFileNumber As Integer)
Print #iFileNumber, "</pre>"
Print #iFileNumber, "</td>"
Print #iFileNumber, "</tr>"
Print #iFileNumber, "</table>"
Print #iFileNumber, "<hr>"

' Print #iFileNumber, "<p align=right style=" & Chr(34) & _

"COLOR: yellow; FONT-WEIGHT: bold; FONT-SIZE: 8pt; _

BACKGROUND-COLOR: #339900; FONT-VARIANT: normal;" & _

Chr(34) & "> Generate By Code2Html at " & Now
Print #iFileNumber, "<p" align=right style="" & Chr(34) & _
"COLOR:" white; FONT-WEIGHT: bold; FONT-SIZE: 8pt;"" & Chr(34) & _
"><a" href=";" Chr(34) & "mailto:ch21st@hotmail.com" & Chr(34) & _
">" Generate By Code2Html at "" & Now

Print #iFileNumber, "</HEAD>"
Print #iFileNumber, "</HTML>"

End Sub

--------

It will support VB ,VB. net ,C++,VC ++,C#,and so on .

Comments

TrackBack said:

^_^,Pretty Good!
# April 12, 2005 10:27 PM

TrackBack said:

^_~,pretty good!csharpsseeoo
# May 18, 2005 8:08 PM

TrackBack said:

i tool for converting to visual studio source code to colorized htmlooeess
# June 15, 2005 9:59 PM

TrackBack said:

i tool for converting to visual studio source code to colorized htmlooeess
# July 17, 2005 2:31 AM

TrackBack said:

i tool for converting to visual studio source code to colorized htmlooeess
# July 31, 2005 10:21 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)