There's several methods to convert ASCII to numerics. There's Scan From String, String to Byte Array, type casting, etc. The exact method used will depend on what your string actually is. Can you post an example? For converting hex, see
this post. For other examples, try doing a search of the forum. Numerous questions and examples on this subject have been posted.