You are on page 1of 139

2015/2014

"

( 501)
"






.



" "


.

/

-1 .

-2 .

-3 .

-4 .

-5 .

-6 .

: .

: .

: .

: .

: .

: .

: .

: .

: .

: .

:
.

:
.

:
.


.

:
( )1 .
( )2 .
( )3 .
( )4 .
( )5 .
( )6 .
( )7




"" .

( )
.



....
( )

.

(

)


:
..... -.

.

.


.
:
.
( -
).

- - .

.

):(Multimedia
) (Multimedia : Multi
Media )
( ) (CDROM
.

:
-1 .
-2 .
-3 .
-4 .
-5 .
-6 .

-1 ):(Data or Information
:
- ).(Text
- ).(Image or Picture
- ).(Sound
- ).(Video Clip

.
-2 ):(Hardware
(
) : ) (Scanner
).(Digital Camera
-3 ):(Software
:
( )Movie Maker ) (Sound Recorder (Windows
).Media Player



:
-1 (:)Problem Definition
.
-2 ):(Outputs
) (Information
.
-3 ):(Inputs
) (Data :

.

-4 (:)Algorithm
( )Algorithm
: (.)Flowcharts
-5 (:)Coding

.
-6 (:)Testing and debugging of the Program

() . ()
-7 (:)Documentation
:
- .
- .
- .
- ) (Help ).(Guide
- .EXE
.
:
: .
: " ".
:
.
:


.
()3
:

:
. .......................
- ).(Texts
- ).(Pictures
- ).(Sounds, Music or Video Clips
- .

:
( ) ( ) :
()1
) ( .
" " ()2
) ( (Coding).
) ( Problem Definition ()3
.
Documentation ()4
) ( .
) ( ()5
.

:
:
( )1 ........................... .
() . () .
() . () .

( )2 . ..........................
() ).(Outputs () ).(Inputs
() ).(Algorithm () ).(Problem definition

( )3 ( )
. .......................
() . () .
() . () .

:

:
" -1 " . ......................................................................
" -2 " . .....................................................................
" -3 " . ........................................................................
" -4 " . .....................................................................


.

:
:

( )1 .
( )2 .
( )3 ( - ).
( )4 .
( )5 .


:

( Folder :)File

New Folder
.

( Folder :)File
Delete
.
( Folder :)File
Rename
.

.

.

:
................
................
.................
................
................
................
................

................


.
Search
( - )... -
Keywords
Search
.Engines
:
- www.google.com
- www.yahoo.com

Save Copy
Paste .
( -)...-


.
:

- .

-
" ".

- ( ).
-
.
( -
)...- (
).

















.
:
http://en.wikipedia.org/wiki/Main_Page
http://ar.wikipedia.org/wiki/

:
:
-1 .
-2 .
.

( )2
(
)....... ( - - - -
- - - -)
(.)1

- .
- .
-
.
-
.

:
( ) ( ) :

) ( (Search ()1
) Engines .
) ( ) (Folders ()2
.
www.google.com ()3
) ( .
()4
) ( .
) (File (Files ()5
) ( ).and Folders

:
:

( )1 ) (Folder . .......................................
() . () .
() . () .
( )2 ) (Search Engine . .....................
() .www.google.com () .www.twitter.com
() .www.Altavista.com () .www.yahoo.com
( )3 . .......................................
() . () .
() () (). () .

:

..................................................................................................
..................................................................................................

:
( )1 .
( )2 .
( )3 .
( )4 .
( )5 .
( )6 .


.


.Worksheet

....


Workbook
( )Worksheets
) (Columns ) (Rows ( )Cells
.
()Columns
."A,B,C, ." :
.
()Rows

1" :2 "....3 .


:
( )
( )
( )

).)Worksheet

- .
- .
- (
- )
.
- Worksheet ()Data
- Workbook ( )Atlas :
C:\ Databases
:

- ( )
) (Database
- ) (Create Database
- .

()2 ()5

()4 ()3
- ) (Database ) (Table

) (Data Table:
) (Rows ) (Columns :

) (Row ) (Record ) (Column )(Field


).(Data

)(Columns

)(Rows

)(Fields

)(Records

)(Field

)(Record

) (Data Table :
- ).(Record
- " " " " " " ) (Field
.

:
( ) ( ) :
) ( ()1
).(Database
) ( ) (Column ) (Database ()2
).(Record
) (Data Table ()3
) ( .
()4
) ( .
) ( ) (Workbook ).(Database ()5
:
( )
.

()2 ()5

()4 ()3
..................................................................................................................
..................................................................................................................
..................................................................................................................

:
-1 :

- .......... ..........
- ............. .
- " ........ ....... .

-2 :

. ..................... - . ..................... - . .................... -

-3 ( ) ....



.
:
:

( )1 .

( )2 .

( )3 .

( )4 .

( )5 .

( )6 .

( )7 .





" .

" :
) CinePaint (O/S Linux
) PicsArt (O/S Android
) Paint.NET (O/S Windows

.
:

......... - tif - wmf - png - pcx - jpg - eps - gif - bmp


.

:
.1
.2
.3
.4


.
:
-1 ):(Vector

:
wmf emf .eps

-2 ):(Raster
) (Pixels
raw : bmp tiff gif
jpg .png
:
)(Fixed Pictures ) (Animated Pictures
.
(

) .

()
.

.
:raw





.

.jpg
:gif


(Graphical
).Interchange Format

:bmp


gif
bmp ).(Bitmap

:jpeg
Joint
.Photographic Experts Group :
.jpg .jpe
16 .

:png


).(Portable Network Graphics

:wmf


).(Windows Meta File


. . .

jpg bmp



. . .

png wmf gif :

-1 gif .
-2 :
bmp , jpg , gif , png , wmf
-3
.
-4 bmp .


:
Maps .Atlas
Flags .Atlas

Pictures
.Atlas
:

-
.
.

:1 :
Filename.raw , Filename.bmp , Filename.doc , Filename.gif ,
Filename.jpg , Filename.htm , Filename.xls , Filename.frm ,
Filename.png , Filename.wmf , Filename.wma
:
() .
() :


......................... .........................

.................... .................... .................... ......................... .........................

......................... .........................
:2 ( )
( wmf
) ) (Save As
.bmp : .gif .png .jpg
:
) (.wmf , .bmp , .jpg , .gif , .png

:3

bmp , jpg , gif , png , wmf

( :1) :
Filename.bmp , Filename.gif , Filename.jpg , Filename.png ,
Filename.wmf
() :


Filename.gif Filename.raw Filename.wmf Filename.gif Filename.gif

Filename.png

Filename.wmf

:2 )(.wmf , .bmp , .jpg , .gif , .png

.wmf :

.bmp :
:3
bmp , jpg , gif , png , wmf :

:

( -
) :


Maps
.Atlas


8
.


.


.

:


() ()CROP
.

" "

:

gif jpg Maps
.Atlas

.

Egypt.gif Egypt. JPEG

........ ..........
......... ...........

:

:


- ( ) .
- .wmf
- ) (Save As
.bmp : .gif .png .jpg
- :
) (.wmf , .bmp , .jpg , .gif , .png
.................



.
:
:
( )1 .

( )2 .

( )3 .



.

.
:
-1 (
).
-2 .
-3 888 688.
-4
Image Size .Resize

-5
.
. -6

gradient. .1

. .2

. .3

.4 " "
- Pictures .Atlas


.


:
-1
(
).
-2 Pictures Atlas
:
( )3 ()4 ()2 ()1

. -3
-4 .
-5
.

-6 gif Pictures
.Atlas
( )

:
( ) ( ) :

()( )

( )1 .gif

.jpg
( )2

.
( )3 .bmp

.
( )4

.

( )5 .wmf

.bmp

( : )
-1
.
. ................... - . ...................- . ...................- . ...................-
................ -2 ................ ................
. ................
-3 . ..........................
-4 ) (Multimedia
..................................................................................................................
..
-5 ) (Multimedia
* ........................................ * ........................................
* ........................................ * ........................................
:
:
( )

Filename.raw - Filename.doc
Filename.gif - Filename.rft - Filename.png - Filename.wmf

.................. .................. .................. ..................

* ............................... * ...............................

* ............................... * ...............................

-1 ) (PictureBox :

.gif - . jpg - .bmp - .raw -

-2 :

- . jpg - .bmp - .wmf -


.

-3 :

.wmf - .png - .gif - .jpg -



.
:
:
() . ()1
. ()2
. ()3
. ()4
. ()5
. ()6
. ()7


.

-1 () wav, wma, mp3 :


:wav
(
)
(
) mp3
WAV

).(Waveform audio

:mp3
wav


.
:wma
mp3
.
).(Windows Media Audio

-2
.
-3 VB.net
) (Toolbox .

:
Filename.wav
Filename.mp3

:

Filename.mp3 Filename.wav
..........)2(......... ..........)1(.........
..........)4(......... ..........)3(.........



.
"
:

) (Audacity) (O/S Windows- Linux


http://audacity.sourceforge.net/
) (WavePad) ( O/S Android
https://play.google.com/store/apps/details?id=com.nchsoftware.pocketwavepad
:

.

.
.

:

.
Anthem
.Atlas
.
:

-1
-2
-3
:
- "
".
-

Pictures .Atlas
-
.
-
:
-

.
- ( ) .

:
- Mic .

- ( Start Accessories
Sound Recorder Windows 7
Windows 8 .)Start

.Sound Recorder

- .

- " " Sounds


Atlas


.
.
.

" " .

.
.

Sounds

.Atlas

" " .
.

head
.

:
- .
-
.
- .
-
.
-
:
.

"
".
Sounds
.Atlas

:
( ) ( ) :

() ()
()1

.
. ()2
.wav .mp3 ()3
()4

.
. ()5

:
/ :

/
................................................................. .mp3
................................................................. .wav
................................................................. .wma

:
-1 :
.wma - .png - .mp3 - .wav -
:
-2
Filename.wma - Filename.wav -Filename.mp3 -


.
:
:
. ()1
. ()2
. ()3
. ()4
. ()5
. ()6
. ()7
. ()8
. ()9
. ()18
. ()11
() avi, wmv, gp, mp4 :
:gp

.
:mp4

.

:
VB.net
) (Toolbox .

()

.
.
(
)
.

.
"
.
) Kdenlive ( O/S Linux
http://kdenlive.org/
) Video Maker (O/S Android
http://play.google.com/store/apps/details?id=yong.app.videoe
ditor
) Movie Maker (O/S Windows
http://windows.microsoft.com/en-us/windows/get-movie-maker-
download


Movie Maker
:
http://www.windows-movie-maker.org/




.
Movie
Maker

http://www.microsoft.com
"Mo
"vie Maker

movie maker
- movie maker
- .

.
-
:
.1 ( - ).
.2 ( ).
.3 .

:
- 1 :
- - pictures
Atlas

- 2 :
- " " -anthem
Atlas - Sounds Atlas
Time Line .

:
( )

-1 :

Time Line
.

-2 :
Time line
-3 :

" "
Time line

:
- .
- .
- "" Videos .Atlas
-

:
/
:
/
................................................................. .mp4
................................................................. .wmv
................................................................. .avi

:
( ) ( ) :
()( )
.wmf.wmv ()1

.mp3 .
" "MS Paint ()2

.
()3

.
.3gp . ()4

:
.Movie Maker
* ..................................... * .....................................
* ..................................... * .....................................

:
-1 :
.3gp - .wmv - .png - .mp4 -
-2 :
Filename.wmv - Filename.mp4 - Filename.3gp -
-3 :
Filename.mp4 - Filename.3gp - Filename.mgp -


:
.

( )1 .
( )2 .
( )3 .
( )4 .
( )5 .Toolbox

:

Atlas
Database Excel .
Flags .
Maps .
Anthem .
Videos .


.
:

:
.
Atlas Controls
:
18 Label 2 ComboBox2
PictureBox Button WindowsMediaPlayer
.Form
Form1 Controls
:

Name Controls
Form1 :
Name
cmbbxContinent ComboBox1
cmbbxState ComboBox2
picbxMap PictureBox1
picbxFlag PictureBox2
lblDC Label6
lblPorts Label7
lblWR Label8
Name
btnStop_play Button1
WMPlayer AxWindowsMediaPlayer1

Visible WMPlayer .False


SizeMode picFlag picMap
.StretchImage

:
AxWindowsMediaPlayer
) (Toolbox ) (Toolbox
:
Toolbox (Choose
) .Items
Windows Media
.Player
Windows Media Player (COM
) components ) (Ok
.
:
( )1 .
( )2
(

.) ....

( )3 .GUI
( )4 .
( )5 :
Name
cmbbxContinent ComboBox1
cmbbxState ComboBox2
picbxMap PictureBox1
picbxFlag PictureBox2
lblDC Label6
lblPorts Label7
lblWR Label8
btnStop_play Button1
WMPlayer AxWindowsMediaPlayer1

( )1-5
cmbbxState ::
cmbbx ComboBox State
.
( )2-5 :
Object.Visible = True
:
Object.Visible = False
( )3-5 SizeMode :
Picbxmap.SizeMode= StretchImage
( )6 VB.NET .
)1 Controls Click
Controls :

)2
PictureBox1 :

:
( ) ( ) :

()( )

( )1 ) (ComboBox

.Items
( )2 ( )ComboBox

.
( )3 Controls

).(ToolBox

( )4 ) (Windows Media Player



.

( )5

( )PictureBox .

:
:

( )1 Label :Name
( ) ( .Label1) .Name
() ( .lblResult) .MyName

( )2 :
() .PictureBox ( ) .Button
() .ComboBox (). Label

( )3 :
() .Label ( ) .ComboBox
() .Button () .PictureBox
( )4 :
() .WindowsMediaPlayer ( ) .RadioButton
() .PictureBox () .ComboBox
( )5 :
() .ComboBox ( ) .PictureBox
() ( .Button) .Label
:
.


( )..... .
( )..... .
( )..... .

( )1 :
.(ActiveX Data Object( ADO -
.Class -
.Object -
.Namespace -
.Framework -
.(Structured Query Language) SQL -
( )2 .
( )3 .
( )4 .
( )5
.
() Visual Studio.NET

:
:(ActiveX Data Object( ADO
) (Control Tools

(Windows
).Applications Web Application
ADO.NET ) (Classes
Access Oracle SQL server
. ADO.NET
.Framework
:Class
( )Blueprint
( )Properties ()Methods
( )Events ( )Object
(.)Class
:Object
:
-1 ( )Properties .
-2 ( )Events .
-3 ( )Methods
.
(Object
) Oriented ) .(Class ()Object
(.)Class
:Namespace
) (Classes
.
:Framework
( )Visual Studio.NET :
-1 ( ).NET .
-2 .
( )Framework:
- .)Common Language Runtime( CLR
- (.)System Class Libraries
- (.)Compilers
- .
:(Structured Query Language) SQL
.
:

SQL
Select
.

(
DataSource
).

Namespace
) (Classes
OleDb
Microsoft Office
)(Object Linked & Embedded Database



Provider
. Data provider
( Connection Command)DataAdapter

) (Class OleDb.OleDbConnection
MyConnection

) (Class
MyCommand OleDbCommand
.

) (Class da
) (Data Adapter
OleDb.OleDbDataAdapter
dt
.


: MyConnection.ConnectionStri
ng
Provider Data Source FilePath

MyCommand
CommandText
.SQL

) (Class ds
ds
DataSet
) (Data Table
.

) (Class dt
dt
DataTable
) (Data Table
.

Fill ()
)da.Fill (dt
) (DataTable.



.
2
4

1 Windows
.xls Application

:Select

()5
8 50 .Select

Select No1 + No2 :

Select 8 + 10 :

18 :
()2
Table1
.Select

Select * from TableName :

Select * from Table1 :

()3
"" Table1
.Select
Select FieldName from TableName :
from Table1 Select :

()4
"" Table1
.Select
:
Select Distinct FieldName from TableName
from Table1 Select Distinct
:
:
()1
Select ""
.Table1
:
Select FieldName from TableName Where
Condition

Select [FieldName] from TableName Where
Condition
:
= from Table1 Where Select

= ][ ] from Table1 Where[ Select
:

:
.Where
()6
Select " "
.Table1
Select FieldName from TableName :
:
] from Table1 [ Select
:
()7
Select "" ""
.Table1
:
Select [FieldName1] , [FieldName2] from TableName
:
] from Table1[ ] ,[ Select
:

()8

Select
.Table1
Select Function ( * ) from TableName :
:
Select Count ( * ) from Table1
:
10
()9

Select
"" .Table1
:
Select Function (FieldName) from TableName

:
= ) from Table1 Where( Select Count
:
5
VB.NET
) (ComboBox
) (Database ( AtlasData.xls
"") ComboBox
.

-5 .
-2 ) (Toolbox ComboBox1
.

-3 ) (Code Window
:
-
) (Classes
).(ExcelData.xls

Provider
- ( filePath )sql
) (ExcelData.xls ).(Select

- :
- filePath
).(ExcelData.xls
- sql
Sheet1 ).(ExcelData.xls
- ).(ConnectionString

- ).(Open

- ).(Connection
- Select
).(CommandText

- da ).(SelectCommand
- da ) (Fill ).(dt
- ) (ComboBox.
- ) (ComboBox .
- Run ) (ComboBox
.

- :
"] from [Sheet1$ sql = "Select
:
"] from [Sheet1$ sql = "Select distinct
- Run ) (ComboBox
.
Controls

.
:


Classes ADO.NET

:
Form1
GetDatafromExcelSheet :
2 FilePath sql

DataTable
.

MyConnection
.
MyCommand
.
da
.dt
dt .
:
da MyCommand
sql
MyConnection .dt
dt .

GetDatafromExcelSheet
) (Form1 Events Class Name
Shown Method Name

Shown .
:

dt DataTable
GetDatafromExcelSheet
.
cmbbxContinent

dt
DataSource.

( ) dt
DisplayMember
cmbbxContinent ) Column (0 .

dt ValueMember
.cmbbxContinent
DisplayMember ValueMember ComboBox:

ComboBox
DisplayMember
ValueMember :

(" " " ")


" " ComboBox
.Label

" " DisplayMember


" " ValueMember

ValueMember Text Label


SelectedIndexChanged ComboBox

1 SelectedIndex
.cmbbxContinent_SelectedIndexChanged
:

:
( ) ( ) :

() ()


()1
.ADO.NET

OleDbConnection
()2
.


GetDatafromExcelSheet(FilePath As String, sql As
()3
String) As DataTable
.String

( )4 ) (Function .Sub

OleDbCommand
()5
.

) (DataTable
()6
.

:
:
-1 ......................................

-2 2 .................... sql .........


.................... .

-3 .....................
.

-4 :

- ..................... .

- .....................
.

- ..................... .

- ..................... .

-5 da ..................... sql
MyConnection
.dt

:
:
( )1
.
( )2 .
.

:


cmbbxState
:

:
- Try/Catch
cmbbxContinent_SelectedIndexChanged
).
- :

cmbbxState_SelectedIndexChanged
.
:

:
Rows Items
) (0 Rows(0) : )Items(2
.
)1 .
)2 .
)3 ( dt )

( ) .
)4 Try / Catch

.

.
dt

dt

dt

( )1
.

( )2 .

( )3 .

( )4 .

.
( )
.
o Flags
.png
.png
.png
o Maps
.png
.png
.png


picbxFlag picbxMap
.
cmbbxState_SelectedIndexChanged
:

:
-5 ) (VB_Multimedia_Pictures1K
) (PictureBox ) (PictureBox
)(InputBox :

:
) (PictureBox3:
)PictureBox3.Image = Image.FromFile (PictureFilename.ext
-2 ) (VB_Multimedia_Pictures2K
) (PictureBox ) (PictureBox
) (ComboBox
:

:
ComboBox
.

:
:

( )1 .
( )2 .
( )3 .
( )4 .

.
Anthem
.mp3
.mp3
.mp3
cmbbxState_SelectedIndexChanged
:

anthemMp3

.

btnStop_play_Click btnStop_Play
:

. )1
. )2
.
-5 ) (VB_Multimedia_Sound1K
) (AxWindowsMediaPlayer
) (InputBox :

:
:
AxWindowsMediaPlayer
( InputBox)
.
(VB_Multimedia_Sound2K) -2
(AxWindowsMediaPlayer)
: (ComboBox)

' Insert a Sound File to a WindowsMediaPlayer


ControlTool
Public Class Form1
Private Sub ComboBox1_SelectedIndexChanged(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles ComboBox1.SelectedIndexChanged
Dim V As String
V = ComboBox1.SelectedItem
AxWindowsMediaPlayer1.URL = V
End Sub
End Class

:
ComboBox
.

:
:

( )1 .
( )2 .
( )3 .

.
Videos
.wmv
.wmv
.wmv
Name
" "btnPlayVideos " Text ".
btnPlayVideos_Click
btnPlayVideos
:

SelectedValue cmbbxState
.
WMPlayer Visible True
.
btnPlayVideos
.
)1
.
. )2
. )3

.
-5 ) (VB_Multimedia_Vedio1K
) (AxWindowsMediaPlayer
) (InputBox :

:
:
AxWindowsMediaPlayer -5
( InputBox)
.
(VB_Multimedia_Vedio2K) -2
(AxWindowsMediaPlayer)
: (ComboBox)

:
' Insert a Video File to a WindowsMediaPlayer ControlTool
Public Class Form1
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender
As System.Object, ByVal e As System.EventArgs) Handles
ComboBox1.SelectedIndexChanged
Dim V As String
V = ComboBox1.SelectedItem
AxWindowsMediaPlayer1.URL = V
End Sub
End Class

:
ComboBox
.
( )

:
( ) ( ) :

()( )

Try/Catch
() 1
.

Me.lblDC.Text = dt.Rows(0).Item(2).ToString
( )2
.lblDC

SelectedIndexChanged ComboBox
() 3
.

&
() 4
.

Me.lblDC.Text = dt.Rows(0).Item(2).ToString
( )5
.lblDC

URL Me.WMPlayer.URL = anthem.mp3


() 6
.anthem.mp3

( )7 FromFile .

DisplayMember ComboBox
() 8
.

ValueMember ComboBox
() 9
.
:
" Marks"
:

: Select
................................... -1
Select * from Marks -
Select All from Marks -
Select ? from Marks -

................................... -2
Select Sum (*) from Marks -
Select Count (*) from Marks -
Select Total from Marks -
................................... -3
Select Name from Marks -
Select * from Marks -
Select Name ( Marks ) -

................................... -4
Select Name , Total [Marks] -
Select Name + Total from Marks -
Select Name , Total from [Marks] -

...................................99 -5
Select * from [Marks] Where Total=99 -
Select Total=99 from [Marks] -
Select Total Where Marks =99 -
...................................99 -6
Select Name , Total = 99 from [Marks] -
Select Name , Total from [Marks] Where Total=99 -
Select Name , Total Where Total=99 -

.............................75 -7
Select Name , Total < 99 from [Marks] -
Select Name , Total from [Marks] Where Total < 99 -
Select Name , Total Where Total < 99 -

...................................44 -8
Select Name , French from [Marks] Where French >=44 -
Select Name , French Where French >=44 -
Select Name , French>=44 from [Marks] -

................................... 50 -9
Select Name from [Marks] Where Arabic=50 -
Select Name from [Marks] Where Arabic (50) -
Select Name , Arabic=50 from [Marks] -

...................................'M' -10
Select Name from Marks Where Name = M% -
Select Name from Marks Where Name Like M% -
Select Name (M%) from Marks -

...................................75 -11
Select Count (Name) from Marks Where Total >= 75 -
Select Count (Total >= 75) from Marks -
Select Name , Count (Total >= 75) from Marks -

...................................'ed' -12
Select Name from Marks Where Name Like ed% -
Select Name from Marks Where Name Like %ed -
Select Name (_ed) from Marks -

You might also like