How to call a program from javascript

This is a discussion on "How to call a program from javascript" within the JavaScript Forum section. This forum, and the thread "How to call a program from javascript are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 2nd, 2007, 15:50
New Member
Join Date: May 2007
Location: Ohio
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
How to call a program from javascript

My question concerns interfacing a web page to a stand alone program via javascript on a Windows client. The stand alone program would be an out-of-process server. It remains loaded until it is shut down. The server would be written in C++ or Delphi, etc., but is a stand alone .exe. There is no underlaying support software, such as .NET.

My questions are, can javascript:
1. Initially load the program the first time it is called?
2. Can javascript unload the program?
3. Can javascript pass a character string into the program. The character stringhas a method name and the data need to porcess the method. Perhaps javascript can make the method call to the program and pass required parameters for that method?

Examples of method calls (non-specific to any language or javascrpt):
1. DisplayImages(myProgram.exe,Img1,Img2,Img3). Where Img1, Img2, Img3 are variables that contains the name of the image file to be displayed by the program. DispalyImages is a method in myProgram.exe.
2. UpdateIndex(myProgram.exe, business_unit, voucher_number, invoice_date, invoice_no).

If someone could point me to a web resource on how to do this (if it can be done) would be most appreciated!

Thanks in advance,

Regards,
rcflyer2005
Reply With Quote

Reply

Tags
com, com server, javascript

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[solved] Don't know what to call it acrikey Webforumz Cafe 3 Mar 24th, 2008 18:45
call php function in image url csun PHP Forum 16 Aug 19th, 2007 18:49
call php function in different database csun PHP Forum 1 Aug 8th, 2007 07:17
what do I call this 'some impovement?' geyids Webforumz Cafe 11 Jul 8th, 2007 10:56


All times are GMT. The time now is 10:34.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43