解决方案 »

  1.   

    对LZ的头像很感兴趣ReactOS,能在这系统里面正常上csdn网站不?楼主那已经弄了"最佳答案"了,不过那实在不算什么"vb难题"吧:(
    最佳答案:
    function msg(a)
    msgbox a
    end function function c(a)
    msg(a)'调用msg
    end function 
      

  2.   

    谁说CallByName不行?
    Function abc()
    MsgBox "hello"
    End Function
    Function b(x)
    CallByName Me, x, VbMethod
    End FunctionPrivate Sub Command1_Click()
    b ("abc")
    End Sub 
      

  3.   

    用ScriptControl可以应该可以实现...
      

  4.   

    ...Private Sub Command1_Click()
    c msg(5)
    End SubFunction msg(a)
     MsgBox a
    End FunctionFunction c(x)End Function
      

  5.   

    4楼写错了,更正:
    用ScriptControl可以应该可以实现...
    =>
    用ScriptControl应该可以实现...
      

  6.   

    这也算vb难题?
    答案已有就不给了,只是希望lz能够经常看看csdn,看看别人提的问题,对你会有帮助
      

  7.   


    如果abc有参数怎么弄?比如abc是这么写的
      

  8.   

    Function abc(a)
    MsgBox a
    End Function
    Function b(x, a)
    CallByName Me, x, VbMethod, a
    End FunctionPrivate Sub Command1_Click()
    b "abc", "ccc"
    End Sub原来还有个参数就是。