Click here to Skip to main content
Sign Up to vote bad
good
See more: VB10
Hi all,
 
This is my first post and have some experience with VB 2010.
 
Was wondering if someone could help me with a Combobox issue.
 
Basically i wish to put an Item in my Combobox such as lets say "Monday", when i push a button i wish for it to display that into a textbox as a shorter version such as "Mon".
 
So basically just looking for the combobox Item to be outputted as a shorter version.
 
Thanks in advance Smile | :)
Posted 23-Nov-12 1:16am


1 solution

you can use
String.SubStr()
function.
 
Or do you want ellipsis (...) like monday-> mon…
 
please provide more details..
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 544
1 Michael Haephrati 390
2 OriginalGriff 233
3 Ron Beyer 220
4 samadhan_kshirsagar 219
0 Sergey Alexandrovich Kryukov 6,959
1 Prasad_Kulkarni 3,689
2 OriginalGriff 3,402
3 _Amy 3,332
4 CPallini 2,950


Advertise | Privacy | Mobile
Web01 | 2.6.130617.1 | Last Updated 26 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid