Need help with reading special characters within my VB code. ASCII code Char(34) = ‘ works fine but Char(60) = < and Char(62) = > are not being read.
My Code
node.FirstChild.InnerText = Chr(60) & 'httpRuntime executionTimeout=' & Chr(34) & '999999' & Chr(34) & ' maxRequestLength=' & Chr(34) & '2097151' & Chr(34) & '/' & Chr(62)
Without ASCII Code
'node.FirstChild.InnerText = '<httpRuntime executionTimeout='999999' maxRequestLength='2097151'/>'
Are you trying to modify a Config file? Try:-
Note all that Chr marlarky is unnecessary, were you trying to avoid
<and>being encoded as XML entities?