Results 1 to 3 of 3

Thread: How do I create .vbs files?

  1. #1

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268

    Question

    Anyone know?
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    Hi Zaphod

    All you need to do is create a new text file rename it anything.vbs and then write your vbscript within this. Window's automatically reconizes a vbs file and will complie and run it when clicked on.

    Put this into a text file, rename it to a .vbs file and d-click on it.

    Code:
    Dim A
    Dim B
    
    A = 1
    B = 1
    msgbox "This is " & A + B & " Easy"
    The only thing to remember about vbscript is everything is classed as variants so hence when I dimmed A and B you can't put Dim .. as string.

    for more information on VBSCRIPT check out here

    http://msdn.microsoft.com/scripting/...fo/vbsdocs.htm

    Hope this helps

    Ian


    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3

    Thread Starter
    Hyperactive Member Zaphod64831's Avatar
    Join Date
    Mar 2000
    Posts
    268
    Thanks, Ian.
    Email: [email protected]

    Home Page: www.olemac.net/~hutch

    I'm bored, VERY bored, and I got bored with my sig. So I changed it to this.

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