Opening a .vbs file in Javascript

Put your programming skills to the test in these challenges.

Opening a .vbs file in Javascript

Post by FL105 on Wed Oct 07, 2009 4:13 pm
([msg=30487]see Opening a .vbs file in Javascript[/msg])

ok, im trying to make a external file open in JavaScript, does anyone know the code?
i asked one of my friends this same question and all we got was:
$this->connect('start.vbs');
it comes up as a syntax error

yes im a noob, i know, but help would be appreciated

-- Thu Oct 08, 2009 4:11 pm --

FL105 wrote:ok, im trying to make a external file open in JavaScript, does anyone know the code?
i asked one of my friends this same question and all we got was:
$this->connect('start.vbs');
it comes up as a syntax error

yes im a noob, i know, but help would be appreciated


i found a way, i use batch files but i dont want to use batch files, im still trying to find out still, but no luck still...
FL105
New User
New User
 
Posts: 1
Joined: Wed Sep 23, 2009 3:02 pm
Blog: View Blog (0)


Re: Opening a .vbs file in Javascript

Post by faazshift on Sat Nov 21, 2009 3:09 am
([msg=30619]see Re: Opening a .vbs file in Javascript[/msg])

Javascript is a web-browser interpreted language, and as such an html file with javascript can only access (using ajax) files on the server that are accessible to the browser. For help on ajax I would recommend the tutorial here: http://w3schools.com/ajax/default.asp
faazshift
Contributor
Contributor
 
Posts: 516
Joined: Wed Jun 03, 2009 3:55 pm
Location: Riverton, Utah
Blog: View Blog (0)



Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests