microsoft.public.dotnet.languages.jscript Archive - August 2004
Post a message to this list
Messages
Page: 1
pass by reference in JScript.NET (4 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hi folks, I am trying to use "pass by reference" of variables such as byte array, integers etc in JScript.NET. Is this possible in JScript.NET? If not, please help me out by any other approach by which we can pass the variables by reference. Thanks a lot folks. Chandru From: cool pal Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id k992MJxrYkO5WJLxbFTN8Q /Id
Sound an Alarm (3 replies)
microsoft.public.dotnet.languages.jscript
Hi folks, I have a web site I created using ASP.NET. What I want to do is to play a sound when a certain condition arises and stop the sound when the user acknowledges it. Any hints on how to do this? I really don't know much about JavaScript or where it even goes within the page. Sorry for being such a newB. TIA Joe
Jscript/ActiveXObject API question (2 replies)
microsoft.public.dotnet.languages.jscript
I understand how I can communicate with Excel from with a Jscript (see example below. But where is the documentation (API) of what messages I can send to such an instance ExcelSheet var ExcelSheet; ExcelApp new ActiveXObject("Excel.Application"); ExcelSheet new ActiveXObject("Excel.Sheet"); // Make Excel visible through the Application object. ExcelSheet.Application.Visible true; // Place some tex...
How to send parameters from HTML to .js file (2 replies)
microsoft.public.dotnet.languages.jscript
Hi all, I have a jscript question. The users select a name in a drop down list and enter a password in a input field of a HTML page. I have a js file with the username password pairs. How do I pass these parameters to the js file and return a true or false based on the comparison? Hoping for pointers. Any code available? Thanks.
Attaching global objects to JScript (2 replies)
microsoft.public.dotnet.languages.jscript
Could somebody please point me to the example of how can I attach an "external global" object to the JScript which will be executed within another executable? I used ActiveScripting and somehow familiar with VSA so I'm asking about the CodeDOM usage here, not the VSA. Thanks!
Playing MPEG-2 video in IE6.0 browser (3 replies, VIP)
microsoft.public.dotnet.languages.jscript
I make a web page which contain two frames. The upper frame is to play some MPEG 2 video in sequence and the lower frame is an sliding text (simialr to HTML marquee effect) written in java applet. I use IE6.0 browser and window XP. However, I encounter some problems: First, I write HTML using the object tag to play the video and use javascript to control playing the next video when one is finished...
Replace bat-file with a script! (7 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hi! I have a batch file (*.bat) which logon the client to our server, including printer and drive mappings. Now I want to replace the batch file with a script for the windows scripting host, because I want the users to enter their username and password, and then the script should make the mappings suitable to the username... I lookd for the WSH and VBSCRIPT and JSCRIPT, but I didn't get any usable...
window.open() - Netscape 4.7 vs. Netscape 7.1 (2 replies)
microsoft.public.dotnet.languages.jscript
I use the window.open() method to open a new window on my website. It opens as expected in Netscape 7.1, but does nothing in Netscape 4.7. Is there an alternative I can use in 4.7? I know 4.7 is kind of out of date, but I have seen people that still use it for some reason. Thanks. Nathan Sokalski njsokalski@hotmail.com www.nathansokalski.com
Jscript/ActiveXObject API Question (2 replies, VIP)
microsoft.public.dotnet.languages.jscript
I understand how I can communicate with Excel from within a Jscript (see example below). But where is the documentation (API) of what messages I can send to such an instance ExcelSheet, or more general, to any ActiveXObject? var ExcelSheet; ExcelApp new ActiveXObject("Excel.Application"); ExcelSheet new ActiveXObject("Excel.Sheet"); // Make Excel visible through the Application object. ExcelSheet....
aspx web form controls and client side java script (4 replies)
microsoft.public.dotnet.languages.jscript
Hi all Is it possible to handle web controls events on client side??? I wrote a simple favascript function inside the header area of an aspx web form. This function is called on selectedIndexChanged event of server side radio button list, but i can not get there . During compilation, it seems like the dotnet asp service is looking for this function on that web form's (server side) code behind inst...
Finding files in Directory (2 replies, VIP)
microsoft.public.dotnet.languages.jscript
Hi, I want to get all the files in a directory using System.DirectoryServices The error I am getting is "DirectoryEntry" is not defined? Can anybody help me. Any sample? Thanks Anand
JScript.NET Applications (3 replies)
microsoft.public.dotnet.languages.jscript
Hi, I'm new to JScript.NET, although I have been using JavaScript and Java for a long time. I was messing around with the JScript.NET compiler and I was wondering if I could write a program (a real application, not a web page) using JScript.NET. I've read a few articles about the .NET framework and I kinda got the impression that, if you use any .NET language, you can use the same library despite ...
Raise event from Client side to Server side passing parameter (3 replies)
microsoft.public.dotnet.languages.jscript
Hello, I have an aspx page, and from the client side I want to execute a method on the server side. I tried with Page.GetPostBackEventReference(control) and it is working fine. My problem is that I want to pass a parameter (value) to be executed on the server, and I have not idea how to use: Page.GetPostBackEventReference(control, parameter) method. Anyone has had any success with it? Or any other...
Strong name a JScript Assembly (5 replies, VIP)
microsoft.public.dotnet.languages.jscript
I've got a JScript assembly that I want to strong name. (This assembly just allows me to use the JScript eval function from my C# code). I want to be able to put this JScript assembly into the GAC with the rest of my assemblies so I need to give it a strong name. My C# code provides some components/controls for use in ASP.NET web apps, so they need the APTCA attribute, and as I understand it, I'll...
Iterating through object collections (6 replies)
microsoft.public.dotnet.languages.jscript
Hi, Is there any way in JavaScript to iterate through an object's properties to interrogate their values? I'm thinking specifically of the navigator object, the screen object, the window object and the document object. Something like: foreach(obj in screen.properties) { document.write(obj.name " " obj.value) } Any assistance gratefully received. Mark
Undefined values of some screen object properties (3 replies)
microsoft.public.dotnet.languages.jscript
Hi, Can anyone tell me why some screen properties return undefined, as in the table below: availHeight 836 availLeft undefined availTop undefined availWidth 1152 colorDepth 32 height 864 pixelDepth undefined width 1152 Is it browser specific? I'm using IE6 on WinXP Pro. Thanks, Mark
Can javascript call the function Web Service (3 replies)
microsoft.public.dotnet.languages.jscript
Hi, Everybody I want to use the client's javascript to call the function of web service. How can I do that?
learning form elements'S id or name (2 replies)
microsoft.public.dotnet.languages.jscript
hoe can i learn element name or id name of my inputs.. i want to read it's values. but i dont know their id or name...
Populating parent form question... (3 replies)
microsoft.public.dotnet.languages.jscript
Hi all, I have datagrid on a popup window which for each row spat out has a "Select" option its a hyperlink when clicked it runs the calls a javascript function this function should populate the parent form, my problem is that I need to update the fields dynamically ie, I wont know what the field name actually is... The code I have thus far: Calling the function: a class "normalText" href "javascr...
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