Make A 'translator' That Will Simply Just Swap Each Letter?
Nov 15, 2010
I'm trying to make a 'translator' that will simply just swap each letter with each other, (a = b, b = a, c = d, d = c ect.), when the user types something into a textbox. How would I go about making it?
View 6 Replies
ADVERTISEMENT
Sep 7, 2009
I want to make a translator like this: [URL]...I have already made two textboxes and a button. If I type in textbox 1 abc then textbox 2 must say nop. I already know the If textbox1.text = "abc" then textbox2.text = nop. I don't want that i want to translate the a to a n and the b to a o and the c to p. So i want to translate every single letter and make it 1 word. Its like a secret code. My language looks like that a=nb=oc=pd=qe=rf=sg=th=ui=vj=wk=xl=ym=z n=ao=bp=cq=dr=es=ft=gu=hv=iw=jx=ky=l z=m
View 22 Replies
Jun 28, 2010
I am a vb newbie having some trouble with an assignment. A user enters a letter into a text box, and the output must make the letter uppercase and tell what position the letter is at in the sentence "The quick brown fox jumps over a lazy dog."
Here is my
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
[CODE]...............
This is what comes out: "A first occurs in position -1". Everything comes out except the position is always displayed as -1.
View 4 Replies
Jan 9, 2010
I have a couple people asking me to make a Na'Vi translator (for those who saw Avatar). If I was to take on such a project, how would you go about creating a language translator in VB? (i.e. *TargetLanguage* -> English and visa-versa)
View 13 Replies
Mar 19, 2012
i've tried to make a leet translator but it fails.
View 7 Replies
Oct 5, 2009
I want to make my translator interactive with the user. In microsoft Word the User can change the dictionary terms of the word or insert a word to make the (little red line) beneath a misspelt word go away. In my translator program. I have a databank of words that are inside a strArray. The strArray is read as EnglishWord[SpanishDefinition] and SpanishWord[EnglishDefinition] inside the DataBank. I want the user to be able to insert a word with it's definition if the databank does not have the word or the definition...
View 13 Replies
May 9, 2010
i need to make a program that simply takes current date and the input date (users birth date) from the user both as i integer then if the users is 18 or more then the back color turns green otherwise turns red.
Code:
Public Class Form1
Dim int_ThisDay, int_BirthDay, int_ThisMonth, int_BirthMonth, int_ThisYear, int_BirthYear, int_DifYear, int_DifMonth, int_DifDay As Integer
[Code]....
View 3 Replies
Jul 15, 2009
how to Make Uppercase only the first letter and the rest are small.i found a lot of code here but i don't have clear to want i need [code]it work but the cursor is always move before the letter, result are user has difficulties when typing because it always move to before the first
View 6 Replies
Jul 31, 2010
How to make validation Only Allow letters and Numbers to Input, without any special character in Textbox
View 4 Replies
Nov 26, 2011
I have a textbox and I only want people to be able to type in the word "ALL" and the numbers 1-6. How do I go about that? I got the number part but do I have to make a separate line for each letter in the alphabet that isn't "A" or "L"?
Private Sub monthTextBox_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles monthTextBox.KeyPress
'If (e.KeyChar <= "1" OrElse e.KeyChar <= "6") Then _
'AndAlso e.KeyChar = "ALL" Then
'e.Handled = True
[Code] .....
View 4 Replies
Mar 13, 2011
I am trying to make a program that will be an auto-run in a game for me, the movement key is W and when i use SendKeys, it just spams W really fast (but with the KeyUps also) so my character just slowly goes and stops goes and stops. Is there a way I can just hold the W key down through VB.NET (such as just placing your finger on a key and holding it down)?
View 5 Replies
May 30, 2011
wondering what i should use to make the 1st letter of the input users name is Capitalised.
so textbox 1 they would enter - josh and when its shown in any labels is shows - Josh
would ucase be used here ? im not sure.
View 6 Replies
May 19, 2012
how to make a label update and add another letter beside it? E.X : I want it to say Loading then 1 seconds later it goes to loading. then to loading.. then loading...
[Code]....
View 4 Replies
Feb 22, 2012
I'm trying to make this program that counts the frequency of each letter in the alphabet for a set of ciphertext, the calculation i want to do is:lettersum*(lettersum - 1) + lettersum*(lettersum - 1) for however many letters example: User puts aabbcc in the ciphertext box , the output should be
2(2-1)+2(2-1)+2(2-1) =6 If the user inputs aaaaab the output should be 5(5-1)+1(1-1) = 20 The code I have so far only counts the last number of letters for example: aabbcc only reads the cc part and only outputs 2(2-1) = 2 instead of 2(2-1) + 2(2-1) + 2(2-1) = 6.The code below is part of a button_Click item
[Code]...
View 7 Replies
Sep 7, 2008
I have a binary converter I am attempting to build and want to read and convert the InputTextBox(alphabetical characters) letter by letter however all I have so far is one letter at a time
Image here is the code I have so far:
Code:
Public Class ConverterForm
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
[Code]....
View 5 Replies
Jul 5, 2011
Is it possible to change to colour of letters as they are typed.I.e
Piece of text says
"Hello World"
when user types "H". The "H" in the original would change if matched and then so on and then when "Hello" is matched it would change to another colour.
View 1 Replies
Aug 5, 2009
I'm using a timer control to highlight text letter by letter one every second. Timer1.Interval = 1000 How can I give the user access to this variable so the speed can be changed?
View 7 Replies
Nov 4, 2011
I'm a VB beginner.I wonder if it's possible to change the text style letter by letter?I've learned here that you can change the entire style of text like
Dim myStyle As New Font(TextBox1.Font.Name, TextBox1.Font.Size, FontStyle.Regular)
TextBox1.Font = myStyle
[code].....
View 4 Replies
Jun 19, 2009
I want to make live search form like when user enter 1 char then it ll find all data start with or contain letter.i have use the sql like query with textbox textchanged event but it is too slow any other method to make it fast?
View 4 Replies
Mar 28, 2011
Currently I have to parse each row in the file into a string array segments(). Then I look at the first few elements to see where I am at. E.G.
'Patient Loop
IF Segment(0) = 'NM1' and Segment(1) = 'QC' and current loop = '2000' Then
PatientFName = Segment(2)
[code].....
View 9 Replies
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
May 17, 2012
i am convering VB code to c# :
Private Function SoundsLike(ByVal pWord As String,
Optional ByRef pAccuracy As Byte = 6) As String.
But i got diffrent type of parameters.Let me know how can i write in c#.
View 6 Replies
Oct 3, 2009
I have no problems with the Syntax Errors.So far the only problems I'm having are with the Runtime Errors and Logistic Errors.
View 4 Replies
May 13, 2012
the form allows the user to type in a word in English and get back its Spanish translation. To accomplish this, you must read a (dictionary) file into a Dictionary (hash table) data structure and search that structure used its properties and methods.
View 1 Replies
Jun 12, 2011
I am making an english to pig latin translator and I cannot quite get this right! For some reason 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 "y." 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: Public Class Form1 Private Sub btnTran_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTran.Click Dim Sentence As String, letter As String, wordI As String, word1 As String, word As Double, wordamount As Double, counter As Integer = 0, current As Double txtOutput.Text = ""
[Code]...
View 2 Replies
Jul 2, 2009
Trying to create a Rudimentary Translator for class. I have to have english words that equal to the german or french equivalents. The words must be stored in a text file and read into a structure with a member for each language. The program would request an English sentence as input and translate it into German or French. Assume all punctuation would be a peroid a the end of the sentence.
Example: english-yes german-ja french-qui
View 10 Replies
Apr 18, 2012
I want to develop a translator (e.g. German to English ) with a separate database. What is the best way to do this? The database must be able to record words and phrases with their meaning. The database capacity must be at least 2,000,000 and phrases. Also, what is the best data structure for fastest retrieval of the information.
View 4 Replies
Mar 24, 2009
Rudimentary Translator gives English words and their French and German equivalents. Store these words in a text file and read them into a structure having a member for each language. Write a program that sorts arrays according to the English words. The program should then request an English sentence as input from the keyboard and translate it into French and German. For example, if the English sentence given is MY PENCIL IS ON THE TABLE, the French translation will be MON CRAYON EST SUR LA TABLE, and the German translation will be MEIN BLEISTIFT IST AUF DEM TISCH.
Note: Assume that the only punctuation in the sentence is a period at the end of the sentence. Use a binary search to locate each English word.English words and their French and German equivalents.
English French German
YES OUI JA
TABLE TABLE TISCH
THE LA DEM
[code]....
View 1 Replies
Nov 3, 2009
i'm currently making a program that converts every letter into some other letter creating a secret message that only this program can convert back into english. Could some help me with the convert code? I understand i would need 2 textbox's and 1 button at the least.The button would place textbox1.text into textbox2.text then it will convert lets say (if textbox2.contains "a" then) i dont know after that. i would want it to change the "a" to "g" instead. without doing any other change. [code] Now this is just converting the letter "a" to letter "g". I would want the whole alphabet.
View 11 Replies
May 9, 2009
Is there any way to swap mouse buttons?
View 1 Replies