http://www.csdn.net/expert/topic/536/536115.xml
用script control
可以在vb中执行script 代码

解决方案 »

  1.   

    不好意思,我是菜鸟我的运行环境是:windows98 +vb6,我怎么找不到microsoft script control的控件啦?
    还有其它方法吗?
      

  2.   

    你查一下再system或system32下有没有msscript.ocx
      

  3.   

    98下也应该有microsoft script control 1。0
      

  4.   

    注意:两者不是等同的,javascript中的函数可将字串转为对象。
    而vbscript(scriptcontrol)中的不可以。
      

  5.   

    楼上的你能讲清楚一点吗?
    葡萄你能把那个ocx发给我吗?
    我的邮箱:[email protected]
    先看看那个控件多大?
      

  6.   

    CallByName(object, procedurename, calltype,[arguments()])In the following example, the first line uses CallByName to set the MousePointer property of a text box, the second line gets the value of the MousePointer property, and the third line invokes the Move method to move the text box:CallByName Text1, "MousePointer", vbLet, vbCrosshair
    Result = CallByName (Text1, "MousePointer", vbGet)
    CallByName Text1, "Move", vbMethod, 100, 100