Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   exception error (http://www.programmingforums.org/showthread.php?t=13366)

boatn19 Jun 17th, 2007 5:12 PM

exception error
 
I bolded the area where I am receiving the error

:


Do
pigLatin = originalWord.Substring(0, 1)
originalWord = originalWord.Remove(0, 1)
length = originalWord.Length
Loop Until originalWord.Substring(0, 1) Like "[AEIOU]"
If originalWord.Substring(0, 1) Like "[AEIOU]" Then
originalWord = originalWord & "ay"
Me.Label1.Text = "This word in pig latin is " & originalWord.ToLower & "."
End If


mackenga Jul 10th, 2007 6:57 PM

(I know it's been a while since this question, but nobody has responded so I still think it's legitimate to do so!)

This doesn't look like classic VB to me - I suspect you would get more of a response if you specified what exception you were getting, and tried the VB.NET forum.


All times are GMT -5. The time now is 11:21 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC