Results 1 to 3 of 3

Thread: Executing Javascript

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    Executing Javascript

    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
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  2. #2
    Fanatic Member riis's Avatar
    Join Date
    Nov 2001
    Posts
    551
    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.)

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    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
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width