Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

visual basic help

slack3r

New member
heres the problem, you enter your first, middle, and last names in a text box.. then you have to get the first letters of each name and put it in a label box, how would i do this?
 
Im trying to remember the exact way....I havent done this in a while.

Give the values of your text box and label variables. Then use the Mid function to pull the appropriate letters out of the string and place them in the label..
 
If I could help you, I would. But I can't. So I just want my name on this thread.
 
yea but how do i set the first word as a string, then the middle, and last names as a string to get the first letter?
 
Just off the top of my head, u can use InStr() and subStr() for what u are trying to do. The key is to look for the position of the spaces. First letter is a no brainer. U might want to trim the spaces though in case they hit the space bar by accident.
 
Top Bottom