Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] how to make portable
- From: ryan at ryancannon.com (Ryan Cannon)
- Subject: [Javascript] how to make portable
- Date: Wed Apr 20 13:42:57 2005
shellExecute is a Microsoft-only scripting solution, which means any scripts you write will not be portable, because computers not running windows will not understand that command, nor will non-IE browsers (Firefox, Opera, Netscape, etc.) even on Windows. For it to work on win98, you need to include some other files, and you can read about that more on Microsoft's Developer's Network[1]. If the link doesn't work just search for shellExecute in Google. [1] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp Personally, I think it's good practice to write standard javascript and DOM, with a few tweaks to get IE in line. Plus, using a browser to execute shell commands fires off major security flags, so unless you're planning on using this for an in-house app, you might get a lot of complaints. Perhaps the list could be more helpful if you described what you were trying to do. -- Ryan Cannon Instructional Technology Web Design http://RyanCannon.com javascript-request@xxxxxxxxxx wrote: > > Hello, i am finding difficulty to make a code to work on all computers. > it is a web page having java script. the program is all about to open > an editor. it is working in one computer which has WIN XP , another > computer has win 98 where it is not working, plz tellme how to run it on > win98,if i run the code there it is giving an error permission denied. i > have used ShellExecute command. > > > bye > > > Regards.... > madhu
- Prev by Date: [Javascript] help a newbie (fill up a template)
- Next by Date: [Javascript] Slideshow Triggered on MouseOver
- Previous by thread: [Javascript] how to make portable
- Next by thread: [Javascript] Slideshow Triggered on MouseOver
- Index(es):