




























VBScript
1
using MSScriptControl;
2
class Program
3
{
4
static void Main(string[] args)
5
{
6
ScriptControl scriptControl = new ScriptControl();
7
try {
8
scriptControl.Language = "VBScript";
9
scriptControl.AddCode(GetSouce(@"E:\projects\nexsolution-phase2\apps\news_editor\source\Libraries\NewsScriptXI\run_newsxml_test.vbs"));
10
11
string test = "test";
12
object[] parameters = new object[1] {test };
13
scriptControl.Run("Test", ref parameters);
14
} catch {
15
}
16
}
17
}
18
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。