I have a bunch of constants(being loaded from a file through an activeX dll so users can edit/preview the values), and I Want the user to be able to preview their value, however, since the value retrived looks like this
I cannot sucessfully get it to work inCode:"bgcolor=" & chr(34) & "#000000" & chr(34)
which in turn would make my HTML look like this.Code:Response.Write "<TD " & SplitThem(1) & "> </TD>" & vbcrlf
is there any way to "VB"Encode the string, so that the text meant to be processed when normally used in a constant, gets encoded when I put it into a preview like above.Code:<TD "bgcolor=" & chr(34) & "#ffffff" & chr(34)> </TD>
(HTMLEncode becomes useful when I Want show the value out to the screen before previewing)




Reply With Quote