| Wrong error line number hosting VB.NET ! (6 replies) |
| microsoft.public.dotnet.vsa |
| I have a VB.NET scripting host, when it compiles the following VB.NET script I get the wrong line number for the 2nd error. The result is: "Character is not valid at line 2" OK "Character is not valid at line 14" this sould be line 4 it seems any errors within the Module block are out by 10 lines! Any ideas Phil ; Module mainModule ; End Module |
|
| How can I do it? (2 replies) |
| microsoft.public.dotnet.vsa |
| Hi, I'm developping a C# application (with Windows forms, not in web) which should use any existing scripting language to use some classes already generated. The original idea was to create a language interpreter which provide special functions to manage all possibilities of the classes generated. But this must be the last solution if I can solve it using any scripting language which directly call... |
|
| Invalid Assembly error (2 replies) |
| microsoft.public.dotnet.vsa |
| Greetings, I am getting an InvalidAssembly exception when I am trying to load the host assembly into the engine. Code follows: string assemName Assembly.GetExecutingAssembly().Location; refItem (IVsaReferenceItem)items.CreateItem(assemName, VsaItemType.Reference, VsaItemFlag.None); refItem.AssemblyName assemName; The last line causes the exception. I have the same code in a couple of other project... |
|
| Unloading Assemblies (i.e. AppDomain hell) (4 replies) |
| microsoft.public.dotnet.vsa |
| I just "finished" writing a script host that does everything I want it to do. It's fast, type safe, and sweet. Its only problem is that its memory usage grows without bound as more and more scripts get executed. I came to this newsgroup and discovered that my problem is that the generated assemblies never get unloaded. I've read all the earlier posts on how assemblies can't be unloaded without doi... |
|
| CONTINUED : How to remove error when link to other page that contains .net control from page that also contains .net control? (3 replies) |
| microsoft.public.dotnet.vsa |
| Hi, thx for reply. I've tried to used readystate "complete" on document's properties, and then moving the startup code from window onload event to the button's event that I click after the page really stops loading. It still generates error. If you don't mind, in the end of e mail you can see the code that we use to load the .net object, pratically it is the same with the code you use to embed the... |
|
| How to remove error when link to other page that contains .net control from page that also contains .net control? (3 replies) |
| microsoft.public.dotnet.vsa |
| Dear All, We create a web page that embeds .net control with "object tag". Everytime this page open a new page (by click the hyperlink or with ie's function showModalDialog), either in its own IE window, or open it in new IE window (right click then choose open new window), we (almost) always get an error in the page that is being opened (e.g. page X.htm): System.Runtime.InteropServices.COMExcepti... |
|
| Strange problem - need Help (5 replies) |
| microsoft.public.dotnet.vsa |
| I am writing Telecommunication Control Application using VB.NET and JScript.NET/VB.NET as the scripting languages to allow customization of the app. I consider myself an experienced programmer, but this bug puzzles me. Here are the symptoms: After the start the code works as it supposed to work. If I leave it overnight running heavy test (15,000 phone calls) it's fine. After about 10 15 minutes of... |
|
| repost: vb module variables and vsa instanaces (4 replies) |
| microsoft.public.dotnet.vsa |
| when vsa is hosting the VisualBasic.Vsa.VsaEngine, are Module public variable's storage local to the vsa instance, or are they global? in the following example, is myObj unique to each vsa instance? Is the following legit when a web pages host vsa, and i want each page hit to instance vsa and call CreateMyObj()? example: Public Module scriptcode Public myObj as MyClass Public Sub CreateMyObj() myO... |
|
| Binding specific global obj to given Script (VB) in single engine. (4 replies) |
| microsoft.public.dotnet.vsa |
| Just read the entire news group and found almost all the answers expcept for this one: In a single VSA engine, I'd like to simulate object oriented like encapsulation for multiple VB modules inside it. Running multiple VB module wasn't a problem. Just appended all the code and it worked. For some reason, I couldn't get the modules to run as individual code items (but thats not a priority). Priorit... |
|