199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kadafiz

i used this code to adding multiple values.. bt it dsnt work . it didnt give me real answer.. plz some one can help me up.. [CODE] function calc(y){ answer="0"; for(var co=1;co<=y;co++){ answer+=parseInt(document.getElementById(co).value); } document.getElementById("total").value=answer; }[/CODE] this code didnt give me sum of values. it gave like this.. (10101010). not …

Member Avatar for dhanapal86mca
0
144
Member Avatar for beyondavatars

I am trying to compile my code and the error is in my ADT module .h file at this line: void printList(FILE* out, ListRef L); The precise error is "list.h:42: error: expected ‘)’ before ‘*’ token" Everything seems fine to me with the rest of the program but my compiler …

Member Avatar for Banfa
0
260
Member Avatar for wkalo
Member Avatar for dhanapal86mca
Member Avatar for svmvishnu
0
114
Member Avatar for shankarz
Member Avatar for darelet

Hey community members, I'm just from an unsatisfactory search through Google. I'm trying at a program that automatically reads in numerical values dumped into a file by an Algebra software. Problem is, whenever I try to sort out numbers they are not appearing the way I want them to. These …

Member Avatar for jonsca
0
158
Member Avatar for ilyas_varol

[CODE]<html> <head> <title>Eastern Mediterranean University-Student's ID</title> </head> <body> <h3>Edit Student</h3> <?php include("sonuc.php"); if(!isset($_POST['edit'])) { $num = $_GET['num']; $sql = "select * from students where num='$num'"; $result = mysql_query($sql) or die('\"'.$sql.'\" Query failed:'.mysql_error()); $row = mysql_fetch_array($result, MYSQL_BOTH); $id = $row['id']; $name = $row['name']; $surname = $row['surname']; $department = $row['department']; $cpa = …

Member Avatar for ilyas_varol
0
93
Member Avatar for shilpajmensi

Hi... Can anybody give me some idea about how to write a xsl to generate expand/collapsable html tree structure for a xml file? Thanks

Member Avatar for pritaeas
0
145
Member Avatar for aarthi87

please help me to calculate the distance between each pixels between the images stored in the database

Member Avatar for JamesCherrill
0
82
Member Avatar for golansha

Hi, I have a string that might include a date as substring. For example the string may be "Oct 23, 2008 16:41:58 GMT Unassigned". I would like to check if a substring of the given string can be converted to a date. I tried using: [code] public static bool IsDate(String …

Member Avatar for nick.crane
0
867
Member Avatar for kanjali

Hi, Iam new to java as iam working for dotnet C#. Can any body tell me the software to convert java code to C#. Please, iam in very much need for it. Thanks in advance, Anjali ...

Member Avatar for masijade
0
313
Member Avatar for ashwiniku

hi, there are 2 different database 1 database have the list of all the users and another DB only have the details of users who are logged in which is production DB. i have writthen below code but i am stuck over here plese do the needful. /** * */ …

Member Avatar for musthafa.aj
0
151
Member Avatar for kalpa23

c# webforms vs 2003 i have this data grid call dgresults which i m using the page index change event and item command event my problem is every time when i load the data grid and try to change the pages it's giving me an exception. that's because every time …

Member Avatar for nick.crane
0
193
Member Avatar for daniiii

Hi guys, I am trying to create a cell renderer that will set a background imagefor cells in a JTable I have created, depending on the data inside each cell. I think I will be able to do the rest, but for now I just want to be able to …

Member Avatar for daniiii
0
89
Member Avatar for jeffpro

Hey guys, First post here. This community looks create. I'm working on a final school project and we must move the cursor to a designated position without the use of: mouse_event() SetCursorPos() we then need to perform a check to say if the position is correct with the numbers we …

Member Avatar for mitrmkar
0
101
Member Avatar for prajaktaran

Hello, I had start a thread for how to attach a database on our program. I was really thankful to daniweb. I have create project on windows application (C#) back end is SQL server2005 I have dettach my database from SQL servr2005 and attach database in Visual Studio 2008 But …

Member Avatar for k.d.m
0
113
Member Avatar for rroky

Please any one can help at this problem I have with javac. I have download the java jdk1.5.0_15 at least 20 times in three (3) machins and it do not compile. Actualy it can not read the file. Javac is installed and is on bin, when I type javac it …

Member Avatar for divya bangroo
0
1K
Member Avatar for Jackie91

when i enter '1' .. the cout is connected,i cant even input the 1st line,which is the 'name = '.. help me pls. [CODE]#include<iostream> #include<string> using namespace std; void main() { int input; int choose; string name; string icNum; string parentName; string address; string TelNum, parentTelNum; cout << "\n\t\t\t STUDENT …

Member Avatar for jonsca
0
144
Member Avatar for ganeshm21

Hi All I am using AWM menu and there is functon awmCreateMenu() which creates a menu, but exactly not getting the different argumnts to this function. Will please any one help to get meanings of these parameters? Actually I want to activate or open this menu using an short key …

Member Avatar for theantonis
0
190
Member Avatar for kalpa23

any one know how to search a string array for a particular value a then remove it from there without keeping a null element to find the element where the value exists and then to remove the element Please if any one know how to do it give me an …

Member Avatar for kalpa23
0
432
Member Avatar for anerchy

[CODE] a = textBox3.Text; if (listBox1.Items.Contains(a) == true) { textBox4.Text = b; }[/CODE] i haven't manage to step into the if statement. am i doing something wrong?

Member Avatar for hirenpatel53
0
277
Member Avatar for mangel.murti

hi all, onclick a link i am exporting all details to excel. it's working well. but when i uploaded this file to my domain and run it,it is fetching data but not all data, columns are exporing to excel but only first 3 value are exporting to excel. any idea …

Member Avatar for mangel.murti
0
118
Member Avatar for Danny_501

Hi all, why do I get an error with this line of code? [CODE]string test("a" + "b" + "c");[/CODE] error C2110: '+' : cannot add two pointers I have included the string class. thanks.

Member Avatar for Danny_501
0
112
Member Avatar for faizabest

this is 'pemaju_semakan2.php' coding <?php include("db.php"); ?> <?php $IDSykt=$_POST['IDSykt']; $query = "SELECT * FROM pemaju WHERE PJ_SYKT_NO='$IDSykt'"; $result=mysql_query($query); while($row = mysql_fetch_array($result)) { $IDSykt=$row['PJ_SYKT_NO']; $NamaSykt=$row['PJ_SYKT_NAMA']; } this is 'db.php' coding <?php $hostname_connection = "localhost"; $database_connection = "zaza"; $username_connection = "root"; $password_connection = ""; $connection = mysql_pconnect($hostname_connection, $username_connection, $password_connection) or trigger_error(mysql_error(),E_USER_ERROR); ?> …

Member Avatar for pritaeas
0
183
Member Avatar for kumarantechie

Hi, I am trying to run an application that is developed in python and compiled in python 2.5 I have upgraded fedora 10 to fedora 13 now i am trying to install that application and run it fedora 13 it gives me an error File "kb.py", line 8, in <module> …

Member Avatar for kumarantechie
0
945
Member Avatar for leahrose87

I have two form the parent form with the menu list and the child form. I want to show the two form simultaneously or the main menu first and then the child form.Is it possible? Any idea?

Member Avatar for pritesh2010
0
195
Member Avatar for aalqa

I want to upload file through asp website ,once i click on the button it browser the file and select file and upload it ,who can help me please

Member Avatar for ArtistScope
0
79
Member Avatar for ali_zdn

i have a windows form application, and i want that when i execute the program, program must show me the main form quickly, but my program firstly do some operations (connecting to sql, filling the combobox etc. ) because in form_load function i call a function to fill the combo …

Member Avatar for arunkumars
0
98
Member Avatar for leahrose87
Member Avatar for azegurb

hi all, i have simple image slideshow script does anyone know how to do it with a help of for loop not if here is code thanks beforehands [CODE]<html><head> <script type="text/javascript"> <!-- var image1=new Image() image1.src="bir.jpg" var image2=new Image() image2.src="iki.jpg" var image3=new Image() image3.src="uc.jpg" //--> </script> </head> <body> <img src="bir.jpg" …

Member Avatar for azegurb
0
117
Member Avatar for aalqa

hello I want to deleter record from my table in database but there is error which is Data type mismatch in criteria expression ,any one has any idea can tell me thank you.

Member Avatar for aalqa
0
93
Member Avatar for shilpajmensi

Hi, Need Urgent help..!!! I have a xsl to display all the xml elements in a html page. It works fine but i m not able to generate a proper indentation or format. Even a new line character doesnt work. I have pasted below the xsl ,Please help me out …

Member Avatar for shilpajmensi
0
192
Member Avatar for dowen

why when i add private int yearpublished; my program has an error what is my mistake can you please help to fix it ------------------------------------------------------ this is the error that came out C:\goh>javac libmainsys.java libmainsys.java:19: ';' expected yearpublished = yrpub ^ libmainsys.java:28: cannot resolve symbol symbol : variable yearpublish location: class …

Member Avatar for masijade
0
382
Member Avatar for WildBamaBoy

I just learned about dictionaries in Python and tried to implement them into a program I developed. The folders in the dictionary absolutely MUST be created in the listed order. But if for whatever reason they cannot be created, I want the name I specify to be printed instead of …

Member Avatar for TrustyTony
0
113
Member Avatar for utong_005

[TEX]hi can someone help me about creating an autonumber in vb.net... can i make an autonumber with out using data base? can someone give a sample code TY[/TEX]

Member Avatar for hirenpatel53
0
74
Member Avatar for cyqrus

just want to design a software that called reminder sofrware. Its like resource project.And ı dont know even how to start. Its gonna be a software that is designed to alert the user of important events that they have input to the program and the program provide a calendar and/or …

Member Avatar for cyqrus
0
184
Member Avatar for kayfar

[CODE]protected void Button1_Click1(object sender, EventArgs e) { String path = Server.MapPath("App_Data\\dnis2010.mdb"); String sqlQuery = "UPDATE tableRegister SET (SerialNo,StaffName,StaffID,[Hostname],[Department],[Section],[Extension],Type,IpAddType,IpAdd,MacAdd,CpuBrand,CpuModel,Processor,HardDisk,HDType,RAM,RAMType,MonBrand,MonModel,MonSerialNo,MouBrand,MouModel,MouSerialNo,KeybBrand,KeybModel,KeybSerialNo,CdPlay,CdPlayBrand,CdPlayModel,CdPlayType,Windows,Other,WProdKey,MS,MSProdKey,SoftwareName,LicenceNo,Remarks) VALUES (@TextBox42,@TextBox1,@TextBox2,@TextBox3,@TextBox4,@TextBox5,@TextBox6,@TextBox40,@TextBox8,@TextBox9,@TextBox10,@TextBox11,@TextBox12,@TextBox13,@TextBox14,@TextBox15,@TextBox16,@TextBox17,@TextBox18,@TextBox19,@TextBox20,@TextBox21,@TextBox22,@TextBox23,@TextBox24,@TextBox25,@TextBox26,@TextBox27,@TextBox28,@TextBox29,@TextBox31,@TextBox32,@TextBox33,@TextBox34,@TextBox35,@TextBox36,@TextBox37,@TextBox38,@TextBox39) WHERE SerialNo=@TextBox41"; OleDbConnection aConnection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source =" + path); OleDbCommand aCommand = new OleDbCommand(sqlQuery, aConnection); aCommand.Parameters.AddWithValue("TextBox42", TextBox42.Text); aCommand.Parameters.AddWithValue("TextBox1", TextBox1.Text); aCommand.Parameters.AddWithValue("TextBox2", TextBox2.Text); aCommand.Parameters.AddWithValue("TextBox3", TextBox3.Text); aCommand.Parameters.AddWithValue("TextBox4", TextBox4.Text); aCommand.Parameters.AddWithValue("TextBox5", TextBox5.Text); aCommand.Parameters.AddWithValue("TextBox6", …

Member Avatar for kayfar
0
317
Member Avatar for cap2361

lost!!! I took a homework assignment that worked written in just main and for practice I wanted to make them classes with pointers and have one derived class of base. Although the while loop, for the most part worked before it was turned into a class, it now does not …

Member Avatar for sunrise_cool
0
200
Member Avatar for molivia03

Dear All Precious programmer, I have a problem in trying to get a list of a date including days in a table start from first day of the month to the last day of the month. This date should not include the satuday and sunday. and I should be able …

Member Avatar for molivia03
0
101
Member Avatar for AngelicOne

I used this. [CODE] private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { textBox1.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); }[/CODE] It works, but when I click the column header of the gridview, it shows an error. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:index How …

Member Avatar for AngelicOne
0
4K
Member Avatar for fenhopi

Hey! I have a program that searches for a word in a .txt file. When it finds the word I want to print the following 5 lines under that word. So for example: I search for "juice", and my label grabs this out of the textfile: juice apple grape orange …

Member Avatar for fenhopi
0
78
Member Avatar for goodnohello

Here is the error I am getting: Unknown column 'Lo' in 'field list' Here is my code. Any suggestions to get rid of this error: global $conn,$dal; $customerID = mysql_insert_id(); $strSQLInsert = "insert into Orders (CustomerID, LastName) values (".$customerID.", ".$values["LastName"].")"; db_exec($strSQLInsert,$conn); $rs = $dal->Orders->Query("CustomerID=".$customerID." and LastName=".$values["LastName"],""); $data = db_fetch_array($rs); $idvalue …

Member Avatar for rajarajan2017
0
110
Member Avatar for sonja19

hi, Im just a novice in shell scripting,can you help me out; all inbound files will now have timestamp. the timestamp will be get from a server,specifically on a Moveit server. any help will do.. thanks.

Member Avatar for griswolf
0
180
Member Avatar for iWalletMobile

I am trying to write a php code that will determine if a user has viewed the Facebook app before, and if they havent to show a "welcome page" instead of the normal "index" page. Is there a way to read the sql table and forward them to a "welcome …

Member Avatar for crivion
0
100
Member Avatar for phplover

Hi, I want to know what you think is best for me to do. I got a functions file that is included on every webpage on my website as it is in the top.inc.php file althou not all pages will use the functions file. So my question is, should i …

Member Avatar for phplover
0
113
Member Avatar for Awah Mohamed

hello guys , i want to know if i can sent 2 emails from my website at the same time and also how to send two different emails form one code at the same time , i mean i want to create a form that someone fill it to invite …

Member Avatar for crivion
0
92
Member Avatar for kshitij tyagi

Hi all.. I want to know the file descriptor of a file that I have opened in my program. I know open(char*,int,int) returns a file descriptor. What if use fstream out("...").. Is there any way to know the file descriptor this way?? thnx.

Member Avatar for kshitij tyagi
0
107
Member Avatar for Awah Mohamed

hello guys , how can i send my html email through php code , i mean i enter my html codes and then the php code sends it but in form of message not codes ,or any way ,my question is how to send an html email through php code …

Member Avatar for crivion
0
129
Member Avatar for Awah Mohamed

guys i want my php pages appear as eg : my-page.com/page.php?id=01 please tell me how to do it and do i need to create many pages each one with different id or how does it work .

Member Avatar for crivion
0
158
Member Avatar for fuggles

I'm experimenting with GDI+. Say I have a box and want it to move across the screen on a keypress. Do I have to clear the screen and redraw everything everytime I want to move the box? Or is there a way to just change the coordinates of the box?

Member Avatar for jonsca
0
133

The End.