Go to Post There's no problem another CIM motor wouldn't fix! - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > Other > Chit-Chat
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-04-2010, 10:46
Carlee10's Avatar
Carlee10 Carlee10 is offline
Loves F.I.R.S.T.!!!!!!
FRC #1529 (CyberCards)
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Indiana
Posts: 580
Carlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to behold
Visual Basic?

I need some Visual Basic.Net help. Im using an older edition, and I didn't see anything in the programming, so I put it here.....feel free to move it. I have code for the project (Pig Latin Translator) I am working on if anyone thinks they might be able to fix/help it. Thanks.


/code/ ' Uses select case to determine vowels and consonants, and to translate text to
' pig latin.

Dim strInput As String = ""
Dim str1stCharacter As String = ""
Dim strOutput As String = ""
Dim intStringLength As Integer = 0
strInput = txtInput.Text
str1stCharacter = Microsoft.VisualBasic.Left(strInput, 1)
Select Case str1stCharacter.ToUpper()
Case "A", "E", "I", "O", "U"
strOutput = strInput & "WAY"
Case Else
intStringLength = Len(strInput)
strOutput = Microsoft.VisualBasic.Right(strInput, 3) & Microsoft.VisualBasic.Left(strInput, 2) & "AY"
End Select
MessageBox.Show("The Pig Latin Translation is: " & strOutput)
Exit Sub
/code/
__________________
Attending- College!
Awards: BMR's 2008 Judges Award
"Courage is not the absence of fear, but rather the judgment that something else is more important than fear. The brave may not live forever, but the cautious do not live at all."- Movie quote
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic basicxman IT / Communications 11 13-11-2007 23:43
Custom Dashboard - Visual Basic Mike Lat Programming 3 23-01-2005 14:26
Visual Basic dddriveman Programming 12 20-03-2004 13:03
Visual Basic 6 Dashboard LBK Rules Programming 1 22-01-2003 13:06


All times are GMT -5. The time now is 00:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi