Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article


Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article


Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article

New Post: invoking js callback with params argument

hi, i want to invoke an js callback from c# with unknown arguments count example:public void Fire(string name, params object[]args) { if (_listeners.ContainsKey(name)) { foreach (var l in...

View Article

New Post: invoking js callback with params argument

Hello! One way to do this is to create a general-purpose dynamic invocation helper:// using System.Dynamic;// using System.Linq;// using Microsoft.CSharp.RuntimeBinder;publicstaticclass ObjectHelpers {...

View Article


New Post: invoking js callback with params argument

thanks a lot it works

View Article

Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article

Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article


Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article


Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article

Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article

New Post: V8 Iterators

It would be great if .NET objects exposed to V8 could provide ECMA Script 6 Iterator functionality. In order to achieve this, they would have to have a Symbol.iterator property when seen from V8. I...

View Article

New Post: V8 Iterators

Hello JohnGeeB, Patching ClearScript may not be necessary. Consider this code: engine.Script.host = new HostFunctions(); engine.AddHostType(typeof(IEnumerable)); engine.Execute(@"...

View Article


New Post: V8 Iterators

Amazing. Works perfectly. Thank you. May I ask another -- related -- question? The goal is Linq-style iterating, e.g. implementing a forEach with a callback parameter. Here...

View Article

New Post: global object - types

hello, i know you can add a global object like in browser - window so is it possible to add types to this object? so something like - globals.XmlHttpRequest

View Article


New Post: Script editor

you can use in winforms digitalrune texteditor and for wpf avalonedit these are the best editor controls, ive started an ide with digitalrune.texteditor and it will have js support

View Article

New Post: XMLHttpRequest, window and other Javascript objects

https://github.com/furesoft/OpenIDE/blob/master/OpenIDE/OpenIDE.Library/XmlHttpRequest.cs

View Article


New Post: V8 Iterators

Hi again,  Amazing. Works perfectly.  Well, not quite :) It doesn't support strongly-typed enumeration via IEnumerable<T>. We'll add more robust support for ES6 iteration in a future update.  Now...

View Article

New Post: global object - types

Hi furesoft, You can use ClearScript's ExtendedHostFunctions for this purpose. Here's a sample:publicclass XmlHttpRequest { publicstaticvoid SomeMethod() { // code goes here } } publicclass Globals {...

View Article

Commented Unassigned: On Error Resume Next in VBScript [97]

I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error...

View Article
Browsing all 2297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>