Avatar of kndtec
kndtec asked on

Looking for some javascript and/or solution to load a remote update (exe) once the html is loaded?

Looking to have my client's employees login to the Intranet and have the home page load an exe from a remote server with NO user interaction.  

Scripting LanguagesJavaVisual Basic Classic

Avatar of undefined
Last Comment

8/22/2022 - Mon

this is not a JS problem. it is a server side problem. however, you can make an AJAX request to server to do this with the onload event of the body tag.
Kin Fat SZE

run program from server by javascript? It may too dangerous. If it is a must, I suggestion run the program by server scripting languages.
If indeed, please provide what is your server OS (should be windows) and web server and server programming language (asp/jsp/php.......)?

If web server language is asp, try
Dim oShell
Dim lRet
Set oShell = Server.CreateObject("WScript.Shell")
lRet = oShell.Run("notepad.exe", 1, True)

You could do this with an invisible applet, but it would need to be signed
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

Best solution for the following system:

Server: CentOS
Workstations: Windows SP2/SP3 IE7/IE6

Any sample cope for invisible applet, AJAX methods?  How can sign the application if isnt already?

Thank you.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question


Check your email when you have a chance.  :)
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.