Hi,
What is the best way to execute javascript in VB? Should I save the javascript code to an html file and use VB Shell command against it?
Thanks
Printable View
Hi,
What is the best way to execute javascript in VB? Should I save the javascript code to an html file and use VB Shell command against it?
Thanks
Can you please explain why you want to do that?
As far as I know JavaScript is interpreted by the browser you're using, and can't used by VB. (I've read somewhere JScript is used in VB.NET now, but since I hardly know anything about that, I'm not going into it further.)
I have some code in javascript that list all of the URL. I am writing a VB program for my company and it needs to extract all of the URL of a page. Javascript can do that will a couple of lines. That is why I need VB to execute those javascript statements.
Thanks for you reply