| tricky string-splitting question! (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hi Everyone, I sat at work today for an hour 1/2 racking my brains trying to get a good working function that would take a big blob of text (user enters paragraph(s) via web form) and split it into a series of smaller 256 character blobs that I could stuff into an array. Does someone have a quick idea of how that would be done in C# or even javascript for hells sake!! Thanks ahead of time! |
|
| JScript memory leak? (12 replies) |
| microsoft.public.dotnet.languages.jscript |
| With JScript 5.5, you can run the sample app below using cscript.exe and the private bytes of the process will remain (more or less) constant. i.e. The graph is flat. Running the same app using cscript.exe on a machine with .NET installed causes the process to use up all available virtual memory. Can anyone explain why? Thanks, Lee function go() { var x; while (true) { x new Object(); x.expando1 "... |
|
| classic ASP Intrensics in a .NET dll (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| I have .NET functionality that I need to use in classic ASP pages. So I was prepared to just write a JScript dll to encapsulate the functionality. But, I need to use the outputstream of the response object. If I reference the ASP intrensic objects from a .NET dll, which feature set will those objects have? The .net or classic ASP features? Eric Pearson |
|
| Typesafe-ness when implementing IList and extending CollectionBase (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hey, I'm confused what I should do in JScript.NET for implementing IList and using CollectionBase to build a custom Class/Collection. One problem I have is not seeing the point of extending CollectionBase in my classes which I want to implment IList on (and my own interfaces) I don't get how it can help me create a typed collection, since I have to re implement any thing it provides with a type sa... |
|
| REPOST: Examples of how to catch events in the document in MSHTML/WebBrowser controls. (8 replies) |
| microsoft.public.dotnet.languages.jscript |
| Some people were having problems with the zip I first attached so I have attached the separate files to the posting in the hopes that people can get them easier. This question has come up a number of times in the C Sharp group and I thought that I would share it with some other forums where the question might pop up. The example is in C#, but is easily adaptable to other languages, hence the reaso... |
|
| Writing Com DLL/OCX in C# (2 replies) |
| microsoft.public.dotnet.languages.jscript |
| I have a windows user control developed in C#. It has a couple of methods and events, I can add it to Com . I can create the object from a Javascript file, but the events are not raised? Has anyone done this? By the way how do you create an ActiveX control (OCX) in C#? Thanks. |
|
| Launch .NET app via JScript (8 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hi... Could someone point me to some reference material that would explain how to do the following? I'd prefer an article geared to someone with .NET experience, but very little HTML/JScript experience. Consider: I've got a web page with a link. I think that the syntax looks something like this: a This is a link /a When the link is clicked, I want my .NET form to popup. Here are the details: The f... |
|
| How do I pass command line arguments into jscript.net? (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hi all, Can someone help me with how to get arguments from a command line into a JScript.NET compiled app? The arguments object doesn't seem to work in freestanding code like this: import System; import System.IO; var a arguments.length; Console.WriteLine(a.ToString()); Either I need some sort of technique to fire off a named method from the command line, or some syntax that gets the command line ... |
|
| Run .NET script code and handle .NET events from inside IE with VsaControl (12 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hi, I've just uploaded the latest version of VsaControl for IE on GotDotNet. Why would you care about VsaControl? * It lets you embed JScript .NET code directly inside a client side IE web page (VB .NET is also partially supported) * It lets you easily handle events fired from .NET controls inside a web page * It lest you build rich HTML / WinForms hybrid applications * It shows how to host a VSA ... |
|
| WishList: Thread Safe Attribute (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| I think there should be an attribute that says whether or not a class or method is thread safe. It would be a lot easier than checking through the docs for information on something you want to use multi threading for. Jonathan Allen |
|
| Jscript ADO.NET Examples (2 replies) |
| microsoft.public.dotnet.languages.jscript |
| I have not been able to find any jscript examples using ado.net. All of the examples are in c# and vb. in many case ms has all three languages examples but not with the the database. I had seen an example aspx page with db calls using jscript, however, I can no longer find it on the ms site. Should we not be using Jscript with ADO.NET? or is it that all of the technical writers only use vb and c#?... |
|