I'm not sure, but I think you missed my problem.
Let me start over.
I am trying to launch MS Query from a webpage, then get the SQL statement that it creates. As far as I know, I can't access MS Query through OLE, so I am forced to use DDE, which it does support. So far I can launch MS Query from my ActiveX control(impressive huh), but I can't get DDE to work. I've tried doing this same thing in a "Standard EXE" and I get the exact same errors(Sub or Function not defined when I call DDEInitiate).
Thanks
John