Hi Jesper,
For these functions to work, you must provide an implementation of
And then:
You can download ClearScript's API reference here.
Good luck!
For these functions to work, you must provide an implementation of
Microsoft.ClearScript.Windows.IHostWindow
. Here's a minimal example:internalclass HostWindow : IHostWindow { public IntPtr OwnerHandle { get { return IntPtr.Zero; } } publicvoid EnableModeless(bool enable) { thrownew NotImplementedException(); } }
engine.HostWindow = new HostWindow(); engine.Execute("result = MsgBox(\"Ready?\", vbQuestion + vbYesNo, \"Let's Go!\")");
Good luck!