Results 1 to 4 of 4

Thread: Re: VBscript component?

Threaded View

  1. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    20

    Re: VBscript component?

    Quote Originally Posted by techgnome
    Add a reference to the Microsoft Scripting Library..... You may need to do a Google search on how to use it exactly. I've used in in our project here (in a rather unorthodox way, otherwise I'd show a sample on how to use it.

    But, basically you create an instance of the scripter, .AddModule (or it might be .Modules.Add - I forget the exact syntax), then add code to it. Once you have all the code added (which can include subs, functions, etc) you can execute the code and return the result. It is also possible to pass in parameters.

    -tg
    I`ll try it, many thanks!
    Can you please post a example?
    Last edited by zenteo; Jul 3rd, 2007 at 04:34 PM.

    If (date.day==monday) {
    date.day = friday;
    }

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