PDA

View Full Version : Help, XML File Open & Full Screen Web


gnet
10-14-2002, 01:20 PM
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?

Derek
10-14-2002, 02:46 PM
Have a look at this thread (http://www.indigorose.com/ubbthreads/showflat.php?Cat=&amp;Board=UBB2&amp;Number=12390&amp;page=1&amp;v iew=collapsed&amp;sb=5&amp;o=0&amp;fpart=) ... it may be adaptable.
BIG thanx to Brett /ubbthreads/images/icons/smile.gif