Conditional compilation is turned off

Hello. I get a javascript error:

Conditional compilation is turned off

I found this link to fix : But after adding this field

/*@cc_on @*/

I get new, another javascript error:

Expected ')'

How to fix it? Thanks


There are 0 answer(s) to this question.

Related Questions

Javascript to Jscript ??
Javascript to Jscript ?? I need help with this... I've found a javascript app online in which I want to insert into powerpoint for a presentation... Vb support jscript Can i convert Javascript to Jscript some how? or can someone help me with it.... If wanted just ask for code or site JScript is Microsoft's implentation of Javascript. So, the language is compatible. However, this app you found online almost certainly requires that it be run in a browser environment. The environment that Powerpoint runs any scripts in (like JScript) will be very different. In other words, you can't do it unless there's some way to embed a browser in your Powerpoint presentation
JScript Documentation
JScript Documentation Note: NOT Javascript. :-) Hello, I just had a random thought, and have decided to learn more Jscript. I know the basics, I'm proficient in HTML, XML and C++ BUT, there doesn't seem to be much docs on Jscript. The official MS Documentation for JScript contains a WHOPPING ONE WHOLE PAGE about web-page development in Jscript! And that page, is useless. Is this the right documentation? I downloaded it from Microsoft's website. I have no idea where to go for descent docs related to Jscript, nothing on Gooogle, nothing in book shops, nothing anywhere. Have you seen these detailed docs? They look quite comprehensive to me. There are additional pointers to information in the references of the Wikipedia article. There also seem to be several books available
JScript debugging
JScript debugging I have a few scripts on a site I recently started maintaining. I get those Object Not Found errors in IE6 (which Firefox fails to report in its Error Console?). What's the best way to debug these- any good cross-browser-compatible IDEs, or javascript debugging libraries of some sort? Firebug It's only for firefox but it should let you figure out what's happening on IE especially once you have the script line numbers. There's no cross-browser JS debugger that I know of (because most browsers use different JS engines). For firefox, I'd definitely recommend firebug ( For IE, the best I've found is Microsoft Script Debugger ( If you have Office installed, you may also have Microsoft Script Editor installed. To use either
Provide COM objects for JScript
Provide COM objects for JScript Hello, I need to access a component in JScript. I found the Wcript.CreateObject(progid) as well as "new ActiveXObject(progid)" would create an instance of the component. The component should draw graphics in a own window to show, what the JScript script is doing. The operation systems supported must include Windows XP 32 bit as well as Windows 7 64 bit. What is the best way to design the components interface? How must I instantiate the component in the JScript script? Ist there a (good) tutorial available? Cheers, Harper
Microsoft JScript runtime error
Microsoft JScript runtime error Hi All, I am getting this error for all the pages. Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.Parameter name: element Regards, Geetha Hai geetha ref this link Ref this also
Microsoft Jscript Email Module?
Microsoft Jscript Email Module? I was wondering if there is an Email module for MS Jscript (not Jscript .net) similar to the one in python? You can use the Collaboration Data Objects (CDO) COM API. Here's how you can send a text e-mail using CDO: SendEMail("", "", "Subject", "Text body"); function SendEMail(from, to, subject, body) { try { var oMsg = new ActiveXObject("CDO.Message"); oMsg.From = from; oMsg.To = to; oMsg.Subject = subject; oMsg.TextBody = body; oMsg.Send(); } catch(e) { WScript.Echo("Error: " + e.description); } } This page provides some more CDO usage examples (they're in VBScript, but should help you get the idea). See also the CDO Reference at MSDN
JScript Print XML Document
JScript Print XML Document So let me apologize right up front. I'm not a PHP programmer, I'm a C# programmer. But I have to support a website that was written for my company in PHP and is falling apart. So here's my simple question: I have the following code: xml_doc = new ActiveXObject... to be displayed. How do I print to the page this xml_doc or xmlObj? I'd just like to see all XML (tags and all). Is this possible? ------------Update----------------- Well, as many of you have point out, its JScript that might be creating the ActiveXObject. If its JScript, then I'm needing a way in JScript to show me the XML information. I'm telling you, I don't know much about this website at all. Here's the other code that is getting the information out of the XML node. xmlObj.childNodes(1).childNodes(0).childNodes(6).text print_r($var) or var_dump($var) should do you for output PHP
Process Kill in Jscript
Process Kill in Jscript I'm writing a script for Caseware, the accounting software my Company uses, and I need to kill a process that hangs and messes up the compression of files on the server. The problem is it needs to be written in jscript and I havn't had a lot of experience with it. I've been looking around for code examples people use to kill process but I couldn't find much. I did find an example of someone calling an .exe from jscript and I thought I'd try it using the taskkill.exe in windows, but it didn't seem to work. Here's the block of code that I used. function OnFileClose() { w = new ActiveXObject("WScript.Shell");"taskkill.exe /im iexpore.exe"); return true; } I'd appreciate any examples people have or suggestions. Thanks. Update: I've done some more testing on the script and I've figured out that it actually executes taskkill.exe, but it isn't
Reformatting JavaScript/JScript code?
Reformatting JavaScript/JScript code? I've got a JScript error on my page. I know where the error's happening, but I'm attempting to decipher the JScript on that page (to figure out where it came from -- it's on an ASPX page, so any number of user controls could have injected it). It'd be easier if it was indented properly. Are there any free JScript reformatters for Windows? How about if you just run Firebug, it will tell you what the error is and will take you to where it is. Tools like phpDesigner (there's a free trial) have a code beautifier that will work on JavaScript, but nothing beats the good old TAB key (and shift tab to remove junk indention) :P You really should use Firebug or some similar debugging tool to actually find the problem, but, if you want to just format your JavaScript code, here's a reformatter I found on Google. Use Visual Studio 2008 Create a new Web-Form
ASP.NET JScript Error Sys.ScriptLoadFailedException
ASP.NET JScript Error Sys.ScriptLoadFailedException I am getting this error which I dont know how to deal with it. Microsoft JScript runtime error: Sys.ScriptLoadFailedException: The script '/MySite/MyPath/Default.aspx?_TSM_HiddenField_=ctl00_ContentPlaceHolder1_AjaxScriptManager_HiddenField&_TSM_CombinedScripts_=%3b' failed to load. Check for: Inaccessible path. Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings. Missing call to Sys.Application.notifyScriptLoaded(). The page refering contains garbage charactors. The page contains few hidden fields in an update panel. Recently I didnt do any UI modifications and the UI worked as expected. My configuration .net 3.5 vs 2008 sp1 AjaxToolKit MasterPages
How to touch a file with JScript?
How to touch a file with JScript? Is there a way to touch a file (i.e. change its modification time) from a JScript? There is a DateLastModified property in FileSystemObject (ActiveXObject), but it's read-only. Couldn't even find a clear "no, you can't" on this... The Shell object (Shell.Application) provides the read-write ModifyDate property for files. Here's an example of how you can use it: var oShell = new ActiveXObject("Shell.Application"); var oFolder = oShell.NameSpace("C:\\MyFolder"); var oFile = oFolder.ParseName("MyFile.txt"); oFile.ModifyDate = "11/11/2009 8:00:00 AM"; See also the Hey, Scripting Guy! article on the subject: Using the Shell Object to Modify File Dates in VBScript. (The sample code there is in VBScript, but it should help you get the idea
JScript syntax verifier?
JScript syntax verifier? I'm new to JScript coming from a C++ world. I'm quite surprised that expressions are evaluated at run-time. What I mean is if I added a function and didn't provide its definition, the program would "crash" (in the debugger) when I run it. It's also funny how I can just type gibberish anywhere and only at run-time the debugger would complain. But the "live" page wouldn't! Is there any JScript add-on tool that checks its syntax while we type? I'm currently using Aptana Studio. Or is the debug button equivalent to compiling in the web world? But then what if you had million lines of code and some little function was not defined or misspelled? That's a scary thought to me. =S JSLint is considered by many to be the best syntax checker. I don't know that there is an add-in for your particular situation, but you should be able to add it to your build process
Setting a JScript variable to contentplaceholder
Setting a JScript variable to contentplaceholder I have a content page in my ASP.NET-page and want to set a JScript variable to it programatically, so I can use it within the JScript sections of the rendered page afterwards. How can I start with this problem? I have a "head"-content that fills a ContentPlaceHolder in a master page, but have no idea how to write new content into it. I know there are some functions that deal with Page.Controls but I really didn't anything with what I can easily add some content to the... content... I hope someone understands my question and has some advice :) Try: <asp:Content runat="server" contentplaceholderid="head"> <script type="text/javascript"> var myVariable = '<%= MyDotNetProperty %>'; </script> </asp:Content> myVariable will then be available in all JS for that page. You can output the control
What is the JScript version that's in IE9?
What is the JScript version that's in IE9? Title says it all. I want this for some conditional compilation code that will run in all IE's less than IE9. The check for less than IE9 is: if (@_jscript_version < 9) It's worth noting, the wikipedia crowd keeps these updated pretty well: The Whole Thing is wrong Hmmm, i too think that feature detection is the safest bet. you might also wanna keep an eye on the ecma support that particular jscript versions offer.. For IE 9 And John resig's post.. It is almost always better to do feature detection, not specific version (or specific browser) detection, because there's no certainty that a given version of a browser is always the same. For example, Microsoft will release a new mobile platform soon
Refactoring JScript code
Refactoring JScript code How can I make this code into a one line instruction? var qe : QuestionnaireElement = state.Parameters["demobreak"]; var qid : String = qe.QuestionId; qid != "q45" public class QuestionnaireElement : ParameterValue, IParameterValue, ICloneabl My real question is: How can I cast in JScript objects? ((QuestionnaireElement)state.Parameters["demobreak"]).QuestionId != "q45" I can't test this, but wouldn't (state.Parameters["demobreak"]:QuestionnaireElement).QuestionId != "q45" do it? Sorry for all of you if I make waste your time. I was kind of desesperate to find out the solution, and like always, once that seen the solution, everything looks easier. The final answer is (or at least a solution is): (QuestionnaireElement)(state.Parameters["demobreak"]).ValueId != report.DataSource.GetProject("ds0").CreateQuestionnaireElement("q45").ValueId

Related jscript Video tutorials from Youtube.

Microsoft Windows Vista and Wi
Microsoft Windows Vista and Windows 7 Gadgets - Download your copy of win 7 / vista gadget from the
Microsoft Windows Vista and Windows 7 Gadgets
Microsoft Windows Vista and Windows 7 Gadgets - Download your copy of win 7 / vista gadget from the following link: Blimp Slide Show Gadget V3.2 - Message Gadget V3.7 - Calender Gadget V1.2 - Clock Gadget V5.8 - - Jscript.dll E Jscript.dll. Here is a quick video I created to show you how I quickly fixed the - Jscript.dll Error Fix Jscript.dll. Here is a quick video I created to show you how I quickly fixed the Jscript.dll errors I was constantly getting on my home PC. The site I link to above shows you how to get it fixed in about 5 minutes...and for FREE!

Clarion JScript Sample
This video shows a Clarion application that allows the user to write and execute JScript programs. T
Clarion JScript Sample
This video shows a Clarion application that allows the user to write and execute JScript programs. This technique to enrich Clarion code with JScript has a introduced a lot of new and powerful capabilities to the software we produce. Visit our website at to see a list of our products.

HTML Basics
Learn the basics of HTML through this video. Software that are recommended for this lesson is listed
HTML Basics
Learn the basics of HTML through this video. Software that are recommended for this lesson is listed below: Notepad++: Amazing alternative to Adobe Dreamweaver or GoLive Solution. *********

Post you comment here

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image

There are 0 comment(s) to this page.

The questions and answers taken from's public data dump which is licensed under the cc-wiki license.
Logo, website design and layout ©2011