| VS Macro for creating VB.NET class properites (2 replies) |
| microsoft.public.dotnet.vsa |
| Hi All, I am at loss without the VB 6 class creation tool. I have created this macro that helps with creating the proprites (Get/Set) syntax from variables within the class. To operate the macro select a line (or multiple lines) that list your variables that you want to turn into properties. There a re couple of assumptions: 1) your variables are in format "[Scope] m Variable AS [New] [TypeName]",... |
|
| Why is IActiveScript a better choice than .NET scripting in some cases? (2 replies) |
| microsoft.public.dotnet.vsa |
| Our web app. uses lots of small .NET scripts for report customization and we have pretty heavy resource/CPU/memory usage. We are currently compiling the scripts at runtime but could precompile the scripts. We ARE running the scripts in a seperate AppDomain so we can get the memory back. Would IActiveScript be a better choice? How hard would it be to integrate our .NET class libraries so they would... |
|
| System CodeDom CodeMemberEvent (4 replies) |
| microsoft.public.dotnet.vsa |
| Has anyone seen ANY source code which uses System CodeDom CodeMemberEvent Any code that does anything written in any language that uses the CodeMemberEvent object would be helpful. Frederick Volking fvolking@HunterStone.com |
|
| Reflection on a VSA assembly (4 replies) |
| microsoft.public.dotnet.vsa |
| I am currently developing a C# component that is extensible by the addition of scripts to the appropriate directory. I'm hoping someone can give me a code snippet to nudge me in the right direction here's what I want do do. When a particular (C#) object is instantiated 1) I want to compile all scripts (probably class definitions) in a certain directory. 2) Then I want to get an array of the types ... |
|
| Adding objects to the engine (2 replies) |
| microsoft.public.dotnet.vsa |
| Hi all, I think that I have successfully added object off my main form to the engine. But when I try to access the obects, I get a error stating that the object is Private, how do I make this work. For example I am passing in a Menu(MainMenu), and I want to add menuitems to it. I get it in, and when trying to access it, gets error about being private. How do I get this to work. I think I need to d... |
|
| VSA with C# Support (2 replies) |
| microsoft.public.dotnet.vsa |
| Hi there, I just started a new Project which needs to be scriptable to the full extent. It will be very complex and data oriented. I will have to analyze lots of data and think that it will become a lot more structured if i use a type oriented language like c# and not JScript or VB. Now i found a nice article that covers almost everything i needed to know (hosting the engine, compiling the scripts... |
|
| Invalid Cast Exception in WestCoast samples (2 replies) |
| microsoft.public.dotnet.vsa |
| I've installed the VSA SDK from summit and I'm trying the samples, but when I try to open the IDE from the WestCoast Sales or WestCoast HelpDesk workbench I get this exception: ************** Exception Text ************** System.InvalidCastException: Interfaz no compatible at Microsoft.VisualBasic.Vsa.Dt.VsaIDE.ShowIDE(Boolean showOrHide) at Microsoft.VisualBasic.Vsa.Dt.VsaIDE.ShowIDE(Boolean show... |
|
| Scripting and code access permissions (7 replies) |
| microsoft.public.dotnet.vsa |
| As the scripting engine must run with FullTrust permission attribute I'm trying to workarround it by setting the code permissions just before invoking a method like this: engine.Run(); Assembly assem engine.Assembly; Type type assem.GetType("TestScript.myScript"); MethodInfo method type.GetMethod("Main"); PermissionSet permissions new PermissionSet(PermissionState.None); permissions.AddPermission(... |
|