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

New Post: Implementing Vbscript libraries

By Vbscript libraries i mean a file having a collection of Vbscript Functions and SubRoutines. Consider the following file setup: Driver File: Call Func1 Call Func 2 Library File1: Function Func1 Some...

View Article


New Post: Fetch all the Variables and their values

Thanks for the inputs!

View Article


New Post: Implementing Vbscript libraries

Greetings! You can execute as many scripts as you'd like within a given engine instance, so how you organize your script code is up to you. Each script can install procedures, functions, classes, etc....

View Article

Created Unassigned: V8 debugging host is silent [85]

I have a similar issue as was described by one member in June 10: I cannot connect to V8 host to debug some code.I launch the application with _V8ScriptEngineFlags.EnableDebugging_ flag. When I connect...

View Article

New Post: A procedure imported by 'ClearScriptV8-64.dll' could not be loaded.

Hey scuty - I know this was a year ago but can you elaborate on exactly what fixed this for you? Thanks

View Article


New Post: US-CERT: Vulnerability in the V8 JavaScript engine...

Hi Max, We were not aware of this issue, but presumably the V8 team is. In any case, our normal procedure is to pair each ClearScript release with the latest stable version of V8 on Windows as...

View Article

Commented Unassigned: V8 debugging host is silent [85]

I have a similar issue as was described by one member in June 10: I cannot connect to V8 host to debug some code.I launch the application with _V8ScriptEngineFlags.EnableDebugging_ flag. When I connect...

View Article

New Post: A procedure imported by 'ClearScriptV8-64.dll' could not be loaded.

Do you still need help with this?

View Article


New Post: How to exit the vbscript code at runtime

Hi, As we are able to exit the vbscript at runtime in Windows scripting Host by using: WScript.Quit How can we exit the script at run time in clearscript? Regards Jaskaran

View Article


New Post: How to exit the vbscript code at runtime

Hi Jaskaran, The WScript.Quit method simply exits the process, and you can easily expose a similar API with ClearScript: engine.Script.Quit = new Action<int>(Environment.Exit);On the other hand,...

View Article

Updated Wiki: Home

Description ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript.FeaturesSimple usage; create a...

View Article

New Post: How to exit the vbscript code at runtime

Thanks for the reply. Yes, I am trying to terminate the current script without exiting the process. While using ScriptEngine.Interrupt(): a popup with following message appears:"Script execution...

View Article

New Post: How to exit the vbscript code at runtime

Hi again, It sounds like you're letting the ScriptInterruptedException propagate out to a handler that displays the error message in a popup. To suppress that behavior, simply catch the exception:...

View Article


New Post: How to exit the vbscript code at runtime

Hi, Unfortunately i am not able to suppress the popup displaying "Script execution interrupted by host" : I have tried following codes: Code1: try { Script.engine.Interrupt(); } catch...

View Article

New Post: How to exit the vbscript code at runtime

Hi Jaskaran, If ScriptEngine.Current is undefined, you're using a relatively old version of ClearScript, and we recommend that you switch to the latest version. In any case, try the following in a...

View Article


New Post: How to exit the vbscript code at runtime

Thanks for the solution. Also i have updated the clearscript version.

View Article

New Post: memory leak when passing javascript object to managed code

I am seeing a memory leak when passing a javascript object to a managed code function. I am using the latest nuget clearscript V8. Please see below for the code that reproduces this issue....

View Article


New Post: memory leak when passing javascript object to managed code

Hi Tom, Unfortunately memory management can get tricky with long-running scripts. When you pass a script object into managed code, ClearScript creates a managed proxy for it. The proxy holds a strong...

View Article

New Post: memory leak when passing javascript object to managed code

The first solution you mentioned should work for me. Thanks for the prompt and detailed reply! -Tom

View Article

Edited Feature: Support for specifying host method arguments by name [80]

Neither JavaScript nor VBScript have native support for named arguments, but some way to specify host method arguments by name might be useful.

View Article
Browsing all 2297 articles
Browse latest View live


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