?
Solved

DDE with JavaScript.

Posted on 2003-03-15
8
Medium Priority
?
2,360 Views
Last Modified: 2011-01-19
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
0
Comment
Question by:Face0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 16

Expert Comment

by:sh0e
ID: 8146874
in what particular context?
javascript itself does not have a direct interface for dde communication
0
 

Author Comment

by:Face0
ID: 8148189
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.
0
 
LVL 1

Expert Comment

by:mortenmo
ID: 8155092
Here is an example opening Excell using ActiveX.. Hopefully this helps.. Dont know much about what mIRC can do..

var x = new ActiveXObject('Excel.Application');
x.visible = true;
x.Application.Workbooks.Open("C:\\sp.xls");
alert("cell(1,1)== " + x.Application.Workbooks(1).Cells(1, 1).Value);
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 16

Expert Comment

by:sh0e
ID: 8155479
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
0
 

Author Comment

by:Face0
ID: 8157283
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?
0
 

Author Comment

by:Face0
ID: 8157288
BTW: I do not use VB, so I don't feel comfortable using that ddclient :/.
0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 10131309
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
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 10215244
PAQed, with points refunded (50)

Computer101
E-E Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question