Pig Latin Is Challenging?

Nov 12, 2009

i need to create somthing that lets someone enter a work and it will show it in pig latin form this is what i need.

1. If the word begins with a vowel then add -way to the end of the word like if they put "ant" it will show "ant-way"

2. if it doesnt start with a vowel then add a dash to the end and move the letters from the front to behind the dash untill it hits a vowel then put "ay" at the end so "Chair" is "air-Chay"

3. if it doesnt contain a vowel then ass "-way" to then end so "56" is "56-way"

this is what i just started...

Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click
Dim oldpass As String = txtEnglish.Text
Dim coded As String = txtEnglish.Text
Dim NumChars As Integer

[code]....

View 5 Replies


ADVERTISEMENT

Error With VB Programming Is Challenging?

Dec 6, 2011

I am trying to finish up a project and can not figure out what I am doing wrong. Very frustrated with this. I am getting an error "InvalidCastException was unhandled" and I am not getting my calculation. I have changed the program and worked on this for several days and decided to ask for some help. Below is my code.
Form code

[Code]...

View 6 Replies

Pig Latin Translator In VB?

May 2, 2012

Im having serious problems with this code. I can get the first and last words to change into pig latin but the middle of my phrase stays the same. I also seem to have problems with it repeating itself.

Public Class Form1
Private Sub translatebutton_Click(sender As System.Object, e As System.EventArgs) Handles translatebutton.Click
Dim pig As String = ""

[code]....

View 4 Replies

Fixing Up A Pig Latin Program?

Apr 26, 2012

I am using Visual basic 2010 Express.For example:

1)Make it translate full sentences.

2)Make it so that you can have punctuation marks.

3)And with words such as Th and Qu make them

like The = hethay and quick = ickquay

Code:
Public Class Form1
Private Sub ConvertPigLatin(ByVal wordConvert As String, ByRef pigLatinWord As String)
If wordConvert.Substring(0, 1).ToUpper Like "[AEIOU]" Then

[code]....

View 8 Replies

Translate English To Pig Latin?

Apr 28, 2009

I'm Trying to create a form that has 2 multiLine Textboxes one of which you enter text and the other that shows the text in piglatin.

View 2 Replies

Removing Latin Accents In Text

Apr 10, 2012

What .Net functionality will allow a conversion from unicode to 7bit characters? For example, let's say that I want to convert "" to "eea". I thought I would find it in System.Text but it has been eluding me.

View 6 Replies

Writeline Method And Latin Fonts?

Aug 30, 2010

I have a few latin fonts that crashes the writeline method in Visual Basic.How do I force it to work? Replacing the font is not an option.

View 13 Replies

Counting Words That Start With A Vowel. (Pig Latin)

Nov 9, 2009

I am trying to figure out how to count the words that start with a vowel and also count the words that start with a consonant. I have tried several different ways on trying to do this but no luck. I have worked on this for a couple days already. Very frustrated I need some assistance with this issue

Here is the code I have so far:[code...]

View 8 Replies

How To Make Textbox Accept Only Latin Characters And Numbers

Dec 11, 2011

How Can I make TextBox accept only Latin characters and numbers.?

View 9 Replies

VS 2008 Code - Making An English To Pig Latin Translator

Apr 16, 2011

i can always get the first word to translate but the other words jumble together and sometimes repeat themselves. The rules for this program are as follows: To translate an English word into a pig Latin word, place the first letter of the English word (if it is not a vowel) at the end of the English word and add the letters ay. If the first letter of the English word is a vowel, place it at the end of the word and add Using this method, the word jump become umpjay, the word the becomes hetay and the word ace becomes ceay. Blanks between words remain blanks. So far this is what I've got:

[Code]....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved