Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little DDE help?
Message
 
À
12/12/1997 11:19:56
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, Colombie Britannique, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065295
Message ID:
00065813
Vues:
34
>>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.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform