PHP Code (33)
JSP Code (6)
ASP Code (5)
CGI Perl Code (3)
JavaScript Code (63)
VB Script Code (20)
Shell Script Code (31)
Python Code (34)
WinRunner Code (1)
HTML DHTML XHTML Code (13)
XML (43)
Scripts_Markup Code AllOther (5) code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
HCL,
2104
What is a well formed XML document?
Given a N by N matrix of both negative and positive integers. Write an efficient algorithm to find the sub-matrix with the largest sum of all the contained elements.
how to create a Draggable element
Write a python program to count the number of vowels in a string?
program to bring a window to the front
Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.
Write a function to efficiently convert a floating point number to a rational number. For example, given 0.125 return "1/8"
What is CDATA?
can we pass variable in array to traverse it?
what is the structure of xml document ?
What is a markup language?
How to store the iterations value in some variable/ in excel? Dim objExcel, ObjFolder, objPath, objWorkbook, objSheet, ObjFSo, ObjFolderName, strExcelPath Const xlExcel7 = 39 ObjFolderName = "Testing" & Hour(time()) & Minute(time()) &Second(time()) objPath = "D:\" strExcelPath = objPath & ObjFolderName & "\testing.xls" Set ObjFSo = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.CreateFolder(objPath & ObjFolderName) On Error Resume Next Set objExcel = CreateObject("Excel.Application") If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Excel application not found." Wscript.Quit End If On Error GoTo 0 Set objWorkbook = objExcel.Workbooks.Add() Set objSheet = objExcel.ActiveWorkbook.Worksheets(1) Dim arr1, arr2, arr3 Set outputLines = CreateObject ("System.Collections.ArrayList") arr1 = 123arr2 = 99 arr3 = 10 outputLines.Add arr1 outputLines.Add arr2 outputLines.Add arr3 outputLines.Sort() For Each outputLine in outputLines WScript.Echo outputLine ' how to store this value in excel/ variable? Next objExcel.ActiveWorkbook.SaveAs strExcelPath, xlExcel7 objExcel.ActiveWorkbook.Close objExcel.Application.Quit This above code is working fine but the qs is is there any way to store the sort data in variables / in the excel and how?
Code for using a Hot Key in an ActiveX Control?
how to create Expandable and Collapsible Menus
Why XML has been used for development?