By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

DDE - is it available in .NET?

P: n/a
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?
Nov 2 '06 #1
Share this Question
Share on Google+
12 Replies


P: n/a
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.
Nov 2 '06 #2

P: n/a
"Dick Grier" <dick_grierNOSPAM@.msn.comwrote 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 ;-)

Nov 2 '06 #3

P: n/a
"Spam Catcher" <sp**********@rogers.comschrieb:
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/>

Nov 2 '06 #4

P: n/a
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in news:uCLUqOt
$G*******@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... <sighbut I have a requirement to hook into an app that looks
like it's been around since Windows 3.1 (or older!) :S
Nov 3 '06 #5

P: n/a
"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn*********************************@127.0.0.1 ...
"Dick Grier" <dick_grierNOSPAM@.msn.comwrote 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.)

Nov 5 '06 #6

P: n/a
"Mark Hurd" <ma******@ozemail.com.auwrote 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 :-)
Nov 5 '06 #7

P: n/a
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?
Nov 5 '06 #8

P: n/a
"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
"Mark Hurd" <ma******@ozemail.com.auwrote in
news:OR**************@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.)

Nov 5 '06 #9

P: n/a
"Mark Hurd" <ma******@ozemail.com.auwrote 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!
Nov 5 '06 #10

P: n/a
Thanks for the alert about Vista.

Mike Ober.

"Theo Verweij" <tv******@xs4all.nlwrote in message
news:%2****************@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?

Nov 6 '06 #11

P: n/a
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:
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?
Nov 9 '06 #12

P: n/a
"Brian Gideon" <br*********@yahoo.comwrote in
news:11**********************@m7g2000cwm.googlegro ups.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 :-)
Nov 9 '06 #13

This discussion thread is closed

Replies have been disabled for this discussion.