SculleatR said:i finished the book for VB. ( it was for kids)
i´ll code a programm to translate Albanian to other
languages but how can i code when the User writes
HelLO , it comes same how Hello or hello ???
P.S SRY 4 MY ENGLISH
SculleatR said:i finished the book for VB. ( it was for kids)
i´ll code a programm to translate Albanian to other
languages but how can i code when the User writes
HelLO , it comes same how Hello or hello ???
P.S SRY 4 MY ENGLISH
SculleatR said:i don´t now how to use LCASE or UCASE but my Code currently:
(Like)
If txt1.Text = "Hello" Or txt1.Text = "hello" Then
txt2.Text = "Hallo"
ElseIf....
(Other Words)...
(and finally if the word was not found)
Else
MsgBox "Word was not found"
End If
If ucase(txt1.Text) = "HELLO" Then
txt2.Text = "Hallo"
ElseIf....
(Other Words)...
(and finally if the word was not found)
Else
MsgBox "Word was not found"
End If
Select Case ucase(Text1.Text)
Case "HELLO"
Text2.Text = "Hallo"
Case "NEXTWORD"
Text2.Text = "Translation"
Case .....
....
Case Else
MsgBox "Word was not found"
End Select
Eagle said:
However this is a very crude way of translating something since you will have thousands of case statements there. You might consider using a ADO database with two fields where one holds the word the other holds the translation. Then all you have to do is search for the word your looking for in the database, and the database can easily be updated too.
SculleatR said:i don´t now how to use LCASE or UCASE but my Code currently:
(Like)
If txt1.Text = "Hello" Or txt1.Text = "hello" Then
txt2.Text = "Hallo"
ElseIf....
(Other Words)...
(and finally if the word was not found)
Else
MsgBox "Word was not found"
End If
If txt1.Text = "Hello" Or txt1.Text = "hello" Then
txt2.Text = "Hallo"
ElseIf....
(Other Words)...
(and finally if the word was not found)
Else
MsgBox "Word was not found"
End If
SSTab1.Tab = x
Doomulation said:Lol, the toolbars are easy to implent.
Just add a reference to "microsoft windows common control 6.0 (sp4)" and you got a toolbar. Add it to the form and click customize in the properties window.
SculleatR said:my teacher ?
´ll experiment a bit...![]()