How to execute VBScript command within textbox from C# application?

后端 未结 4 1325
面向向阳花
面向向阳花 2021-01-15 03:20

How could I execute VBScript\'s code from TextBox control placed in C# application?

like , let\'s assume that I have a C# Windows Application(form) and has two contr

4条回答
  •  日久生厌
    2021-01-15 03:52

    Couldn't you simply write it to a file and execute it using the default Windows behavior or something like that? It's the only way I can think of.

提交回复
热议问题