Face0
asked on
DDE with JavaScript.
Hello, my question isn't very long or anything, but I just would like to know if it is possible to make use of DDE commands (namely CTYP_POKE) using JavaScript? If so, how do I o about doing this?
Thank you.
---Face
Thank you.
---Face
ASKER
Well, first of all, I'd just be using it locally on my computer. Basically what I want to be able to do is be able to click a button or something and have it send a a CTYP_POKE DDE message to my mIRC client (mIRC is well-outfitted for use with DDE). I would think that there would be some kind of active-x control or something i could use to achieve this.
Here is an example opening Excell using ActiveX.. Hopefully this helps.. Dont know much about what mIRC can do..
var x = new ActiveXObject('Excel.Appli cation');
x.visible = true;
x.Application.Workbooks.Op en("C:\\sp .xls");
alert("cell(1,1)== " + x.Application.Workbooks(1) .Cells(1, 1).Value);
var x = new ActiveXObject('Excel.Appli
x.visible = true;
x.Application.Workbooks.Op
alert("cell(1,1)== " + x.Application.Workbooks(1)
morten:
thats an active-x interface.. loading excel as an object
of course you could make your own active-x control and then call it to do your dde stuff
heres some visual basic code that shows how to use dde.. put functions for sending dde commands..
then create a new activexobject of the control u made and call the functions from it
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4550&lngWId=1
theres a (quite expensive) non-free active-x control available here:
http://www.angelfire.com/biz/rhaminisys/ddclient.html
that you could use also
thats an active-x interface.. loading excel as an object
of course you could make your own active-x control and then call it to do your dde stuff
heres some visual basic code that shows how to use dde.. put functions for sending dde commands..
then create a new activexobject of the control u made and call the functions from it
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4550&lngWId=1
theres a (quite expensive) non-free active-x control available here:
http://www.angelfire.com/biz/rhaminisys/ddclient.html
that you could use also
ASKER
sh0e, are you saying that I could make a c++ script that utilizes DDE and make it an activeX object? I didn't know that you could do that, as I know next-to-nothing about ActiveX, could you please explain how I could do this?
ASKER
BTW: I do not use VB, so I don't feel comfortable using that ddclient :/.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ with points refunded
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jAy
EE Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ with points refunded
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jAy
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
javascript itself does not have a direct interface for dde communication