1 Attachment(s)
Tell me if this is correct?
I am trying to write a program with four or five different controls of various types, including a label called 'lblClicked’. Write a routine that takes a control as an argument and displays in ‘lblClicked’ the name and type of the control, such as: “You clicked Command 1, a CommandButton.” Implement the functionality so that the label always displays the last control pressed. Can someone tell me if what I've done so far is correct? Or give me some assistance!!!
Do you know how to do this?
I'm trying to write a VB program that will print out the drive or device name of a file, given the full path name. Assuming the device name is preceded by a colon and may be more than one character long. The user must know if there is no device name present.