WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

DDE

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Can WinBatch act as a DDE Server?

Keywords: 	DDE server

Question:

Is it possible to open a DDE converstaion from MS Access to a compiled (16 bit) WinBatch file (to subsequently retrieve the value of a variable set in the WinBatch file)?

Having both run up Access and opened the appropriate database using a WinBatch script, I am trying to execute a DDEInitiate from within Access. I've tried variations on :


   DDE_CHANNEL=DDEInitiate("TRACY.EXE","SYSTEM")

where TRACY.EXE is the name of my compiled WinBatch executable.

I either get a standard MS Access message along the lines of "... unknown application and topic", or DDE_CHANNEL = 0.

I can't find any discussion of how to do this, and in particular which DDEInitiate "Topics" are supported under the WinBatch Help. Am I trying to do the impossible?

Answer:

WinBatch will do Client side DDE only. It can control access, not let access control it.
Article ID:   W12806
Filename:   Can Winbatch Act as a DDE Server.txt
File Created: 1999:04:15:16:49:46
Last Updated: 1999:04:15:16:49:46