[RESOLVED] mobile phone keypad in vb6
Hello
Does anyone know about any vb6 that runs/works as a mobile?
I mean:
Key from 0 to 9....
If someone touches "2" the A comes. If you dont type during two seconds the "A" keeps stayig there and the cursor goes ahead. If you touch during those two seconds the key "1" turns it into "B" again...etc
So....a mobile but in a VB6.
Kind Regards.
p.s..Could you send even an example on a couple of keys...the "1" or "2"
Re: mobile phone keypad in vb6
brayant:
Welcome to VBForums.
I'm not exactly sure what you are trying to do, but if you wanted to make a Visual Basic application that would look like a cell phone you might do it by getting an image of a cell phone (that should be easy enough) and loading it into a picturebox control. That would show the number keys.
Then you could add a text box control to look like the screen area of the cell phone.
Next, create an Image Map so that each key on the kyepad has its own clickable area.
Then you could store the letters, A-B-C, etc.and/or number in an array for each key. Then you could click on each key and add the letters or number to the text box. That would work just like when you are using a cell phone to add a new number.
Since this is your first posting to the VBForums, I am not sure how much Visual Basic you know, but you will need to learn about how to make Image Maps. Once you have that figured out the rest of it should not be too hard. Most of the code will go into the click event of each key.
You could even make it so that after you entered a new name and number, they were stored in a database and could be recalled. Basically you could write a program that would act just like a cell phone with ringtones and all.
I'm not sure if that is what you meant or not.????
Hope this helps you a little.
EDIT: Here you go. Check out this link. It is exactly what I have discussed above and you can even download all the code:
How To Mimic a Cell Phone - Using Control Arrays
http://www.imt.net/~joe/matt/program...one/index.html
Enjoy!!
Re: mobile phone keypad in vb6
hi AIS4U,
Thanks for Reply.
Yeah that should be I want
So thanks to found out this link for me
Very helpful for me.
Thanks a lot for helping me solve this problem
Thanks again
Re: mobile phone keypad in vb6
brayant:
You are very welcome.
If that is going to solve your problem or answer your question,
please mark your thread Resolved by going to the top of the page
and clicking Thread Tools and selecting Mark Thread Resolved.
Enjoy.
Re: [RESOLVED] mobile phone keypad in vb6
Goodday i just wanna ask if i can ran your code in the new visual studio 2012
Re: [RESOLVED] mobile phone keypad in vb6
Quote:
Originally Posted by
T0useb
Goodday i just wanna ask if i can ran your code in the new visual studio 2012
I haven't tried it but yes, the above code should work in VS 2012. However, you might want to rewrite some of the code in VB 2012.