Solved

Embed JavaScript in VB.NET application

Posted on 2009-07-07
1
593 Views
Last Modified: 2012-05-07
I need to implement an embedded JavaScript capability in a VB.Net application.  Users would write simple scripts to create parsing routines.  The scripts need to be able to call a few VB helper functions, or ideally, a simple object model could be exposed to the scripts.

A good example of what I need to do can be found in UltraEdit's scripting facility.  SpiderMonkey looks like it might be a possibility, but I haven't seen a sample of it's use with VB.

The application is being converted from VB6 to VB.Net, and I'm pretty new to the .net environment, so a nice working example would be really great.
0
Comment
Question by:Nomlas
1 Comment
 
LVL 17

Accepted Solution

by:
CSecurity earned 500 total points
Comment Utility
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now