IonicWind Software

IWBasic => General Questions => Topic started by: crodzilla on July 07, 2008, 08:03:01 AM

Title: DDE connectivity...
Post by: crodzilla on July 07, 2008, 08:03:01 AM
Using Emergence... does anyone know how to use DDE connectivity between another windows application.  I have a sample in VB, but I am unsure how to initiate a link in Emergence Basic.  I read the MSDN articles about it.  It seems pretty complex.  Yet excel can do it without any programming, and VB seems pretty straight forward.

A VB sample is attached.  It will only work if you use the MetaTrader 4 currency trading platform, and enable the DDE server.
It uses a linked text box which means the compiler does all the magic.  I think.  Any ideas?
Title: Re: DDE connectivity...
Post by: Peter on August 06, 2008, 02:14:44 AM
This is just me guessing, but I think that you're facing ALOT more code than you think.

Since VB is extremely bloated with shortcuts to do whatever, it's easy to do pretty advanced things without that much code.

I recall a guy doing communication over DDE in another basicdialect that I rarely use nowadays, and the code was around 250-300 lines, with removed blank lines.
This was only to send a message using a mailclient. I'll be sending you the sample privately, since this is the support forums, and since it's been a while since you posted this. Hopefully noone will be irritated over it anyways.

Good luck.
Title: Re: DDE connectivity...
Post by: crodzilla on August 06, 2008, 08:54:56 AM
Thanks for the pointer.  This technology is old, but unfortunately still used.  Weird since the client I'm trying to communicate with is only a couple of years old.  I'm just tired of exporting data from the client in a text file, just to read it back in to my program...

Appreciate the response... I'll read it over.

Carl