Visual Basic 5.0

download Visual Basic 5.0

If you can't read please download the document

  • date post

    01-Dec-2014
  • Category

    Documents

  • view

    195
  • download

    39

Embed Size (px)

Transcript of Visual Basic 5.0

Visual Basic 5.0

~ 1998

21 - 189 03 . : (01) 46.63.419, 094-410.042 Fa : (01) 46.65.356 E-mail: poseidon@compulink.gr Web: http://www.poseidon.grpress / .

Q TS -AR

.

&

. .

:

. : Fa:

8 & 26 92.41.571 -2 92.31 .293

ISBN: 960-861-230-6 , , , , ; .

~o , 1. ,

t

. , . , . ,

. ,

.

Eo,ywrn

-.uu

K~Wo

1__ _ _ _ _ _ _ _ _ _ _

n n Textbox control Command button control (templaIes) - calculator

K~o 2 (

Project5project

__ _ _ _ _ _ _ _

,

,

Custom Controls project compilation

__ _ _ _

(camparisan)

- - - - - - - - - - -- - -

--J

_ _ ..,_ _ _ _ _ _ __

(Structures)

Enums

- (Object Variables)

""

_ Visual Basic _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

main

U

DoEvents

1... 1 Then Select Case

(Melhods) (Debugging)

Asserts

Meru

_

Menu Editor ~--:---,--- ----------------- Menu Conlrol _ Submenus _ ,---_ _ _ - menus _ _

K~o5Mu/tLp/e - DocumeJ1t

lJ1tert'r.ce ()

__ _ _ _

~o6[a

__ _ _

Pset line

__--.;

C rcle

a i nt ctu re

-

l

----iMill

lilll

DrawWidth DrawStyle

---1l1iii

FillColor FiIIS e -------------------lIiiii tyl DrawMode ---iMilliil -------------llil ---iiw -----------------------li oo il ...........

a 110 (mouse events)

~~

8tt

R'I

Shift Drag and Drop D Drag and Drop

~

~ nT'I n.

ll

K~o 8) nJvv -1IiI-IIIili

-----'...."""

l1

coTItroI5 ...

cantrals

F e ram Labe nbutt n o Chec kBox List Com bo Scro11 Bars Rle - System Controls ore List Directory List ; Fle ist Time Imag e PictureBox Shape Line Data - L Custam cantrals custam contrals Visual Basic Com monDialog MSC ha r MSComm SSTa b Microsoll Mail Statu sBar ProgressBar Slide r Imag eList ListView RichTextBox Toolbar eeV Tr iew TabS

.

'-. ~

R

~~

n

rr.n rr.n m

~ "' ~ ' IIJ' ~

""

"'~ ~

rm :w n m m. .

n '!''

...,,;

m

lll

-

.. m't I'r.'!"t- --

Animation Multimedia _ ,----

~

-J

...

Microsoft FiexGrid ---------------------, -

.L2.

1IIi

K&tPlvo 10 -------------1111ii1 clipboard DDE-I

_

D --------------------------IilliI _ _

K~o l1 Datl Data Contral data control RecordSource Recordset data control, data control

C;oTItro l_

_-Iilill

_ _ --I _--Ii

Transactions - - -- - - - - - - - - - - - - - - - - - - --1 Bound controls _ Data Bound Grid control 1 Eo ---Ii L:

O

~iIIiII

-----,----------------Iiil.. _ -,-------,------------------IiIiiiI (Indexes) ---ii DD - - -- - - - - - - - - - - - -- -- -- 11 Visual Basic 5.0 ------------Iii D ---------------Ii

index '

-iilii

- --

-

-

-

-

-

-

-

-

-

-

-

(relations)

(Referential lntegrity) __

_

-------------- D D

SQLl (Aggregate Functions)

- -- - - - - - - -- w_ _-ii

D

DEETE

...

_

- - - - - - - -- - - - W__

-

K~o 13K_-,----iilil

l

(objecl)

l

l

_ _ _ _

--------------------IWI _ OI Kl -liII~

l ll (objecl hierarchy) --- ----- -- -sli ----------------------lilil~ Automalion Servers -------- ------- ------ililil w rd -5Ii

. -------------------lilliI Eol -liiI1IiI ---"''-&8'''0

Ac;ttveX

coJjtrol5

_

AcliveX controI -------------------liiI... ActiveX Interface controI Ward -;i l (Objecl Properties) -----------------lliiil Enum ----------------J1iI

Extender --------- ------ ----- -Ilii8 Ambienl ----------------------iliil oo

l

Internet

controls

-

~

..o...,.,,..

OCX control, _ AcliveX control ' ----------;,;; " " AcliveX control, -liI , .C .INF -------------------Ii~ AB Internet, fIilil ActiveX Oocuments ---- -----------------Si~ -II:.I~

K~o 15nwj l t er et ---IOIIIiJ

TCP/IP

--------- ------ ----l iii.. (PortS) -------------------lil0IiI Sockets ---li

Microsoft Winsock Conlrol ------------------liIiW Winsock, lnlernel transfer controls TCP/IP -------------Cii Clienl, -liI Server --------------------Cii Server -I1IOIi UDP --------------------IlIOIill Microsofl lnternet Transfer Control --------------~~1I --------------- ------11i1.. SECURE ---- ----------- -fIill FTP - - - - -- - - - - - - -- - - - - --c , --'=:.

K~o 16J)oj K,

Help ------------IiI_--1i11,;,

HeIp project

Help -----------------Ii _ help ------------------ help Visual Basic _ --'=c. K,

Crystul Reports

_

formula fields Crystal Reports Visual Basic

_ELL::

- --

-

-

-

-

-

------

~

_ _. _

__

--------------Im

IJII

Kefo 1.8I/5: :5C; ----- Windows (Window Class) O

- _--lilill-iilil

AddressO! -------------- -------ililiill .. U .......

X ll

A ctVe){

DocurneJItsVisual Basic 5.0

L.

AcliveX

Document.

UserDocumenl,

, , , '

OCX conlrol, AcliveX

Object BrowserObjecl Browser. TOl1lbar, Code Window , . Object Browser Visual Basic, ' , ,

coJItrols controls Internet Transler control.

5.0

,

MSChart, MSF lexGrid, UpDown, Winsock

. :

l

Typed Oplional

:

C+ +

Visual Basic.

Public Sub SetTime (Optiona l lTime As Long

=

10)

Asserts .

Debug (executable) .

Enums

AcliveX controls,

' .

Property

OplionaI

,

Properly Lel (Optional argumenls).

Property 6el,

Evenl,

,

,

ActlveX conlrol, RaiseEvent.

AddressOI ,

(pointer)

" " . u

Addre ssOf,

Professional

, ,

Visual Basic. , Hints &

, . ,

, - , . ,

.

Vi sual Basic 5.0.

e-mail

r

E-mail: vbtrain@poseidon.gr http://www.poseidon.gr/vbonline 1997

- - - --

-

- - - - - --

--

-

Visual Basic 5.0, m project controls, text boxcontrol commandbutton control. , controls, . , , ' button textbox, Windows m , .

M ax im jZ ~B o x

SyntmMen.Bcx

C apt.ionMi:i miz eBox

(

Clo~

MeDJB",.

~~!IIIIIII""EIlefd ~ ~e arch

t!elp

_ _~V etic ~ Scfol1 Bar

~ ClientAfe~. 1 .1 . Wndows 95.

Visual BasIc,

' .

1.1 .,

, .

Windaws,

, . ,

, ( ,

Visual Basic, F orm ( ), l Minimize Maximize . .) , controls, . controls textboxes, buttons , . OCX, Visual Basic, System ,

1

,

controls. , control , (fonts) .. , . ,

control

button.

, "" , , , .

button, ,

xr

1.2.: Fo rm1

I!lIiJDSub Comman l C!1ck( ) d

Object: j Coua

.&Wl!J

, ~ . ~ /;i. (j . ;j. $ 8

.; - ~ . " ~g

P ,

~~-'~ , '"~~

-> ...... ->MS Sns Setl

"..."... ",,,.",

::=::J

.

1.7. command bunon contr ol7

-

.

,

C.ncel C .ption

, u

control u

" ", u u

nou controI. u

access key, " A/t"

TOU u

,

"&", u control uu

+ ,, .

Def.ult

True, control u "E nter" .

,

(events)

cantrals

( , ) . ,

cantrals, text box cammand buttan cantrals. , : text box, caption command button , b tton caption . controls . 1.8. . . _ lal,

. """""'" :::: ..

~

: