Course Lectures of Computer Programming By Visual Basic 6.0 ...

download Course Lectures of Computer Programming By Visual Basic 6.0 ...

of 10

  • date post

    01-Feb-2017
  • Category

    Documents

  • view

    223
  • download

    6

Embed Size (px)

Transcript of Course Lectures of Computer Programming By Visual Basic 6.0 ...

  • Course Lectures of

    Computer Programming

    By

    Visual Basic 6.0

    Electrical Engineering Dept.

    Second year

    Common Dialog Boxes & Menu Editor

    Instructor : Ali Abdulkareem Al-Hashimi

  • Visual Basic Lectures University of Missan / College of Engineering

    1

    ( :Common Dialog Boxes)

    ( , . Windows )

    . :

    ( .Open / Save ) (1

    ( .Font) (2

    ( .Color ) (3

    (. Common Dialog )( )

    ( Component( , )Toolbox )

    ( .Microsoft Common Dialog Control 6.0 )

    .

    . )( (Properties )

    (.CommonDialog1 )

  • Visual Basic Lectures University of Missan / College of Engineering

    1

    ( : Open / Save As. )1

    ( Save As( , )Open )

    . :

    )Open:)

    CommonDialog1.ShowOpen

    ( :FileName . )

    ( Save As: )

    CommonDialog1.ShowSave

    :

    2

  • Visual Basic Lectures University of Missan / College of Engineering

    : : 1

    ( OPEN FILES. : )

    ( SAVE FILES. : )

    :

    ( .Open )( Textbox ) : 2

    :

    3

  • Visual Basic Lectures University of Missan / College of Engineering

    ( :Font. )2

    .

    (Bold,Italic,Size,Underline)

    ( :Font . )

    CommonDialog1.ShowFont

    :

    ( .Font ) : 3

    :

    4

  • Visual Basic Lectures University of Missan / College of Engineering

    ( :Color Dialog Box. )3

    . . ,

    :

    CommonDialog1.ShowColor

    ( .Color )

    : : 4

    ( Form Color. : )

    ( Text Color( : )Textbox. )

    :

    5

  • Visual Basic Lectures University of Missan / College of Engineering

    : (Menu Editor )

    .

    ( . Help( ,)File(, )Edit )

    (.Menu Editor )

    ,

    .

    (Tools( , )Menu Editor: )

    :

    :

    . (1

    ( , .Caption ) (2

    (.Code Window(, )Name ) (3

    . (, Next ) (4

    (.File, Edit, Tools, Help ) : 5

    :

    .

    ( Caption ) ( Name. )

    ( Next. ,)

    6

  • Visual Basic Lectures University of Missan / College of Engineering

    1

    :

    , ( File )( . )

    : ,

    (.Edit ) (1

    . ( Insert ) (2

    ( File ) (3

    .

    (.Name( )Caption ) (4

    (.Next ) (5

    . ( Insert ) (6

    ( .File( ) New, Open, Save, Save As, Close ) : 6

    :

    7

  • Visual Basic Lectures University of Missan / College of Engineering

    1

    :

    .

    (Insert ,( . (New : (

    (.Insert( )Open ) (1

    . (2

    ( .Name( )Caption ) (3

    .(Next ) (4

    ( File . ) : 7

    (Close( . )Edit )( Text Color )

    (Red, Green. )

    :

    8

  • Visual Basic Lectures University of Missan / College of Engineering

    ( :Edit ) : 8

    ( Text Color )( Red, Green, Blue, Yellow ) .

    ( Text Font( )Bold, Italic, Underline. )

    :

    9