kb244
Sep 25th, 2000, 11:45 AM
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
"bgcolor=" & chr(34) & "#000000" & chr(34)
I cannot sucessfully get it to work in
Response.Write "<TD " & SplitThem(1) & "> </TD>" & vbcrlf
which in turn would make my HTML look like this.
<TD "bgcolor=" & chr(34) & "#ffffff" & chr(34)> </TD>
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.
(HTMLEncode becomes useful when I Want show the value out to the screen before previewing)
"bgcolor=" & chr(34) & "#000000" & chr(34)
I cannot sucessfully get it to work in
Response.Write "<TD " & SplitThem(1) & "> </TD>" & vbcrlf
which in turn would make my HTML look like this.
<TD "bgcolor=" & chr(34) & "#ffffff" & chr(34)> </TD>
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.
(HTMLEncode becomes useful when I Want show the value out to the screen before previewing)