Home All Groups Group Topic Archive Search About

DDE - is it available in .NET?

Author
2 Nov 2006 5:57 PM
Spam Catcher
Hi all,


Is DDE still available in .NET? Is there a way to send DDE commands through
VB.NET?

Do I need an ActiveX component, or is there something in the .NET API or
Win32 API that I can use?

Author
2 Nov 2006 6:57 PM
Dick Grier
Hi,

Take a look at: http://www.ozemail.com.au/~markhurd/vbnetdde.zip.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Author
2 Nov 2006 9:50 PM
Spam Catcher
"Dick Grier" <dick_grierNOSPAM@.msn.com> wrote in news:elJtyCr$GHA.3560
@TK2MSFTNGP04.phx.gbl:

> Hi,
>
> Take a look at: http://www.ozemail.com.au/~markhurd/vbnetdde.zip.
>
> Dick
>

Damn - the code is ugly ... I expected that ... but thank you ;-)
Author
2 Nov 2006 11:07 PM
Herfried K. Wagner [MVP]
"Spam Catcher" <spamhoneypot@rogers.com> schrieb:
> Damn - the code is ugly ... I expected that ... but thank you ;-)

;-) Note that DDE is not supported by .NET out of the box because it is
considered a "legacy technology".

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
3 Nov 2006 2:20 PM
Spam Catcher
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in news:uCLUqOt
$GHA.4***@TK2MSFTNGP02.phx.gbl:

>> Damn - the code is ugly ... I expected that ... but thank you ;-)
>
> ;-) Note that DDE is not supported by .NET out of the box because it is
> considered a "legacy technology".

I know... <sigh> but I have a requirement to hook into an app that looks
like it's been around since Windows 3.1 (or older!) :S
Author
5 Nov 2006 7:56 AM
Mark Hurd
Show quote Hide quote
"Spam Catcher" <spamhoneypot@rogers.com> wrote in message
news:Xns986FAB2D7CFCusenethoneypotrogers@127.0.0.1...
> "Dick Grier" <dick_grierNOSPAM@.msn.com> wrote in
> news:elJtyCr$GHA.3560
> @TK2MSFTNGP04.phx.gbl:
>
>> Hi,
>>
>> Take a look at: http://www.ozemail.com.au/~markhurd/vbnetdde.zip.
>>
>> Dick
>>
>
> Damn - the code is ugly ... I expected that ... but thank you ;-)
>

Hey, it was only a proof of concept :-) What do you expect for public
domain ;-)

Before you ask, it still works with .NET 2.0.
--
Regards,
Mark Hurd, B.Sc.(Ma.) (Hons.)
Author
5 Nov 2006 7:55 PM
Spam Catcher
"Mark Hurd" <markh***@ozemail.com.au> wrote in news:ORIrZ$KAHHA.3536
@TK2MSFTNGP03.phx.gbl:

>> Damn - the code is ugly ... I expected that ... but thank you ;-)
>>
>
> Hey, it was only a proof of concept :-) What do you expect for public
> domain ;-)
>
> Before you ask, it still works with .NET 2.0.

Hi Mark,

I should have clarified the amount of marshaling between win32 apis -> .NET
is ugly :S

In anycase, thank you for building a proof of concept - I'm VERY glad you
did. I hope you didn't take my comments in the wrong way ... I appreciate
your code :-)
Author
5 Nov 2006 10:51 PM
Mark Hurd
Show quote Hide quote
"Spam Catcher" <spamhoneypot@rogers.com> wrote in message
news:Xns987297DD0DF8Ausenethoneypotrogers@127.0.0.1...
> "Mark Hurd" <markh***@ozemail.com.au> wrote in
> news:ORIrZ$KAHHA.3536@TK2MSFTNGP03.phx.gbl:
>
>>> Damn - the code is ugly ... I expected that ... but thank you ;-)
>>>
>>
>> Hey, it was only a proof of concept :-) What do you expect for
>> public domain ;-)
>>
>> Before you ask, it still works with .NET 2.0.
>
> Hi Mark,
>
> I should have clarified the amount of marshaling between win32 apis ->
> .NET
> is ugly :S

There are now code examples out there that use DDEML, which will reduce
that (but I can't find the free ones at the moment).

>
> In anycase, thank you for building a proof of concept - I'm VERY glad
> you
> did. I hope you didn't take my comments in the wrong way ... I
> appreciate
> your code :-)

It looks like I did, but that's OK. (You did see the emoticons through
out?)

--
Regards,
Mark Hurd, B.Sc.(Ma.) (Hons.)
Author
5 Nov 2006 11:12 PM
Spam Catcher
"Mark Hurd" <markh***@ozemail.com.au> wrote in news:e3P2fzSAHHA.3620
@TK2MSFTNGP02.phx.gbl:

> It looks like I did, but that's OK. (You did see the emoticons through
> out?)

I'm sarcastically challenged - I need subtitles.

I'll check out DDEML. Thanks again!
Author
5 Nov 2006 8:00 PM
Theo Verweij
When using DDE solutions, keep in mind that NetDDE is not supported
anymore on Vista.

Spam Catcher wrote:
Show quoteHide quote
> Hi all,
>
>
> Is DDE still available in .NET? Is there a way to send DDE commands through
> VB.NET?
>
> Do I need an ActiveX component, or is there something in the .NET API or
> Win32 API that I can use?
Author
6 Nov 2006 3:01 PM
Michael D. Ober
Thanks for the alert about Vista.

Mike Ober.

Show quoteHide quote
"Theo Verweij" <tverw***@xs4all.nl> wrote in message
news:%23SzsGURAHHA.2276@TK2MSFTNGP03.phx.gbl...
> When using DDE solutions, keep in mind that NetDDE is not supported
> anymore on Vista.
>
> Spam Catcher wrote:
>> Hi all,
>>
>>
>> Is DDE still available in .NET? Is there a way to send DDE commands
>> through VB.NET?
>>
>> Do I need an ActiveX component, or is there something in the .NET API or
>> Win32 API that I can use?
Author
9 Nov 2006 8:26 PM
Brian Gideon
Sorry for the late response.  I maintain an open source DDE library for
the .NET Framework.  You can find it at the following link.

http://workspaces.gotdotnet.com/ndde

Brian

Spam Catcher wrote:
Show quoteHide quote
> Hi all,
>
>
> Is DDE still available in .NET? Is there a way to send DDE commands through
> VB.NET?
>
> Do I need an ActiveX component, or is there something in the .NET API or
> Win32 API that I can use?
Author
9 Nov 2006 10:19 PM
Spam Catcher
"Brian Gideon" <briangid***@yahoo.com> wrote in
news:1163104003.996963.171290@m7g2000cwm.googlegroups.com:

> Sorry for the late response.  I maintain an open source DDE library
> for the .NET Framework.  You can find it at the following link.
>
> http://workspaces.gotdotnet.com/ndde


More Info the Merrier.

Thank you very much :-)