Professional Documents
Culture Documents
ANDHRAPRADESH
Name : P. Sri Vidya
Designation : Lecturer
Branch : DCCP
Institute : G.P.W.Bheemili
Semester : VI Semester
Subject : Visual Basic II
Subject code : CCP- 603
Topic : DYNAMIC DATA
EXCHANGE
Sub Topic : Properties of Dynamic
Data Exchange
Duration : 50 min
Teaching Aids : PPT
CCP603.52 to 54 1
Objectives
On completion of this period, you would be able to:
Know about Properties of Dynamic Data Exchange
CCP603.52 to 54 2
RECAP
CCP603.52 to 54 3
Properties of Dynamic Data Exchange
Link Topic
Link item
Link mode
Link time out
The above properties are to be set
in order to make a control of VB
like a form, a text box, a label, a picture box
as destination
CCP603.52 to 54 4
Link Topic property
CCP603.52 to 54 5
Link Item property:
Row1 Column1
CCP603.52 to 54 6
Link Mode Property:
CCP603.52 to 54 7
2-Manual- The destination control only receives data
when it asks for the data
3-Notify- The destination control receives notification
that data has exchanged, then data must be
asked manually
Syntax:
Object.Link mode [=number]
CCP603.52 to 54 8
Link time out property:
Specifies the amount of time a control waits
for a response in a DDE conversation
before raising an error
If there is no response, before link time out period,
an error is raised
Syntax:
Object.Link time out[number]
By default, the link time out property is set to
50(equivalent to 5 seconds)
CCP603.52 to 54 9
How VB converses with other
applications?
VB converses with other applications through
Control-
Allows a destination control on a visual basic form to
initiate a conversation
as specified by the control’s
Link Topic and Link item properties
CCP603.52 to 54 10
How other applications converse with VB?
Other applications converse with VB through
Form-
Allows a destination application to initiate
a conversation with Visual Basic source form,
as specified by the destination application’s
Link Topic and Link item properties
CCP603.52 to 54 11
Quiz
a) Linkitem, Linkmode
b) Linktopic, Linkitem
c) Linktopic, Linkmode
d) Linkitem, Linktimeout
CCP603.52 to 54 12
2. Which property prevents VB from
getting hang-up waiting for a
response.
a) Link topic
b) Link Mode
c) Link item
d) Link time out
a) None
b) Automatic
c) Manual
d) none
CCP603.52 to 54 14
Frequently asked questions.
1. List the properties of Dynamic Data Exchange
2. Explain properties of DDE
CCP603.52 to 54 15
Summary
CCP603.52 to 54 16
ASSIGNMENT
1. Prepare two VB small applications and test
DDE.
CCP603.52 to 54 17
THANK YOU
CCP603.52 to 54 18