Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DDE and ActiveX

Status
Not open for further replies.

jmcpher

Programmer
Jun 4, 2001
84
US
First off, can I use DDE from an ActiveX control? Secondly, when I try to call DDEInitiate it just tells me that the "Sub or Function not defined." What and how do I include to make this go away?

Thanks
John
 
You can't use DDE together with OLE. John Fill
1c.bmp


ivfmd@mail.md
 
Is there any way that I can use DDE from a Web platform. All I need to do is have my one button control launch a program, wait for the user to exit said program, and get the information that they produced with said program.

Thanks
John
 
The DDE can't comunicate with OLE. You can make some separate functions what use DDE ant other what use OLE, and change data between them. John Fill
1c.bmp


ivfmd@mail.md
 
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
 
maybe you shoult include dde.h? I don't know exactly because I don't know DDE. John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top