199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Chair

Hi, Is there a way to "clear a previous loop and form a fresh new loop"? I'm paging my datagrid. Upon form_load, it shows all records in batches of for example 10, which I can set in a textbox. If for example I have 60 records, then my loop code …

Member Avatar for Chair
0
242
Member Avatar for saadi06

Hi, I am having problem with applying ajax on IE.I am applying innerHtml on select tag but it is not working my ajax code is [CODE]function AjaxF(ftype,cid) { var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { httpxml=new ActiveXObject("Msxml2.XMLHTTP"); …

Member Avatar for Airshow
0
487
Member Avatar for poonamjadav

hello, i m a student and working on a mlm project and want to generate a binary tree. please can any one send me the code for it in C#.net please help me.

Member Avatar for ddanbe
0
100
Member Avatar for zifina

i need to print the details from different textboxes on an open form.i dont know how to do it. Print button is on the same form. what is to be done if details from textboxes of different tab pages need to be printed? please help. thankyou

Member Avatar for ddanbe
0
84
Member Avatar for MareoRaft

What is the difference between "int main(void)" and simply "int main()"? Is "int main()" acceptable?

Member Avatar for Raphaelnad
0
458
Member Avatar for orion3184

Hello, I'm new to assembly and am finding myself porting someone's MASM old code to C++ for portable smartphone architectures. There's a syntax on the memory addressing I'm having trouble interpreting. Can anyone help me understand what's going on? It's probably an easy question for everyone familiar with the syntax, …

0
156
Member Avatar for prabhjitsw

Hi everyone My problem is that i am using javascript form validation for the first time and have made a function "Validateform()" to validate "emailid" field in my Form. Now the problem is that it's not working. Now in my registeration form when i enter a wrong email id for …

Member Avatar for twiss
0
400
Member Avatar for akasekaihime

[COLOR="Green"]Can you spot what is wrong with the java code that I am doing. Here is the java code that I have been working on...[/COLOR] [CODE]import java.io.*; public class Konata { public static void main (String args []) { BufferedReader br=newInputStreamReader(System.in); int grade,answer=0; do { System.out.print ("\n Enter grade"); grade=Integer.parseInt(br.readline()); …

Member Avatar for ztini
0
111
Member Avatar for sha1023012

I have a few questions about PHP. I am a newbie and still a little confused. Now when you do a form for php do you put everything on one page or use links for the page. Such as HTML,PHP and the form. Or can the form just be on …

Member Avatar for twiss
0
98
Member Avatar for akasekaihime

[COLOR="Green"]can anyone teach me how to make a java code out of this situation?[/COLOR] [COLOR="green"][B]here is the situation...[/B][/COLOR] [COLOR="Red"][B]Write a program that accepts 3 integers and display the highest and lowest input. N1=100,N2=200,N3=50.[/B][/COLOR] [QUOTE][COLOR="Green"][U]Thank you![/U][/COLOR][/QUOTE]

Member Avatar for peter_budo
0
164
Member Avatar for nattienat7

Hello, Thank you in advance for taking the time to help me!! My assignment is to write a dice game in java using the Die.java class.The object of the game is to reach a total of 41 or more by rolling a pair of dice no more than 6 times. …

Member Avatar for ztini
0
561
Member Avatar for suvisoya

hi i am using webservice i added web reference into my project to call webservice method but below error was happend when i execute my project A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host …

Member Avatar for Ramesh S
0
171
Member Avatar for neosonic

Hi all, I need your help. I have an insert query which insert a few rows into the table A. TableA has two primary keys, which are fieldA and fieldB. The SQL is written as follows: INSERT INTO TableA (fieldA , fieldB, fieldC, fieldD) SELECT DISTINCTROW TableB.fieldA, TableB.fieldB, TableB.fieldC, TableB.fieldD …

Member Avatar for neosonic
0
194
Member Avatar for pebesoft

Hello all, Think I am going mad I want to do a simple update and get a parse order at line 1. 1: UPDATE ir312 // the table name 2: SET 3: R3_21 = $tot // R3_21 is the field name, $ tot is an amount 4: WHERE irdnumber=$irdnumber The …

Member Avatar for pebesoft
0
123
Member Avatar for piepie22

Hi All, As the title says. Have been looking for solution these past 2 days, Salary Record are pulled from database (MySql) in to PHP table (do/while loop). - Name , Salary , OvertimePay , Subtotal , MedicalDeduct , UnionFeeDeduct , Tax , Grand Total - Peter , 1300 , …

Member Avatar for piepie22
0
134
Member Avatar for Toyakoyo

Hello,everyone! I have been suffer from a problem as tile says. I have no idea to solve this problem. I hope anyone who can help me! Thanks. The following is the question: In this project, you are going to invent a minimal seek-distance disk scheduler under a given QOS constraint …

Member Avatar for rubberman
0
185
Member Avatar for student.09

Hi Everyone, I just need a little bit of help figuring out what i'm doing wrong in my code that the salary keeps output as zero. I'm writing a code that is suppose to determine whether the employee is a staff or faculty and then calculate and output the salary. …

Member Avatar for NormR1
0
161
Member Avatar for newbie14

Dear All, I have run this query SELECT (3958*3.1415926*SQRT((2.20569-3.13900)*(2.20569-3.13900)+COS(2.20569/57.29578)*COS(3.13900/57.29578)*(102.25616-101.68686)*(102.25616-101.68686))/180); and it gives a value of 75.49810.... The problem is that the first city (2.20569,102.25616) and second city (3.13900,101.68686) is hundred plus kilometers far apart. Can any one verify what is wrong here?

Member Avatar for newbie14
0
85
Member Avatar for mudage10

Hello all, my lecturer had asked me to encrypt the message using PHP codes i.e to design a website so that someone must be able to send message and appear to DB as an encrypted message using such encrypted method. I don't know how to do or where to put …

Member Avatar for almostbob
0
98
Member Avatar for N1GHTS

I have been coding in C for a very long time, and I thought I had it all figured out, until I saw this code in an MD5 library: [code] static void MDPrint (mdContext) MD5_CTX *mdContext; { int i; for (i = 0; i < 16; i++) printf ("%02x", mdContext->digest[i]); …

Member Avatar for N1GHTS
0
205
Member Avatar for sagive

Hey guys.. i have been having trouble with this script: [CODE] $con = mysql_connect("localhost","XXXXXXXXX","XXXXXXXX"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("XXXXXXX", $con); echo "<table class='viewuserprofiles'>"; echo "<tr>"; echo "<td>שם האתר</td><td>סוג</td><td>קישור</td><td>משתמש</td><td>סיסמה</td><td>תיאור</td>"; $query = "SELECT * FROM ProfilesWebsites, ProfilesAccounts ". "FROM ProfilesWebsites LEFT JOIN ProfilesAccounts ". "ON ProfilesWebsites.ProfileWebsiteName …

Member Avatar for sagive
0
171
Member Avatar for king03

Hi there guys I am looking for a way on how I can increment an object from a structure which is an integer type. the string types I have Increment well but the int types do not. it says int[int] is invalid for array subscript. The red font on my …

Member Avatar for WaltP
0
119
Member Avatar for sha1023012

I am working on this code for php with HTML now i want a container around the information but it is not turning out. Can someone help me understand what I am doing wrong. Should my HTML code suppose to be at the top of the page or not. Here …

Member Avatar for sha1023012
0
150
Member Avatar for programing

hi i hope you to help me . my teacher in introduction to programming concept course ask me to make a small realy small compiler that i did not study before .. i don't have any idea about compiler never if you can give me tutorial about it ..plz i …

Member Avatar for rubberman
0
246
Member Avatar for HuXiaoxiang

Hi all, Forgive my pool English first... I'm learning Python recently. But I met with a problem yesterday and I have liitle experience in solving this kind of problems. Here are the code in Python Shell: [CODE]>>> "HuXiaoxiang\\0Nanjing University\03 Years.".replace("\0"," ") 'HuXiaoxiang\\0Nanjing University\x03 Years.' >>> "HuXiaoxiang \0Nanjing University\03 years.".replace("\0"," ") …

Member Avatar for HuXiaoxiang
0
253
Member Avatar for Joe34

It sounds confusing, but is quite simple. I have a square div, and using css I have four circles replacing the corners of the of the divs border. I want the user to be able to click on one of the corner circles changing the curser image and calling the …

Member Avatar for ko ko
0
305
Member Avatar for Sorcher

I dont know why this code will not show any data from the mysql......................... [CODE]$query = "SELECT * FROM g_attack WHERE winner ='$username' ORDER BY created ASC LIMIT 10"; $row = mysql_query($query) or die("Could not connect to db"); while ( $result = mysql_fetch_assoc($row)) { $created = $row['created']; $looser = $row['looser']; …

Member Avatar for Sorcher
0
64
Member Avatar for blades89c

Good day, I have a ReportViewer showing a report that is bound to a dataset. The dataset gets its data from a Access database backend. I have a separate form that allows the user to add/update/delete data. My problem is when the user makes changes to the data using the …

Member Avatar for yousamook
0
694
Member Avatar for Dean_Grobler

Hey guys, Okay, tough one. How exactly would we go about integrating Biometric scanners (e.g. fingerprint scanners) with our software? The way I see it, the scanner scans a finger print, and then saves that data in a database, but what data is this? What file type? This is probably …

Member Avatar for rubberman
0
161
Member Avatar for iwannalearn

I have recently started jdbc nd now i am confused that what is the real purpose of Class.forname() method?? Also what is the diff. between Class.forname() and DriverManager.registerDriver()?? plz reply soon

Member Avatar for NormR1
0
605
Member Avatar for Michael27

Is there a topic about this, if there isn't i would like to start one. Still haven't found one.

Member Avatar for Michael27
0
153
Member Avatar for preston326

Hello, this error has been torturing me for an hour... [I]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''lock'='0' where pmID='206'' at line 1[/I] This is the code: [CODE] else { print "Žinutė …

Member Avatar for preston326
0
103
Member Avatar for plasticfood

i don't know what happened, but i was running an applet that i made on a webpage and it works fine. i have the latest JRE and i am running firefox 4. then i've made some changes to the applet, tested it, it works, and copy and paste the class …

Member Avatar for plasticfood
0
327
Member Avatar for dhruv_arora

Here's my code and I am getting an error undefined variable, this code submits the information submitted by the user to a mysql database. [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <?php $errors=array(); if(isset($_POST['submitted'])){ if(empty($_POST['fname'])){ $errors[]="You forgot to enter first name"; } else{ $fn=$_POST['fname']; } if(empty($_POST['lname'])){ $errors[]="You forgot to enter last name"; …

Member Avatar for SRocks
0
211
Member Avatar for pardhu463

Hi to all, I am new to this forum..If i did any thing wrong in this thread please correct me... Let me tell you something about my project .... I am working on ARM7-LPC2148 processor with Graphical LCD. Now i am making a calculator which should be like as our …

Member Avatar for N1GHTS
0
196
Member Avatar for isaackhazi

Im currently working on a project to build an application for Windows Mobile 6. Im just stuck with this stupid issue: I have a SQL query string: Dim connectionString2 As String = "Data source = " + path + "\HC.sdf" Dim cmdText2 = "SELECT * FROM BigC_Rangsit_0_" I want to …

Member Avatar for longstrd
0
954
Member Avatar for L0s3r

Hello guys. I currently code in C++.But I want to gain knowledge of internals of C++.So , I want to analyse my each and every program in ASM. I use Windows 7 platform and code::blocks.Please provide necessary information or tools , which can help me in this regard. Thanks!

Member Avatar for gusano79
0
231
Member Avatar for dhruv_arora

Hey, I am new to PHP and I wrote this it supposed to validate the from and add the errors to an array variable (which will be showed on later), I am having problems on line 41, when I run the script it says [B]Parse error: syntax error, unexpected '{' …

Member Avatar for dhruv_arora
0
81
Member Avatar for geekme

While debugging in VS 2010, my code gives no error but on the output screen it shows the output of the other code file in the project.Please help.

Member Avatar for de Source
0
71
Member Avatar for trantran

I have a C++ standard related question. Let's say I have 2 derived object D1 and D2 (which may contain class D virtual functions) of an identical class base B. Now, I create base pointers bpD1 and bpD2 to those objects. 1) Are bpD1 and bpD2 *guaranteed* to be different …

Member Avatar for trantran
0
193
Member Avatar for ndeniche

Hi guys. I know this is a long shot, but does anyone know if parallel computing (multiple simultaneous programmers/developers working on the same file) is possible for SQL databases? What I'm wondering if is possible is working on a local database that updates the mdf file in two computers, which …

Member Avatar for BitBlt
0
254
Member Avatar for dyingatmidnight

I'm finding that my session variable isn't following through from script to script. I'm creating a library database for school and I want the administrator to be able to open user accounts and view the details. This works fine. I then set the account number as a session variable for …

Member Avatar for dyingatmidnight
0
534
Member Avatar for king03

Guys I need help. When I am already done inputting the needed information, when it comes to outputting file stream to a notepad it stops and says "program.exe has stopped working. windows is checking for a solution" and there is a loading bar. please help i don't know what I …

Member Avatar for Arbus
0
169
Member Avatar for gingerfish

i have this dataset: [CODE]String[][] trainData= { //featIdx////////classInfo {"s", "y", "r"},//0 {"s", "n", "r"},//1 {"w", "y", "r"},//0 {"r", "y", "p"},//0 {"r", "n", "r"},//2 {"r", "y", "p"},//0 {"w", "n", "p"},//0 {"w", "n", "r"},//3 {"w", "y", "r"},//0 {"s", "n", "r"}};//1 int[] trainClassInfo = {0, 1, 0, 0, 2, 0, 0, 3, 0, …

Member Avatar for gingerfish
0
921
Member Avatar for Toulinwoek

Borland has released some "Turbo Explorer" editions of it's development tools. I am wondering if anyone here can tell me (as objectively as possible) if the Delphi language is -"Better" -More powerful -Easier to learn -More Flexible -Able to create better performing apps Than C# (I am particularly referring to …

Member Avatar for conhulio
0
2K
Member Avatar for fatalaccidents

Hey guys, I'm writing a program for a class that basically is a menu that allows you to add people, delete people, change info, locate them by ID and last name, print the list, load the list from a file, and save the list to a file (in that order …

Member Avatar for fatalaccidents
0
250
Member Avatar for kordellas

Hello community, can anyone provide me the answers please? I am not a MySQL guy, i know that this is not an excuse, but this is how it is. Thanks in advance. [CODE]Employee (**Employee ID**, Employee Name, Employee Last Name) Director (**Employee Code**) Cashier (**Employee Code**) Customer (**Code Card**, Customer …

Member Avatar for kordellas
0
164
Member Avatar for himmat.m4

Hi, I know for calling jquery function requires some event. But in my project I want to call function of jquery onchange event but that value changing through coding and whenever that value changed jquery function should be called. That means upto particular condition value will be changed of textbox …

Member Avatar for twiss
0
243
Member Avatar for newcoder310

Hi , I'm new to servlets and I'm trying out the Date function in servlets. Instead of printing todays date it is giving something like "Date@fbb7cb" this . Could you please point of my mistake .... Following is the code snippet [code] PrintWriter pw = response.getWriter(); Date today = new …

Member Avatar for NormR1
0
115
Member Avatar for Arjun_Sarankulu

I am using windows username and password to authenticate user for login following is my code [CODE] namespace Test1 { public partial class Login_Form : Form { string emp_code = ""; public static string temp_emp_code = ""; string s = WindowsIdentity.GetCurrent().Name.ToString(); private string _path; private string _filterAttribute; public Login_Form(string path) …

Member Avatar for Arjun_Sarankulu
0
118

The End.