0

We are going to create a compiler like program where when we inputed character or multicharacter it will retrieve to the database the equivalent symbol of that character and place it to another textbox..

Example input: (1sttextbox)

Line1: main()
Line2: {

the output is: (2nd textbox)

Line1: WordSymbol, SpecialSymbol,ProgramParameter, OpenParenthesis, SpecialSymbol,ProgramParameter, CloseParenthesis
Line2: SpecialSymbol,ProgramParameter,OpenCurlyBracket

Note: WordSymbol - all keywords and Reserved Words.
          SpecialSymbols - operators and delimeters

Please do help me for the codes... We are begginer in VB.Net so we are not so familiar for the codes..

Edited by mike_2000_17: Fixed formatting

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by babbu
0

I didn't get you, however following are options:
1. Handles KeyDown,KeyPress events.
2. Use SendKeys.Send Method.
3. Use string indexer.

0

your question must be a little more specific.
newways
hope u hav created a database.
when the user enters the text match it with the contents of the database and if a possible match is found display it in textbox2.
i dnt think this is of much help. but hope it atleast helps you to take the first step

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.