Hi
Has anyone got experience with DDE in Visual Basic.
Im trying to get a simple conversation going btw vb & mb
I'm using the code straight out the documentation
On Error GoTo err
Text1.LinkMode = 0
Text1.LinkTopic = "MapInfo|test_dde.mbx"
Text1.LinkMode = 2
Text1.LinkExecute "Hello"
Text1.LinkMode = 0
err:
MsgBox "No conversation established"
for the visual basic side of things, and
Sub RemoteMsgHandler
Dim message As String
message = CommandInfo(CMD_INFO_MSG)
Print message
Call ShowMap
End Sub
for the mapbasic code, but I cant get anything to happen!
MapInfo is up and running, this is a simple as it gets I imagine so i must be missing
somethig simple but from the help i cant see what.
Also the DDE client on the visual basic side always have to use a TextBox (Text1) as
its LinkXXXX I cant seem to get anything else to work.
Any help much appreciated
Thanks
Mark