>Hi All
>
>I have an external program 'MubasherPro' which access the local stock market to display live data. Through excel you can access the data by defining the cells such as C12:
> =MProTadawulDdeServer|'BO1020'!'23'*1
>
>Is there is a way where I can link live to the above server to put the data in a VFP table.
>
>Your help is much appreciated which may help me recover some of my losses.
>
>Thanks
VFP has a rich set of functions to establish DDE communication.
Those function names begin with "DDE", so you can easily find them in documentation.
First, you need to use DDEInintiate() to connect to the server.
(I also recommend to call DDESETOPTION("SAFETY", .F.) before this)
Then you can use DDERequest() to read data from server.
Or you can use DDEAdvise() to set a notify link - every time some item of data is changed a handler in your application will be triggered.
Hope this helps.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.