|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Porting VB6 to .Net - DDE replacement?Hi,
I'm porting some legacy software to .Net; its a communications driver that speaks to the outside world via DDE. Since MS dropped DDE support in VB after version 6, is there some workaround? Maybe a couple of classes, one to embed in the form to be the "link source" and another to add in a class derived from textbox? I looked at the ddeml messages but the implementation would be horrendous. Any ideas? Thanks, James <aaron.ke***@gmail.com> wrote in message
news:1148493335.706528.7180@j73g2000cwa.googlegroups.com... Yes, old, and still in use for communication server, (and by explorer - > wow.. no idea good luck & sorry > > isn't DDE like _HELLA_ old? every time you double-click a document, explorer uses DDE to tell a program to open the file). James James,
Like you said the DDEML can be used from within VB.NET. But you're right, it's considerably more difficult than what some people would think for several reasons. I have a completely free and open source library that has an easy interface for using DDE in .NET applications that may work for you. <http://workspaces.gotdotnet.com/ndde> Brian James Minns wrote: Show quoteHide quote > Hi, > I'm porting some legacy software to .Net; its a communications driver that > speaks to the outside world via DDE. > Since MS dropped DDE support in VB after version 6, is there some > workaround? > > Maybe a couple of classes, one to embed in the form to be the "link source" > and another to add in a class derived from textbox? > > I looked at the ddeml messages but the implementation would be horrendous. > Any ideas? > > > Thanks, James wow. crazy.
what do you mean by communication server? can't you either hook an API call; or setup a filesystemwatcher for watching for files moving on a per-drive basis instead of piggybacking onto explorer?? -Aaron Aaron,
I assume this post was meant for James. I'll answer it anyway. There are still applications today who's only mechanism for communicating with other processes on the operating system is DDE. DDE applications that publish data are typically called servers while those that subscribe or request data are called clients. The communication server the OP is speaking of could be a gateway into a PLC or some other application that provides realtime data. It's hard to say. I think the OP was only presenting an example of where DDE is used when he mentioned explorer. I didn't see where he mentioned using DDE to capture file system events. You're right though. DDE is really old and should be avoided whenever possible. It's terrible to work with. Brian aaron.ke***@gmail.com wrote: Show quoteHide quote > wow. crazy. > > what do you mean by communication server? > > can't you either hook an API call; or setup a filesystemwatcher for > watching for files moving on a per-drive basis instead of piggybacking > onto explorer?? > > > -Aaron i just see a lot of options inside of MS access for 'ignore DDE
refresh' and stuff like that; i wish i knew what those did in real world. i remember that goldmine used to use a bunch of DDE calls back in the day i think also Brian, thanks for sharing this code!
James Show quoteHide quote "Brian Gideon" <briangid***@yahoo.com> wrote in message news:1148508732.438250.97690@i40g2000cwc.googlegroups.com... > James, > > Like you said the DDEML can be used from within VB.NET. But you're > right, it's considerably more difficult than what some people would > think for several reasons. I have a completely free and open source > library that has an easy interface for using DDE in .NET applications > that may work for you. > > <http://workspaces.gotdotnet.com/ndde> > > Brian > > James Minns wrote: >> Hi, >> I'm porting some legacy software to .Net; its a communications driver >> that >> speaks to the outside world via DDE. >> Since MS dropped DDE support in VB after version 6, is there some >> workaround? [x]
scope of command and garbage collection
How to Use a Screen Saver app within My Application? Binding currencyManager and dataRelation - datagridview - possible Object from variable Need help with Conversion from C# to VB.net SET ARITHABORT ON: Why (not)? Web Service Question about a conversion project Inline SQL vs stored procs on SQL Server 7 and 2000 Alternate Name |
|||||||||||||||||||||||