Comments:
Real-time DDE can be accessed in VB6 through the text box control. If you create a text box in on a VB6 form, and look in the properties window for the text box you will see that it has LinkItem, LinkTopic, and LinkMode properties. You would bring in DDE data into a text box on a VB form by writing a procedure which would change these properties.
If you wanted to get the last price on IBM to appear in a VB 6 text box the could would be:
With ddeTxtbox .LinkItem = “IBM,LAST” .LinkTopic = “REUTER|IDN” .LinkMode = Automatic, Manual or Notify End with
The LinkMode property has three settings which allow you to control how the data is retrieved. If you select Notify you could then use the On Notify event.
Hope this helps.
|