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.  

Thanks
Scripting LanguagesJavaVisual Basic Classic

Avatar of undefined
Last Comment
kndtec

8/22/2022 - Mon
obareey

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

kndtec,
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)
CEHJ

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
ASKER
kndtec

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.
ASKER CERTIFIED SOLUTION
CEHJ

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
or
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
CEHJ

:-)
ASKER
kndtec

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.