The title may seem odd in what i'm trying to ask.I'm trying to come up with a way to translate code, example: S lyyq pyzx which translatesUser is asked to enter the code OR the message to translate, which if it's in the code, it's outputs the message or if the user enters a message it translates to the code.
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.
[code]How to write the code that the secret question the textbox is equal ("What is your favourite food?")? and the secret answer textbox is equal ("Chicken Rice")
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:
On a lan, the server and multiple clients work correctly.but over the internet, the server and client can't hear each other(we tried several different host computers, and several different hardware configurations)Is there a secret to getting UDP to do connections over The Internet vs a LAN?
I am creating a secret language out of numbers, I am making a VB translator to translate back and forth between languages. No it's not binary, and not, it's not A=1 B=2, etc. Its in a 2nd and 3rd flip flop. The first, and every 3rd one after, have there correct numeric ID.
a=1 b=3 c=2
d=4 e=6 f=5
How to convert letters into numbers and visa versa.
I have an admin section of my program to change particulars. To activate this you click the admin button the launch..then type a password. I dont want people to know there is even an admin button.... anyone know how i can assign a button combo (such as ALT+B) to show and hide that RBTN so other people cant see that admin is an option
how do i retrieve password in database using secret answer and email address and put the answer on label1.text? this is my code Private Sub btnRet_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRet.Click
Dim con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String
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)
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 = ""
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.
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 = ""
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.
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.
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
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...
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?
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
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try If TextBox1.Text.Trim <> "" Then If TextBox2.Text.Trim <> "" Then
[code]....
When the button is pressed, it all works and the following files are created: yahoo.dll and yahoo.pdb My question is this: What is the code to load the already compiled yahoo files to execute the code again, without having to recompile the code?
This code was posted in Chit Chat and everyone is saying how great it is. I just have Visual Studio 2010 and no familiarity with VB6 so I thought it would be good to convert the code to Visual Basic 2010.
this code was not done by me originally and there are some thigns here i dont quite understand i have altered it a bit from my coworkers code to suit my data and it works. but too slow. and when i have 4000+kb excel files it might freeze altogether. ( I have checked tho that when and after this transposer runs it will still be within the excel row limit, i had done calculations before and made a macro to automatically split excel files based on number of columns and rows to make sure this is so ). This code seems to start out fast then goes slower the longer it runs. at least this is what it seems liek to me.
I recently found this code (provided for third party use on another VB site), however,ll of my attempts to insert it into a class library have failed.I open a new class library and past the code in, and immediately get several errors pertaining to how certain objects can't be found. I find it it is crucial to use this code, unless someone can suggest to me another example of existing code that will do the same thing: make a restricted textbox who imputs can be restricted, that can handle pasting, shortcuts, text property setting, and script-entered text.
Option Strict On Imports System.ComponentModel Public Class RestrictedTextBox
I have been playing around with different types of native code operations in Visual Basic and then inspecting the code with Reflector to see what kind of MSIL is produced. For example, I wondered, in a one line If-Then-Else different than an If-Then-Else split onto multiple lines, ie.
what is wrong with my code and I get no feedback from my button click event, i have imported. ( code Below) and i have tied differrent combinations of the code without sucess.maybe add extra to my code for the list to show open Port or closed ports.