Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little DDE help?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065295
Message ID:
00065895
Views:
40
>>>I am finally getting to the nuts and bolts of the only part of my app that needs to use DDE. I haven't used DDE since school, so I need a little help.
>>>
>>>I am poking journal entries into Peachtree...
>>>Establishing the channel and topic is not problem, and I think I have the actual POKEing of the data under control.
>>>What I am lost on is how to set the file.
>>>For example in VB (where my only DDE experience lies),
>>>I would just set the object's
>>>linkitem = "file=generaljournal, field=date"
>>>text = "12/10/97"
>>>and then POKE it.
>>>Well in VFP, DDEPOKE doesn't have a parameter for the file, just the field.
>>>
>>>How do I tell Peachtree that the data I'm poking is going into the general journal?
>>>
>>>Thanks in advance for any wisdom you could impart.
>>
>>Have you checked out the dde systax that Peachtree supports? There are probably some technical documents from Peachtree that will help you with this syntax and maybe even some sample code that you can modify for the VFP end.
>>
>>Good luck,
>>
>>Paul de Niverville
>Something else guys, If you can use "OLE Automation" with
>peachtree, go for it, is a lot better, easier and more stable
>than DDE, and you can use a sintax that is more familiar to
>you like :
>oPeachtree=CREATEOBJECT("Peachtree.System"), or something like
>that.
>And then you could use things like :
>
>oPeachtree.OpenFile("MyFile.ext")
>
>P.S. Peachtree may need something different at "Peachtree.System"
>I am just making a comparison with another software that I use to
>give you an example.

I wish that I had the choice to use OLE with Peachtree, but I don't. I have used OLE with a few other apps, and it usually proves to be pretty straightforward.

I have read through and through a;ll of the documentation that comes with Peachtree, and like I said, the only examples it gives are with VB. But I already know how to do this with VB, I need to know how to do it with Fox.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform