Explore BrainMass

Create a program using Visual Basic.Net

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

You have a form with three text boxes,txtNumber,txtSentence,and txtBoxOut, and a command button, cmdButton1. Assume the user has entered a numerical value in txtNumber and a string in txtSentence. Write the instructions such that when the button is clicked, one character from txtSentence is copied to txtBoxOut, from the position indicated by the number in txtNumber. For example, If the user enters abcdefg in txtSentence and 4 in txtNumber, then clicking the button moves d to txtBoxOut.

© BrainMass Inc. brainmass.com March 21, 2019, 5:08 pm ad1c9bdddf

Solution Preview

Private Sub cmdButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ...

Solution Summary

This solution provides an example of a written program.