Download - Visual basic

Transcript

Visual basic

Visual basic visual studio

new project :New : 13 . standard exe exeExisting : Recent :

Toolbox form (application)

:: ( form) 1-

2- : . (alphabetic) (categorized)

:Name : ( (codeCaption : Backcolor : Forecolor : Font : : (properties) (code)

: form form (label )

stanard exe form :

BackcolorpinkCaption hello

: (lable) : A :

CaptionMy first programebackcolorwhitefontMS Sans Serif

lable :Backstyle:

CaptionHello every bodyBackstyletransparentfontMS Sans Serif

: : : stanard exe form :

BackcolorPinkCaptionMy new programe

command button :

CaptionHellofontAgency FB

:CaptionclosefontAgency FB

: (code) :

: Private Sub Command1_Click()

End Sub :Print hello every one :end

: Print : End

:Save project as : vbp Make project .exe: exe

:( ) : .

: (command buttons) ( )

: red green blue (rgb) 0 255 rgb :Rgb (255,0,0) . (name) Cmd_color color .

() ( )Rgb . =

vb

:( ) : . :(Text box ( () .

:Caption dateTimeHelloResetclosename Cmd_dateCmd_timeCmd_helloCmd_resetCmd_closeFontBoldBoldBoldboldbold :

:( )

: ( ) . visual basic : :

CaptionSumMultipleDividesubtractNameCmd_sumCmd_multipleCmd_divideCmd_subtractBackcolorstyleGraphical

Graphical

Graphical

Graphical

: (text1) ( text2) (text3) ( ) : ( ) : : = x

:- (shape) :

shapeSqureFillcolorFillstylesolid

- ( ) . : : . : :Dim v as type : Dim .V : . Type : . : Intrger : . : Single . .

( ) (text1) R A

(text2 )

Created by En.Sarya Al Sayed :http://www.devdos.com/vb/lesson1.html40