
Originally Posted by
lestat1116
unsa code for mo auto caps ang input?
Create the handler for the Keypress event of the control, assuming it's a Textbox, you can manipulate the KeyAscii as you please, e.g.
Code:
private sub myTextBox_Keypress(KeyAscii as integer)
KeyAscii = Asc(UCase$(Chr$(KeyAscii))) ' Untested code for upcasing a character
end sub

Originally Posted by
lestat1116
how to use try catch if naay mo error?
If this is still VB6, only On Error statements that are available. You can do something like:
Code:
function myFunc()
on error goto myErrorCatcher
' some code here
myFuncExit:
exit function
myErrorCatcher:
' apply logic on what to do with each error, possibly display it to the User
' if err = 2051 then etc.
MsgBox "[" & err & "] - " & err.Description
' you can use Resume, Resume Next, Resume <goto_pointer>
' e.g.
Resume myFuncExit
end function