Hi, i'm trying to create an application in vb.net it's pretty straightforward the interface has one textbox and one button. the application is supposed to change the text entered in the input textbox to capital letters only after the button is clicked. the output text should be in a window where it can be copied in order to paste it somewhere else. i need some assistance please post here the source code for this application to run correctly. thanks a lot. F.L.
Application??? Or homework assignment? Textbox.Text is string. String has ".ToUpper". Button has a "Click" event. Rather than outputting to a new Windows Form I'd rather directly copy the up'ed text to the clipboard with the SetDataObject method.
I'm not too sure about .NET, though, you could try: Private Sub Command1_Click() Dim strMsg As String strMsg = Text1.Text Text1.Text = UCase(strMsg) End Sub Code (markup): Note that this is Visual Basic 6. Though, this may help.