Two options

(1)
Simple way is this

Memotext = replace(Memotext, vbcrlf, "<BR>")

html isn't recognising the carrage returns.


(2)
Better way, like this site I assume is have a tag like [ code ] and a "VBtext-> html coloured_code" activex dll (I have one somewhere) then have the asp file use method 1 for normal text and the createobject on the dll for code text.

I've been meaning to do this too but I don't have an NT server with static IP for a server. I have something similar on the intranet though.