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

New Post: Does ClearScript use CodeDom

Thank you for all your help and support! I will use JScript/VBScript in 64-bit mode and as you said I can't use it asynchronously, I won't need to as I don't use WebSockets, AJAX, etc. I use simple...

View Article



New Post: Add variables

Imports System.Xml Imports Microsoft.ClearScript Public Class WebForm1Inherits System.Web.UI.Page Private xml As XmlDocument = New XmlDocument Private documentid As Integer = New Integer Private...

View Article

New Post: Add variables

Hi shripaldalal, In your code above the script can't access documentid because it's a private field. To fix the problem, either make it public or expose Me like this:...

View Article

New Post: Add variables

Hey, Thanks a ton for the quick reply. Worked like a charm. Though I did this, so all the objects of the class get added in script global. Which is exactly what I need. As I mentioned in the other...

View Article

New Post: Performance Improvements

Hello Libor, Thanks for sharing your optimizations. We particularly like your idea of having host items partially share their cached type information. This is definitely something we'll explore...

View Article


New Post: Some basic compiled script questions

Hey guys, a few questions regarding the V8 script compilation: Why are compiled scripts available to evaluate but not to execute? Are executed scripts always compiled internally? Is there any advantage...

View Article

New Post: Some basic compiled script questions

Hi Eric,​ Why are compiled scripts available to evaluate but not to execute? ​ Script compilation is a V8-specific feature, and since in JavaScript evaluation and execution are the same thing, there's...

View Article

New Post: Some basic compiled script questions

Thanks for the fast answer...that was leading to a second question: I would like to cache my compiled scripts, but it seems from what I've read in the discussions that the compiled scripts are...

View Article


New Post: Performance Improvements

Hi, the application is used for virtualization of services (SOAP, REST, JDBC, MQ, ...) generaly for testing of distributed systems (QA can test the system before all the neccessary services are ready...

View Article


New Post: Some basic compiled script questions

Hello Eric,​ I would like to cache my compiled scripts, but it seems from what I've read in the discussions that the compiled scripts are associated with a particular V8 runtime instance. Is that...

View Article

New Post: Some basic compiled script questions

Good info, thanks. I'm implementing a runtime pool w/ caching as discussed.

View Article

New Post: Performance Improvements

Hi Libor, Thanks for describing your application. It sounds like you have things well in hand, having profiled your application. We've been focusing mostly on ease of use, but we expect performance to...

View Article

New Post: Replace Existing Event Handler

I can use the connect() function to add a Javascript event handler to an event but is there a way to remove an existing handler that's defined in my C# code so that my new Javascript handler replaces...

View Article


New Post: languages

it is possible to implement new scripting languages?

View Article

New Post: Calling VBScript function by dispatchId

Yes, our legacy application has a host implementation. It use with clone method in case if there is access to script engine from thread that not is base thread. The our site implementation maintain a...

View Article


New Post: Replace Existing Event Handler

Hi Neil, ClearScript does not provide this capability. Handlers for a given event generally aren't aware of each other, and the only way to do what you want in .NET is via reflection. With ClearScript...

View Article

New Post: languages

Hello furesoft! If you're asking whether ClearScript provides a framework, or API, for developing script language interpreters, the answer is no. ClearScript is only a .NET interop layer for specific...

View Article


New Post: Calling VBScript function by dispatchId

Greetings! We would definitely like to add support for cloning. Originally we thought it would "just work", but we've found some complications that we're still investigating. Unfortunately full support...

View Article

New Post: Script timeout

Is there script timeout option?

View Article

New Post: Script timeout

You can use ScriptEngine.Interrupt() to abort script execution based on a timeout or any other criteria.

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images