Results 1 to 2 of 2

Thread: VBScript in VB

  1. #1

    Thread Starter
    Hyperactive Member Dorothy's Avatar
    Join Date
    Feb 2001
    Posts
    310

    Question VBScript in VB

    I wish to run a vbscript code when a Command button is clicked.
    I dont wish to call the statement:

    ShellExecute "vbsfile.vbs"

    Is it possible through MS Scripting control?

    Help me out.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Yeah you'd just have to load the contents of the file into the scripting control and tell it you're using VBScript.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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