|
-
Dec 25th, 2006, 03:24 PM
#1
Thread Starter
Junior Member
Re: VBscript component?
 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;
}
-
Jul 2nd, 2007, 08:11 AM
#2
Thread Starter
Junior Member
If (date.day==monday) {
date.day = friday;
}
-
Jul 2nd, 2007, 08:32 AM
#3
Re: VBscript component?
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
-
Jul 19th, 2007, 12:06 PM
#4
Thread Starter
Junior Member
Re: VBscript component?
I finaly understood it, you told me wrong information >(
Not Microsoft Scripting Library, but Microsoft Script Control!
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|