Code Snippets Interview Questions
Questions Answers Views Company eMail

validation code / function to allow only Letters in a text box

1 12928

snippet to prevent submission of form when certain/any validations got failed

1541

communication between main window and new windows

1691

function to combine two or more arrays

Aricent,

1689

Reading which Non-Character Key was pressed

1678

how to Auto Scroll the page

Ninestars,

1623

code to sorting an array of objects

1976

determine which key was pressed and its type

1 3540

Create a Menu that can be activated while clicking on Right Mouse button

Nest, TCS,

1693

write a function to validate a given date

1 5179

code to display a Countdown Timer (dynamic)

2 12919

how to create a Custom Scrollbar

2040

code to detect availability of cookies

1772

Code to Block submission of form by pressing Enter Key

TED,

2056

HOw to Build a Nested GridView Control with ASP.NET?

2 13830


Un-Answered Questions { Code Snippets }

Can we run Applet in Web browser with security policy files

2070


how to pass data between pages using Cookies

1837


how to take time as input in the format (12:02:13) from user so that controls remains between these columns?

1800


I need your help, i need a Turbo C code for this problem.. hope u'll help me guys.? Your program will have a 3x3 array. The user will input the sum of each row and each column. Then the user will input 3 values and store them anywhere, or any location or index, temporarily in the array. Your program will supply the remaining six (6) values and determine the exact location of each value in the array. Example: Input: Sum of row 1: 6 Sum of row 2: 15 Sum of row 3: 24 Sum of column 1: 12 Sum of column 2: 15 Sum of column 3: 18 Value 1: 3 Value 2: 5 Value 3: 6 Output: Sum of Row 1 2 3 6 4 5 6 15 7 8 9 24 Sum of Column 12 15 18 Note: Your program will not necessary sort the walues in the array Thanks..

2790


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?

2452






Write a Program to find the reverse of a given number.

478


could you please send the program code for multiplying sparse matrix in c????

3057


3. Program to find the Sum of give series. a. (1)+(1+2)+(1+2+3)+(1+2+3+4)+……………………………….. b. 1/1+1/9+1/25+1/49+……………...

4335


Write a python program to count the number of vowels in a string?

492


what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; }

2052


How to get Dynamically Linked Comboboxes Set?

2016


code to keep a page Out of the browser history

1645


how to Auto Scroll the page

1623


What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?

918


Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?

8014