View Full Version : Running applications from Web Browser
040170
08-29-2002, 04:50 PM
Can anybody help ?
Is it possible to use Javascript or some other client side language to search for, and if found, launch an application on a client from within a browser.
ie Start a text editor from a web browser
Thanks in anticipation
Michael
08-29-2002, 04:56 PM
hey
I don't think you can achieve this in client side scripting, if you are doing a search form, you need a databse which has all the fields and tables in it such as keyword and... you have to achieve this in server side sprogramming...
and welcome to this forum!
scoutt
08-29-2002, 06:36 PM
sorry not possible
Jon Hanlon
08-29-2002, 07:19 PM
// var wordObj;
wordObj = new ActiveXObject("Word.Application"); //Create word object
wordObj.Visible = true; //Make it visible
// wordObj.Documents.Open("myfile.doc") //Open document
This will only work for Internet Explorer and only then if the Security is set to Low.
For Excel:
function startExcel() {
if (typeof(startExcel.oExcel) == "undefined" || startExcel.oExcel === null)
startExcel.oExcel = new ActiveXObject("Excel.Application");
startExcel.oExcel.Visible = true;
startExcel.oExcel.Workbooks.Open("http://somehost.com/bullsheet.xls")
var cell32 = objXL.Cells(3,2).Value;
}
function stopExcel() {
startExcel.oExcel.Quit();
startExcel.oExcel = null;
window.setTimeout("CollectGarbage();",100); // CollectGarbage is a JScript library function
}
torrent
08-29-2002, 09:47 PM
...and obviously only on non-Unix platforms as well. :) To be honest you can't really do what I think it is you want to do. Some would say that's a good thing to.
territoryOK
08-30-2002, 04:55 AM
TOLD YOU STEVE!!!!!
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.