I need a way to allow HTML coded strings to be inserted into the WebBrowser but not to have the WebBrowser execute it. Similar to how it might be done here when members type in HTML coded examples and it is printed in the posting area.
Printable View
I need a way to allow HTML coded strings to be inserted into the WebBrowser but not to have the WebBrowser execute it. Similar to how it might be done here when members type in HTML coded examples and it is printed in the posting area.
htmlencode it... so that < becomes < and so on...
before you go an build your own or try to do a search replace lookup HTMLEncode VB6.... there should be already something built you can use.
-tg
The < works just fine. It appears that all I have to do is to replace the < with < but I dont have to do it with the ending >. But just in case I do for some reason what is the &??? for >
>
easy way to remember it:
< is Less Than (lt)
> is Greater Than (gt)
-tg
lol, since I saw the < I thought it meant left so I tried &rt; it didn't work!