473,395 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Send data to C++ program from javascript?

I am trying to use javascript just to make a gui for a program written
in C++. I am having trouble finding any information on how to input
data obtained from a user in the javascript application into the C++
program if it is even possible.

Any help or direction would be appreciated.

Thanks

Aug 6 '06 #1
5 2380
sc***********@gmail.com wrote:
I am trying to use javascript just to make a gui for a program written
in C++. I am having trouble finding any information on how to input
data obtained from a user in the javascript application into the C++
program if it is even possible.
It depends on the JavaScript engine you are using. In the standard browser
environment, it is impossible (unless you are communicating via a
webserver). Internet Explorer has proprietary ActiveX interfaces. You can
probably do something with XUL in a Mozilla based something. And so on.
--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 6 '06 #2
Thanks for the help. I might give your mozilla suggestion a try. I also
I need to research the yahoo widget engine a little more.

Two quick question about activex though; Would it let me move
information from a window written in javascript, to an open textbox in
a running executable (in IE)? Can it also be used to click on the
executables buttons fron th javascript?

Thanks,
Scott

Aug 7 '06 #3
sc***********@gmail.com wrote:
Two quick question about activex though; Would it let me move
information from a window written in javascript, to an open textbox in
a running executable (in IE)? Can it also be used to click on the
executables buttons fron th javascript?
You'd need to write an ActiveX control that could do that. Then I think
JavaScript might be able to use the interface the control provides.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 7 '06 #4
JRS: In article <11********************@m73g2000cwd.googlegroups.c om>,
dated Sat, 5 Aug 2006 23:07:08 remote, seen in
news:comp.lang.javascript, sc***********@gmail.com posted :
>I am trying to use javascript just to make a gui for a program written
in C++. I am having trouble finding any information on how to input
data obtained from a user in the javascript application into the C++
program if it is even possible.

Any help or direction would be appreciated.

For non-Web applications, the microsoft.public.scripting.* news
hierarchies seem better.

Read the newsgroup FAQ.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Aug 7 '06 #5
Thanks for the help. I think I found a couple ways to do wha I want.

Thanks again,
Scott

Aug 10 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kurda Yon | last post by:
Sorry for a very stupid question. Can you tell me what does the following html source does if I press button "Send"? If I read this code by Netscaspe from my local file system and then press...
4
by: zhimin | last post by:
Hi, I'm writing a program to send large file(100m) through dotnet using TCPListener & TCPClient, I'm sending the file with a ask and response loop: 1. Client send a flag 1 to server indicate it...
5
by: Dan | last post by:
Hi, Is there a way to send information via javascript by redirecting to a page that contains frames? The information that will have to be sent will be the page name of the original page before...
2
by: Pablo | last post by:
Hi at all! How can i send a DATA (not a DataTime) Type to a Java WebService? In .NET we have only a DataTime that is incompatible with the Data (calendar) Type of Java! How can i resolve this...
2
by: thumer | last post by:
First I want to excuse me for my bad english. I have programmed a javascript application, like a file browser. You can create move, delete and create files and folders. The data is saved in a...
4
by: David A. Beck | last post by:
I need to enter data on a web page. I have been able to navigate using the VB.NET WebBrowser control and see the contents of each page. What I need to do now is to fill in the controls on the page...
1
by: steinwaygirl | last post by:
Hi all, I have been searching so hard for the answer to this, hopefully some of you all can help. I have created an HTML file with various forms - also included CSS and some javascript for...
2
by: Malli mindwave | last post by:
Hi, We are using the yahoowebHostiing service for my company website, In that one screen of the SendComments/FeedBack section is there, I'm basically dot.net develeoper ,but yahoowebhosting not...
4
by: ithinc | last post by:
Is there a method to send gmail through a xmlhttprequest?
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.