Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
whether you're using .net (the future ) or something else, i'd be gobsmacked if it were possible to use client-side script to kill off what is essentially a client-side process. javascript just doesn't have that sort of ability/access (this behaviour is by design) afaik (which might not be that far...)
JS or Java as a language will not give system access. You won't be able to get a modem to disconnect using JS or J. There may be a possibility of doing it with ActiveX.
Which is presumably why everybody recommends blocking download of ActiveX controls
Are you sure you can't use Java for this sort of thing? I thought it was a full blown programming language and could be stored locally and run from the page.
I'm not arguing about it just asking as I freely admit I don't know - my son is the java whizz in the family - earns nearly as much as me and still comes round and raids the fridge and cakebox !!
Java won't give system access through a webpage, but it is possible through a locally installed program. Support companies like Motive (www.motive.com) use Java for system access... but they have a HEAVILY modified API.... so much so, that the language is not proper Java... more of a hybrid between Java and native code.
There are always flaws and possibilities, but none that I know of. The official word is that Java is not allowed to have system access.