Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Doing the DDE dance with MapInfo
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00102759
Message ID:
00103060
Views:
25
>If your client is still writing the MapBasic program, perhaps you can get them to create and register that program as an OLE object. The "tech spec sheet" on the web site implies that it is possible. Of course, if the client is just learning MapBasic and isn't familiar with the concept of OLE automation, that request might be hard for them to fulfill. At your end, you will need their MapBasic documentation and probably some description of the specifics of their program. Chapter 18 of the VFP Developer's Guide describes "Adding OLE", which is partly about general field types, linking and embedding, and so on, and partly about OLE Automation. (I use vfp3. It's chapter 18 in my book, anyway.) A number of general automation examples using Word, Excel, or Outlook, can be found here (I see you are a premiere member), many of which have been provided recently by Cetin Basoz. My own experience with OLE automation is very limited.
>
>By the way, I keep talking about OLE because my own experience with DDE, like that of others, was not pleasant. As far as I remember, when your program executes a DDE command, it then goes on its merry way without ever getting anything returned from the receiving program, like an error condition. Of course, a DDE command that requests data would return data if it was successfull. If you use it, you will still need MapBasic documentation to tell you how the general-purpose VFP DDE functions will work with MapBasic. But I should say that I used DDE four years ago, not in FoxPro, and not for very long.


He's still writing the program, so we can do whatever we need on either end to integrate the programs. He knows MapBasic, but I don't know if he knows OLE. I know I don't know anything about either.

Unfortunately, I don't have the book you mentioned. We have the VFP that comes in Visual Studio, and that either didn't come with manuals, or they were lost before I started working here. I'm leaning more towards the first because of the size of the box and because they keep _everything_ here.

I saw some of the examples using Word and that, but it was way beyond me. Hopefully the MapBasic manuals will have more info. I'll find out when I get down there Monday.

Thanks,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform