Hello,
I'm trying to setup DDE converzation using VB.NET. I used APIfinctions. I have initialized DDEML & got connection. I haveproblem to send the command to the application. The functionalways return 0. Can sombody give me any direction hov to solvethis, please.
I have declared DDEClientTransastion this way:
Public Declare Function DdeClientTransaction Lib "user32" Alias"DdeClientTransaction" (ByRef pData As String, ByVal cbData AsInteger, ByVal hConv As Integer, ByVal hszItem As Integer, ByValwFmt As Integer, ByVal wType As Integer, ByVal dwTimeout AsInteger, ByRef pdwResult As Integer) As Integer
I'm trying to use this function, where 'DdeCommand' is command,'StrLength' is length of command +1, 'ConnectId' is DDEConnecthandle & Result = 0
DdeClientTransaction(DdeCommand, StrLength, ConnectId, 0, 0,XTYP_EXECUTE, 2000, Result)
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>Dz1rGVLKAEWII87BXcpGZA==</Id>