Using Microsoft Script Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prabhuene
    New Member
    • May 2007
    • 1

    Using Microsoft Script Control

    Hi,
    i am new to using microsoft script control.


    I am trying a execute a code in a text file
    for example

    Private function test1()
    result1 = temperature(100 +200)

    end sub

    here temperature is a function which is coded in a another module.
    How can i execute this function by using microsoft script control

    sincerely,
    prabhu.p
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    I don't think it's possible.

    I'm not familiar with VBScript, but from what I've read in the documentation it doesn't have any concept of separate modules. It's just a scripting language, and what you see in the script is what you get.

    So, though anyone who knows better is perfectly welcome to correct me, I think that you will have to insert the function with your script.

    Where are you making use of the script control, and why? Maybe there's a way around the problem.

    Comment

    Working...