The letters in my DriveListBox always seem to be lower case. Is there an easy way to make them upper?
Also where can i learn to deal with the checkboxes in lists?
Thanks in advance :thumb:
Printable View
The letters in my DriveListBox always seem to be lower case. Is there an easy way to make them upper?
Also where can i learn to deal with the checkboxes in lists?
Thanks in advance :thumb:
This?
VB Code:
UCase(Drive1.Drive)
I don't know how to use it though... :confused:
Doesn't work with form_load etc.
EVen this comes out lowercase....
VB Code:
Private Sub Form_Load() TheDrive = DriveSel.Drive UCase (TheDrive) MsgBox TheDrive End Sub
Ah i used this and it seemed to work:
VB Code:
UCase(Left(DriveSel.Drive, 2) & "\")
I just can't seem to get the actual DriveListBox to say A:\, C:\ etc ??
Thanks!
Is this better?
VB Code:
Dim sDrive As String sDrive = UCase(Split(Drive1.Drive, " ")(0)) MsgBox sDrive
That works yeah, but i'm trying to make the actualy DriveListBox in upper case. For example, if you click on a list my app produces it will say C:\Folder\SubFolder with a capital C, but the actual drivelistbox is still lower case...
What do you mean "deal with"?Quote:
Originally Posted by BefunMunkToloGen
All the drive letters are lower case in the drive listbox. If you want uppercase, you'd have to write your own control. I did it for printers, it isn't too difficult.
Ah that doesn't matter :) I'm more annoyed with the drivelistbox lol
Ok well i have a few ideas now.