Results 1 to 3 of 3

Thread: How to run a VBscript from VB6

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    How to run a VBscript from VB6

    Hi Happy New Year I would be grateful if told how to run vb scripts via the VB6 platform. Thanks

  2. #2
    Frenzied Member longwolf's Avatar
    Join Date
    Oct 2002
    Posts
    1,343

    Re: How to run a VBscript from VB6

    I've been needing to check up on this myself.
    Here are some examples I just pulled up from PSC
    Using MS Script Control in VB, VBScript and JScript!
    Script Engine: Allow end users to extend your app using VB
    Code Helper
    An easy way to read VBScripts
    Add vbscript to your vb applications
    Add Scripting to your apps!

    There are more, but this should be enough to get us started

  3. #3
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: How to run a VBscript from VB6

    you can execute a vb script file (vbs) like this:

    VB Code:
    1. Shell "Wscript.exe C:\lol.vbs" 'Execute the vbs file
    Chris

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