473,513 Members | 2,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DDE - is it available in .NET?

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
12 4299
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
"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
"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
"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
"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
"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
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
"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
"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
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
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1539
by: Nikki Locke | last post by:
Archive-name: C++-faq/libraries/part1 Comp-lang-c++-archive-name: C++-faq/libraries/part1 Available C++ Libraries FAQ =========================== Introduction ~~~~~~~~~~~~ Dos and don'ts -...
7
3014
by: Office Drone | last post by:
I'm a bit confused about memory usage, and for some reason I wasn't able to find a single point-of-call to get the amount of memory available. If we take, for instance, the Windows platform: ...
2
7866
by: dream machine | last post by:
Hi all, I'm try to check if the one client socket is really connected at my SocketServer . I build Client Socket with BeginAccept() , and I want to receive data with BegenReceive() call ! The...
5
8992
by: Kovan Akrei | last post by:
Hi, I wonder if it is possible to get hold of avaiable memory (only RAM) on a machine through .Net class library? I do not want to call windws API. I would like to use this to decide how many...
2
6342
by: Claire | last post by:
I'm implementing a UDP server socket from the system.net.sockets.socket class. (no, I don't want to use the udpclient class) I'm polling the socket in a thread, testing the socket.available...
2
702
by: Droopy | last post by:
Hi, I try to implement a reusable socket class to send and receive data. It seems to work but I have 2 problems : 1) I rely on Socket.Available to detect that the connection is closed (no...
8
3006
by: BJ | last post by:
Problem: How can I code up a client side process to detect if the network is available? Synopsis: I am writing ASP.NET input forms for a Panasonic Tuff book. The users will be walking around...
4
2494
by: comp.lang.php | last post by:
I wrote my own version of memory_get_usage() if that function is not available: if (!function_exists('memory_get_usage')) { /** * Determine the amount of memory you are allowed to have * *...
7
5946
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
66
3635
by: karthikbalaguru | last post by:
Hi, Will 'free' return the memory Immediately to the OS ? Thx in advans, Karthik Balaguru
0
7264
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7543
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7106
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7534
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5094
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1601
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
459
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.