public ScriptControl() { _msc_compiler = (IMSScriptControl)new MSScriptControl(); _msc_compiler.Timeout = -1; _msc_compiler.Language = "VBScript"; _msc_compiler.UseSafeSubset = false; _msc_compiler.AllowUI = true; _msc_compiler.ErrorEvent += OnError_Event; }
public ScriptControl() { _msc_compiler = (IMSScriptControl) new MSScriptControl(); _msc_compiler.Timeout = -1; _msc_compiler.Language = "VBScript"; _msc_compiler.UseSafeSubset = false; _msc_compiler.AllowUI = true; _msc_compiler.ErrorEvent += OnError_Event; }