| JS autoref? VB equivalent? (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| How does the JScript autoref work? Does the VB compiler do the same? I'm trying to understand how a VSA host can add the appropriate references to a script engine from only a text file. Do I need to provide an out of band mechanism? Chris |
|
| VSA SDK Sample does not work (10 replies) |
| microsoft.public.dotnet.vsa |
| Hi. I've installed .NET Framework SDK beta 2 and VSA SDK beta 2. Workbench example does not work when I try to open its file it shows message box: "Error loading vsa engine Fabrikam://WestCoastSales/Sales Opportunity Customization. Don't have a Vsa engine for the specified language." What does it mean? Thank you. |
|
| license cost (4 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I have been told that developing with VSA is subject to a very expensive license. Specifically; "VSA pricing is $10,000 per year plus the cost per seat". Is this correct? If this is not correct, what is the correct story? If this is correct, can you enlighten me as to a more economical (though perhaps more difficult) methodology for hosting a scripting engine perhaps something using CodeDom. I ver... |
|
| Forms editor for VSA (4 replies, VIP) |
| microsoft.public.dotnet.vsa |
| Hi All, I noticed in a earlier post that VSA does not include a forms engine/designer. Will this be addressed at a later time. My point is ... what if I wish to develop an application that will allow complete customization, i.e creation of forms and business logic that would be wired up to some kind of global application. Do I need to create a IDE to allow for forms development ?? Thanks for any i... |
|
| Built-in support for shadowing? (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I can see how I could implement shadowing by watching for file changes and recompiling and rerunning the script, but I'd prefer not to have to do it manually if I didn't have to. Does VSA have any built in support for shadowing? Chris |
|
| Microsoft.Vsa.VsaException: UnknownError (0x801330FF): (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I'm currently writing an app which merges data from 3 source, a template file, an HTML document and a database. The templates need to have ASP style scripting support. I've been looking as Microsoft JScript scripting examples, and have ported the code to C#. The code runs fine until I try to add some global objects. /* glob (IVsaGlobalItem) engine.Items.CreateItem("Document",VsaItemType.AppGlobal,... |
|
| ! - Cannot create a NEW PROJECT- ! (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I installed VS.NET beta 2 SP 2 and it seems to work if I load or even impot projects... but if I try to create a new one it says "VC Package not avaible or not registered"... Which one? If it told me I could do it myself... Any suggestion...? Any tips? !! PLEASE HELP !! |
|
| Is JIT debugging available for free? (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I'd really like to pitch the free runtime version of VSA.NET as a complete replacement for Active Scripting. It seems I can do just about everything except I'm unclear as to whether I get JIT debugging in VSA.NET like I do with the Active Scripting Engines. Do I? If not, that's a real downside and I could see folks sticking with Active Scripting if they didn't get JIT debugging w/o purchasing the ... |
|
| Trouble running VS.NET (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I installed VS.NET Beta2, but when I try to run devenv.exe, I get an error: "Cannot start application." I have Office XP Developer installed, could this cause the problem? When I try to uninstall VS.NET or Office XP, the setup fails. I cannot reinstall/repair or add/remove features either. Can anyone shed some light on this issue? |
|
| DHTML and .NET? (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I have been pursuing development in Client Side only Browser apps where there is not necessarily a IIS/ASP Server. In this environment will VSA be used to do DHTML programming or can WebComponents be used on the client side only? ( I get the impression that they require an ASP server ). Or will both be viable solutions? Thanks for any information, Ken |
|
| Runtime Exeption in VSA sample. How to ...? (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| Hello, In VSA sample file ...\Samples\Workbench\workbenchUI.cs: private void OnBrowserDoubleClick(object o, EventArgs e) { ... EnvDTE. DTE dte (EnvDTE. DTE)(m SalesHost.ExtensibilityObject); ... } generates an "Exception of type System.InvalidCastException was thrown." How can I get around it? Thanks in advance. |
|
| Trouble using Console.WriteLine in JS.NET via VSA (3 replies) |
| microsoft.public.dotnet.vsa |
| I'm doing the normal thing to host the JScript VSA engine, i.e. engine new Microsoft.JScript.Vsa.VsaEngine(false) engine.RootMoniker ... engine.Site ... engine.InitNew() engine.RootNamespace ... item engine.Items.CreateItem("system.dll"...) item.Assembly "system.dll" item engine.Items.CreateItem("src"...) item.SourceText ... engine.Compile() engine.Run() The following JS works: import System; impo... |
|
| System.NotImplementedException when trying to run code (2 replies, VIP) |
| microsoft.public.dotnet.vsa |
| Hi All. How can I get VSA script to run? I have created a new class which derives from the DesignTime class. I have a class which implements the ICodeProvider interface so that it can be used for loading / saving etc. I can show the IDE, add event sources, capture events from the IDE etc so everything is great.... except... I can't get the engine to run! I have an IVSAEngine object. When I call th... |
|
| On the IDE trail (3 replies) |
| microsoft.public.dotnet.vsa |
| Hi Guys, I'm looking for someone to point me in the right direction. I've posted some sample code below, any idea why it causes an exception when I try to show the IDE? ******************************************************************** Microsoft.Vsa.IVsaDTEngine dt Engine; Microsoft.Vsa.IVsaEngine engine; engine new Microsoft.VisualBasic.Vsa.Dt.VsaEngine(); dt Engine (Microsoft.Vsa.IVsaDTEngine)... |
|
| Argument count mismatch (3 replies) |
| microsoft.public.dotnet.vsa |
| Hi all, I have the following problem: I wrote a scripting class in c# for my c# app, basically just a plain adaption from Andrew Clinicks Script Happens example, but only supports JScript. I also made a simple JScript to test it, it compiles fine, but when I try to invoke the method I get an argument count mismatch exception. Here's the code I use to invoke the method: className is "", methodName ... |
|
| Is this safe? (3 replies) |
| microsoft.public.dotnet.vsa |
| Is this safe to do or will it cause problems for the engine? bool IVsaSite.OnCompilerError(IVsaError error) { throw new Exception(error.Description); } |
|
| GenerateDebugInfo Bug? (3 replies) |
| microsoft.public.dotnet.vsa |
| Hi Guys, Not sure if this is a bug or not, but I have a class that uses the VSA runtime (IVsaEngine). Everything works fine so far...I can compile and execute expressions fine but if I add the following line of code: this.vsaEngine.GenerateDebugInfo false; I get the following error when I call IVsaEngine.Compile: An unhandled exception of type 'System.NullReferenceException' occurred in microsoft.... |
|
| error (3 replies) |
| microsoft.public.dotnet.vsa |
| I am just trying to get the WestCoastHelpDesk demo working in order to evaluate VSA for a current project. I can get the web application working correctly (e.g. I have successfully added customers, employees and incidents). When I try to open the WestCoastHelpDesk.wct file from the workbench.exe, I get the following error message: Error loading vsa engine Fabrikam://WestCoastHelpDesk/localhost/myc... |
|
| VsaEngine::CompilerError (6 replies) |
| microsoft.public.dotnet.vsa |
| Microsoft.JScript.JScriptException: 'event' is a new reserved word and should not be used as an identifier. ((IVsaCodeItem)this.Engine.Items["src"]).SourceText "document.body.onkeypress function() {\nwindow.alert('onkeypress');}\n" "document.body.onkeydown function() {\n" " if(window.event.keyCode 13)\n" " window.alert('Enter');\n" "}"; onkeypress works fine, but onkeydown causes the exception. Ho... |
|
| Setting JScript.ScriptStream? (4 replies, VIP) |
| microsoft.public.dotnet.vsa |
| Where is the purpose of setting JScript.ScriptStream? Thanks. Chris |
|
| How to use VSA? (7 replies) |
| microsoft.public.dotnet.vsa |
| Hi, I downloaded the VSA and try to do some test. The first thing I want to do is try to run the following simple VB function as script public class Test public shared function SayHello(name as string) as string SayHello "Good morning, " name "." end function end class I use the C# to write the main program to drive the script engine, here is the code related: Runtime runtime new Runtime("Test", "... |
|
| VSA Sample for Desktop Application (6 replies, VIP) |
| microsoft.public.dotnet.vsa |
| Hi All, Tried and Tried to use the West Coast Sample but as I am not able to get it up and running. I wanted to ask some one if there is another sample for VSA SDK. Can some one provide me with a working sample code? For VB.NET or C#. Thanx In Advance Satak |
|
| CodeDOM vs. Vsa (5 replies, VIP) |
| microsoft.public.dotnet.vsa |
| I am trying to decide whether to use CodeDOM or Vsa for an ASP like template engine. I have a few questions: 1. Is Vsa implemented using CodeDOM? 2. Can/will there be a C# Vsa engine? 3. What about other .NET languages? Do they automatically support Vsa? What is required of a .NET language to support Vsa? 4. How can external references and objects (a la IVsaSite::GetGlobalInstance) be simulated us... |
|
| Security in VSA (6 replies, VIP) |
| microsoft.public.dotnet.vsa |
| Is it possible to get the VSA engine to execute a script in a particular security context. ie. I've built a web application, which allows users to upload customisation scripts this works fine except for the fact that within the script the user can do something along the lines of import System.IO; Directory.Delete("c:\winnt\system32"); What I want to be able to do is tell the engine to treat the cu... |
|
| ANN: Write JScript .NET or Visual Basic .NET code directly inside IE (5 replies) |
| microsoft.public.dotnet.vsa |
| Hi, I have finally gotten this sample uploaded and approved at http://www.gotdotnet.com/userfiles/torrboy/VsaControl.zip What this lets you do is write JScript .NET or Visual Basic .NET code directly inside script blocks inside IE, so you get to use all the cool new .NET features and the amazing .NET Framework from client side script. There are some limitations (as noted in the readme), and I'm af... |
|