Sunday, 14 April 2024

Visual Basic (2010): The MSGBOX

 


hello I am tamy bakshi I'm 8 years old

and I go to Great Lakes Public School in

bton hello today I'll be doing a

tutorial video on how to uh I will be

making a series of

videos uh on Microsoft Visual Studio

2010 we uh in uh a few for a few days

we'll be focusing

on Visual Basic Windows forms

applications and windows console

application so I'm going to first make a

Windows forms

application you can name it anything you

want I'll name it Visual Basic uh VP for

short D for day one day

one good and

there I'm going to resize the form a

little to about that size then I'm going

to make a text

box right

there then you're going to make that a

little

bigger and make a

label

then put the text for the label as let's

say enter some random

text

so

there and I'll Mo that as big as I

can to reach about that size then make

three buttons so the way to make

multiple buttons at once make a button

put the focus on it click control and

drag the button into

position click control drag the button

into

position you're done so then space them

out a little more that's I want to you

can do it any way you

want then I'm going to make the first

button

submit

submit then the next will be

clear and then the

next will be

exit so I type in exit for the T right

then so then I'll resize the form

I don't like making it too big or too

small at the same time so then you're

going to click submit twice and it's

going to bring you to our

code

then here comes the little coding part

so you're going to type in MSG

box bracket

quote uh double

quote inside those quotes you're going

to type you type

uh then you're going to go out of the

quotes

erson textbox one. text or whatever you

named it.

text then you're done with the submit

button code but clear type in text box

one. text equals quote quote so no text

then double click exit and type in end

there you're ready to debug your

application when you debug it you see a

text box if you type anything random in

the text

box and you click submit it'll say you

typed whatever you

type clear clears the text exit exits

the program thank you for watching

series number one of my demo

if you have any new video suggestions or

questions please write in the

comments any help would be fine


No comments:

Post a Comment

Connect broadband