microsoft.public.dotnet.vsa Archive - October 2002
Post a message to this list
Messages
Page: 1
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...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification