Click here to Skip to main content
15,924,935 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb 2008 methods Pin
Steven St. John19-Sep-12 4:19
Steven St. John19-Sep-12 4:19 
AnswerRe: vb 2008 methods Pin
Paul Conrad19-Sep-12 5:33
professionalPaul Conrad19-Sep-12 5:33 
QuestionBytes overflowing despite modulo... [Solved] Pin
Saul Johnson16-Sep-12 13:28
Saul Johnson16-Sep-12 13:28 
AnswerRe: Bytes overflowing despite modulo... Pin
Dave Kreskowiak16-Sep-12 17:46
mveDave Kreskowiak16-Sep-12 17:46 
GeneralRe: Bytes overflowing despite modulo... Pin
Saul Johnson16-Sep-12 23:22
Saul Johnson16-Sep-12 23:22 
QuestionUpdater Help Pin
Bryan Muschter16-Sep-12 10:10
Bryan Muschter16-Sep-12 10:10 
AnswerRe: Updater Help Pin
Saul Johnson16-Sep-12 13:43
Saul Johnson16-Sep-12 13:43 
GeneralRe: Updater Help Pin
Bryan Muschter16-Sep-12 16:52
Bryan Muschter16-Sep-12 16:52 
AnswerRe: Updater Help Pin
Paul Conrad16-Sep-12 17:26
professionalPaul Conrad16-Sep-12 17:26 
GeneralRe: Updater Help Pin
Bryan Muschter17-Sep-12 15:01
Bryan Muschter17-Sep-12 15:01 
QuestionPrintPreviewControl InvalidatePreview wont triger Pin
JR21216-Sep-12 8:40
JR21216-Sep-12 8:40 
Questionshape of number Pin
memas6316-Sep-12 6:24
memas6316-Sep-12 6:24 
AnswerRe: shape of number Pin
Wes Aday16-Sep-12 6:44
professionalWes Aday16-Sep-12 6:44 
GeneralRe: shape of number Pin
memas6316-Sep-12 7:00
memas6316-Sep-12 7:00 
GeneralRe: shape of number Pin
Wes Aday16-Sep-12 7:08
professionalWes Aday16-Sep-12 7:08 
GeneralRe: shape of number Pin
memas6316-Sep-12 7:13
memas6316-Sep-12 7:13 
GeneralRe: shape of number Pin
Wes Aday16-Sep-12 7:18
professionalWes Aday16-Sep-12 7:18 
GeneralRe: shape of number Pin
memas6316-Sep-12 7:19
memas6316-Sep-12 7:19 
GeneralRe: shape of number Pin
Steven St. John16-Sep-12 16:03
Steven St. John16-Sep-12 16:03 
XML
Here's some code that might give you an idea, since it takes a string, iterates through character by character, and tests each character.  Obviously your test will be different, but it should get you on the right track.  Taken from <a href="http://msdn.microsoft.com/en-us/library/system.string.chars.aspx">MSDN</a>[<a href="http://msdn.microsoft.com/en-us/library/system.string.chars.aspx" target="_blank" title="New Window">^</a>].

<pre lang="vb">Console.Write("Type a string : ")
Dim myString As String = Console.ReadLine()
Dim i As Integer
For i = 0 To myString.Length - 1
   If Uri.IsHexDigit(myString.Chars(i)) Then
      Console.WriteLine("{0} is a hexadecimal digit.", myString.Chars(i))
   Else
      Console.WriteLine("{0} is not a hexadecimal digit.", myString.Chars(i))
   End If
Next
' The example produces output like the following:
'    Type a string : 3f5EaZ
'    3 is a hexadecimal digit.
'    f is a hexadecimal digit.
'    5 is a hexadecimal digit.
'    E is a hexadecimal digit.
'    a is a hexadecimal digit.
'    Z is not a hexadecimal digit.  </pre>

GeneralRe: shape of number Pin
memas6317-Sep-12 0:42
memas6317-Sep-12 0:42 
QuestionI need to copy a file into (anyone's) Startup Folder w/ no Access errors... Pin
WillB1215-Sep-12 22:45
WillB1215-Sep-12 22:45 
AnswerRe: I need to copy a file into (anyone's) Startup Folder w/ no Access errors... Pin
Richard MacCutchan16-Sep-12 0:18
mveRichard MacCutchan16-Sep-12 0:18 
GeneralRe: I need to copy a file into (anyone's) Startup Folder w/ no Access errors... Pin
WillB1216-Sep-12 0:39
WillB1216-Sep-12 0:39 
GeneralRe: I need to copy a file into (anyone's) Startup Folder w/ no Access errors... Pin
Richard MacCutchan16-Sep-12 1:07
mveRichard MacCutchan16-Sep-12 1:07 
GeneralRe: I need to copy a file into (anyone's) Startup Folder w/ no Access errors... Pin
WillB1216-Sep-12 3:23
WillB1216-Sep-12 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.