473,498 Members | 2,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need a quick DDE alternative/solution, Please

In a program that I'm converting from VB6 to C# (VS .Net 2003 not
2005) there are a few DDE calls and they obviously don't work anymore
in .NET. I'm trying to find an easy way around this because there are
only 3 lines of code in the app for DDE.

frmDialer.txtDDEPop.LinkMode = NONE
frmDialer.txtDDEPop.LinkTopic = "<nameofprogram>"
frmDialer.txtDDEPop.LinkMode = MANUAL

There HAS to be an easy way around this. I've been searching Google
for 2 hours now and can't find a good solution.

The one thing that people keep referring to, NDDE

http://www.gotdotnet.com/Community/U...4-2ed516b75181

Doesn't even allow me to load the reference to the .dll file in 2003,
only 2005 and I can't use 2005 for this project.

Anyone have ANY insight on this??

May 8 '07 #1
2 2640
Are you using this program as a client, or as a server? Either way, it
seems your only option is going to be to access the DDE API through the
P/Invoke layer. It won't be pretty, but it should allow you to get the job
done.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<ji**********@gmail.comwrote in message
news:11**********************@l77g2000hsb.googlegr oups.com...
In a program that I'm converting from VB6 to C# (VS .Net 2003 not
2005) there are a few DDE calls and they obviously don't work anymore
in .NET. I'm trying to find an easy way around this because there are
only 3 lines of code in the app for DDE.

frmDialer.txtDDEPop.LinkMode = NONE
frmDialer.txtDDEPop.LinkTopic = "<nameofprogram>"
frmDialer.txtDDEPop.LinkMode = MANUAL

There HAS to be an easy way around this. I've been searching Google
for 2 hours now and can't find a good solution.

The one thing that people keep referring to, NDDE

http://www.gotdotnet.com/Community/U...4-2ed516b75181

Doesn't even allow me to load the reference to the .dll file in 2003,
only 2005 and I can't use 2005 for this project.

Anyone have ANY insight on this??

May 8 '07 #2
It is used as a client to connect to a server program that I don't own
the code to. It's an external app used to get some user information.

Could you help me out by explaining a little more about what I would
do to use this P/Invoke layer?
I appreciate it. Thanks

On May 8, 11:56 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Are you using this program as a client, or as a server? Either way, it
seems your only option is going to be to access the DDE API through the
P/Invoke layer. It won't be pretty, but it should allow you to get the job
done.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<jimcarrey...@gmail.comwrote in message

news:11**********************@l77g2000hsb.googlegr oups.com...
In a program that I'm converting from VB6 to C# (VS .Net 2003 not
2005) there are a few DDE calls and they obviously don't work anymore
in .NET. I'm trying to find an easy way around this because there are
only 3 lines of code in the app for DDE.
frmDialer.txtDDEPop.LinkMode = NONE
frmDialer.txtDDEPop.LinkTopic = "<nameofprogram>"
frmDialer.txtDDEPop.LinkMode = MANUAL
There HAS to be an easy way around this. I've been searching Google
for 2 hours now and can't find a good solution.
The one thing that people keep referring to, NDDE
http://www.gotdotnet.com/Community/U...aspx?SampleGui...
Doesn't even allow me to load the reference to the .dll file in 2003,
only 2005 and I can't use 2005 for this project.
Anyone have ANY insight on this??

May 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2151
by: Piet | last post by:
Hello wxPythoneers. I have a problem with a dialog box derived from wxFrame which has a wxComboBox as main element. Depending on the entry selected from the ComboBox, the dialog box will be...
62
3304
by: christopher diggins | last post by:
Since nobody responded to my earlier post , I thought I would try to explain what I am doing a bit differently. When multiply inheriting pure virtual (abstract) base classes, a class obviously...
1
13268
by: prasaddevivara | last post by:
I am using the outerHTML property to modify the HTML of existin elements in a web page in Internet Explorer. But same outerHTM property is not working in firefox browser, Anybody can tell me a...
0
352
by: aredo3604gif | last post by:
The user can dynamically enter and change the rule connection between objects. The rule is a "<" and so given two objects: a < b simply means that b < a can't be set, also it must be a != b. And...
0
310
by: aredo3604gif | last post by:
The user can dynamically enter and change the rule connection between objects. The rule is a "<" and so given two objects: a < b simply means that b < a can't be set, also it must be a != b. And...
3
2329
by: B Maxey | last post by:
I am storing images in a database and need a way to browse those files. I can load the files into an image list or whatever the control needs, but I need a control. It doesn't seem that any of...
15
4563
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
8
2714
by: skumar434 | last post by:
i need to store the data from a data base in to structure .............the problem is like this ....suppose there is a data base which stores the sequence no and item type etc ...but i need only...
0
3917
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need ...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7162
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7375
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...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4899
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
4584
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
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.