Hi Guys,
I have two questions.
1) Is it possible to launch a program from an HTML, ASP or XML page? I need to know how to integrate a link into a web page that will launch an external program, say "c:\Winamp.exe"
I found this XML script for copying a file, but how could i actually open a file/program
--------------------------------------------
<SCRIPT LANGUAGE="JavaScript">
<!--
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
file = myActiveXObject.GetFile("c:\\test.txt");
file.copy("d:\\", true);
// -->
</SCRIPT>
--------------------------------------
I would like to have a hyperlink on a web page, whether it be .asp .htm or .xml
2)How can i get rid of the scrollbars when i insert a web browser object and the page that shows up is bigger than the object size? I dont want to have scrollbars, i know how to do this with a javascript and launch the html file with "noscroll" but how can i do it upon loading a file into the web browser object?
I have two questions.
1) Is it possible to launch a program from an HTML, ASP or XML page? I need to know how to integrate a link into a web page that will launch an external program, say "c:\Winamp.exe"
I found this XML script for copying a file, but how could i actually open a file/program
--------------------------------------------
<SCRIPT LANGUAGE="JavaScript">
<!--
myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
file = myActiveXObject.GetFile("c:\\test.txt");
file.copy("d:\\", true);
// -->
</SCRIPT>
--------------------------------------
I would like to have a hyperlink on a web page, whether it be .asp .htm or .xml
2)How can i get rid of the scrollbars when i insert a web browser object and the page that shows up is bigger than the object size? I dont want to have scrollbars, i know how to do this with a javascript and launch the html file with "noscroll" but how can i do it upon loading a file into the web browser object?
Comment