199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for afidah

Hi... I want to calculate marks.. I have create calculation and form... but, when i click the button it cannot calculate the marks... what the error in this code?

Member Avatar for <M/>
0
96
Member Avatar for krutikasharma

There are a 10 words in statement.i want program in 'C' to find out how many words have the same number of letters

Member Avatar for Moschops
0
106
Member Avatar for dirtydit27

Hello, I'm currently working a project for class and I've gotten stuck. I am suppose to write a program that will read a csv file and create a text file with information from this csv file. So, far I have code that prompts for the file name and gives a …

Member Avatar for dirtydit27
0
467
Member Avatar for karenhaha

I have been using Python for a few months in a Windows environment with IDLE. I installed Python on my (new) Macbook and opened the same files, but am now getting strange results. These are scripts that worked fine in Windows: 1. When I use a function to open and …

Member Avatar for karenhaha
0
271
Member Avatar for Violet_82

Chaps, I was wondering what this.id (and for that matter this.whatever) is in jquery and how to use it. A few quick examples are here: <!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <img title="hat.gif"/> <script> $("img").attr("src", function() { return "/resources/" + this.title; }); </script> </body> </html> and another one: …

Member Avatar for Violet_82
0
157
Member Avatar for Nagarajan M

Hi friends.. I am trying to upload file in apache http server(Some Url) using WEBDAV sardine concept..I coded for file uploading and Apache server configuration and all. I wanna do this file Read and Write With authentication.. So,i added .htaccess password file in apache.. When i am trying to upload …

Member Avatar for Nagarajan M
0
339
Member Avatar for Violet_82

Hi all, I am slightly confused about passing functions to the addClass method. This code is taken from the jquery.com site http://api.jquery.com/addClass/: <!DOCTYPE html> <html> <head> <style> div { background: white; } .red { background: red; } .red.green { background: green; } </style> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <div>This div should …

Member Avatar for Violet_82
0
230
Member Avatar for siaosituimoloaublood

Okay, here is my problem. The instructions are I would have to store the minimum points and grades in a five row two column array. The procedure should display the grade corresponding to the number of points entered by the user. Minimum Points Maximum Points Grades 0 299 F 300 …

Member Avatar for siaosituimoloaublood
0
110
Member Avatar for techyworld

Hi can someone explain me this code? actually i need to write another function like this but without passing any parameter, then what should I insert in data? the code is using the parameter id in data but what if i dont have any parameter? server.prototype.GetSpeed=function(id){ $.ajax( {url:"marks.php", data: {id:id}, …

Member Avatar for radhakrishna.p
0
170
Member Avatar for spluskhan

Hello Every One. i have a database name products id Pr_name price etc I want auto complete script that they retrive product name from (Pr_name). i want that my search enging display auto name from my database.

Member Avatar for spluskhan
0
485
Member Avatar for Roshan92

hi all, i am doing my java project (video player). This is the task : Enter a video number and click a button to add that video to a playlist. If the video number is valid, the video name should be added to the list and all the names in …

Member Avatar for stultuske
0
274
Member Avatar for ImZick

Hi guys can you help me out. i want to display the item in my textbox but how can i do that i tried to search tru web but nothings working for me. it is something like this "SELECT Department FROM Table1 WHERE Department = " & .Textbox1.Text & "" …

Member Avatar for Reverend Jim
0
161
Member Avatar for shaqib

Hello, I am trying to populate a listbox.here are my codes which works fine. <?php echo "<select name=name value=''>Exten Name</option>"; while($nt1=mysql_fetch_array($result_users)){//Array or records stored in $nt echo "<option value=$nt1[name]>$nt1[name]</option>"; /* Option values are added by looping through the array */ } echo "</select>";// Closing of list box ?> These data …

Member Avatar for phoenix_2000
0
143
Member Avatar for wallet123

hello there, im having a problem with my code . .. . . so this is my class 1: package app.ui; import java.awt.EventQueue; import javax.naming.ldap.Rdn; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.JScrollBar; import java.awt.Color; import java.awt.Font; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeEvent; import java.util.Calendar; import java.util.GregorianCalendar; import javax.swing.JScrollPane; import javax.swing.JTextField; import …

Member Avatar for stultuske
0
429
Member Avatar for dirtydit27

Hello, I'm a newbie to python and I am having a very hard time trying to solve a homework question that I have. Here it is: Given a list of items, write a program that generates a list of lists of the following form: [a,b,c,…,z] → [[z], [y,z], [x,y,z], … …

Member Avatar for Lucaci Andrew
0
297
Member Avatar for kingk110

I was trying this sample found in the website: [Custom Checkbox](http://www.daniweb.com/software-development/csharp/code/217338/custom-checkbox) when I add the CustomCheckbox from the toolbox to the form directly and build the project it take lot of time to be build and cause the visual studio to not respond. Do anybody have an idea about the …

Member Avatar for kingk110
0
453
Member Avatar for blindislands

I need to write a right turn code for a micromouse using sensors but I don't know where to start. Can you help me please? This is the algorithm we developed. > // Right turn while sensor 1 is OFF // initialize RTcounter = 0; if (sensor 6 == 0) …

Member Avatar for Adak
0
246
Member Avatar for ChrisJ

I have this Form that works successfully (I know it's not state-of-the-art). I simply want to add code to make Contact Name field mandatory. Can you help me? I don't know how much code I should post. Here's some: <script type="text/javascript"> function checkemail(){ var str=document.myform.email_address.value; var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; if (filter.test(str)) testresults=true; …

Member Avatar for Echo89
0
149
Member Avatar for dendenny01

My Program contains 4 arrays and I want to sort the array in such a way that if one array is sorted the other array should follow it Example: unsorted array name code salary date John 52 6500 15 Suzzy 10 1500 20 Mike 20 1451 16 Sorted array(according to …

Member Avatar for Adak
0
233
Member Avatar for lewashby

I'M trying to output a message if the PHP query on the MySQL database come back empty. But when I uncomment this line `//echo "No result found for entry";` not only does it fail to output this message when there is no match but it also fails to load the …

Member Avatar for Geffory
0
212
Member Avatar for dualzNZ

hi all i am developing a small application that will allow the user to paste in admin logs which will then be converted into xml data. The code works fine in VB.net but i am trying to convert it into C# as the application is written in c# i am …

Member Avatar for dualzNZ
0
178
Member Avatar for RvSon

Hi All, I need to load varying Custome controls to one page with differnt panles,I have to load Custom control page according to selection of Criteria. Thanks

Member Avatar for RvSon
0
305
Member Avatar for ajit.nayak3

how can i plot the graph for the below code.I am having matplot library.plot graph for time vs v1 and time vs v2 and in Time1.csv file for tS import csv def test1(): inputCSV = open(r'test.csv', 'rb') outputCSV = open(r'test1.csv', 'wb+') appendCSV = open(r'test1.csv', 'ab+') cr = csv.reader(inputCSV, dialect = …

Member Avatar for TrustyTony
0
257
Member Avatar for reedone816

I have limited knowledge in coding. can anyone tell me what is worng with my code? the firstrow result in the database is not updated, but it is updated in datagridview. For i As Integer = 0 To DataGridView1.RowCount - 1 DataGridView1.Rows(i).Cells(11).Value = "true" Next SmsdDataSet.AcceptChanges()

Member Avatar for reedone816
0
433
Member Avatar for kimmi_baby

Hi guys I'm in way over my head here and have absolutely no idea how to fix this or why it's even there. I have a wordpress website and after comments were turned off in the posts page, I now receive an error where the comments box used to be. …

Member Avatar for kimmi_baby
0
404
Member Avatar for SeanBlack0000

I am trying to create a graph from a 2d matrix of booleans. When the index [i][j] == 1, I need to create a link or edge from node[i] to node[j]. I am doing some thing wrong. I have created a class file with a struct node and some basic …

0
206
Member Avatar for Dani

Article pages on DaniWeb (for those of you who live in the US) have a hover effect (similar to that on our homepage for everybody). It works fine in all browsers *except* for Firefox. Firefox is just super temperamental: it works a few times and then just mysteriously stops working …

Member Avatar for Troy III
0
427
Member Avatar for rrocket

I am trying to verify that the email addresses entered into our site are valid. Basically are they fake addresses or not and if I send them an email there will be an inbox associated with that address. All I keep finding on the web is info for validating with …

Member Avatar for <M/>
0
217
Member Avatar for sarathsshanker

I want to use this- insert into sales(year1) values('344'); query to insert the value '344' into the column where the month column values in January. However I cannot do so by using the WHERE CLAUSE like this: insert into sales(year1) values('344') where Month='January'; This is the existing Table data: 'January', …

Member Avatar for IIM
0
230
Member Avatar for icehiro

I'm trying to make website where user can upload a photo in a form. However somethings gone wrong in which keep telling me that I have a 'invalid file'. The information which the user typed in was actually uploaded to the database, but not the image. I've tried to saparate …

Member Avatar for diafol
0
146
Member Avatar for eranga262154

Hi all, Using my application I've found a file path anywhere on my machine and store the full path in a CString variable. That is full path, like this, [CODE]G:\Work On\CPP\001_002_003.txt[/CODE] What I want to do is, find the name of the file(without the extension), 001_002_003 according to my example. …

Member Avatar for Gorf
0
2K
Member Avatar for dustin.mcalister.58

This is a bit of homework I have to do for my C++ class. I was suppose to add 11 as the pay code and 23 as the pay rate, but during the debug test when I type in 11 it doesn't display $23 like it's suppose to. What am …

Member Avatar for dustin.mcalister.58
0
129
Member Avatar for tony75

Hi Any idea how to solve an old exercice? The linux command ls -alR produce informations about files contained in the current directory and its subdirectories. You can save its output by using redirections (in the file output in the following example): ls -alr > output The exercice is to …

Member Avatar for 2teez
0
260
Member Avatar for judyberk

here's the problem I need help with. MAP needs a report which represents the monthly statement for these customers. The report will show all transactions on the customer's account. This report will first display the customer account number, beginning balance, the end of month date and the per transaction penalty …

Member Avatar for judyberk
0
169
Member Avatar for bombay1982

I need to create a database for a simple website with films collection. I decided I need following columns in the table: [Click Here](http://www.flickr.com/photos/94148478@N06/8564036143/) I made some reading and after getting familiar wit normalization rulez I decided to divide this in four tables: 1st table "Basic info"with columns: movieID,titleID, directorID, …

Member Avatar for bombay1982
0
180
Member Avatar for tumblinmonkeym

I have to write a program that creates a binary search tree from a file and output it and several other requirements. One requirement that I cannot figure out is how to find the search cost for each node. These are the instructions I was given Calculate the search cost …

Member Avatar for gusano79
0
656
Member Avatar for coding101

Im new to threads, and would like to get experience so I am trying to build a chat server. The idea is to have one thread read from the client socket, while another thread writes to the client socket. (like AIM) I cannot get them to execeute concurrently; Need help, …

Member Avatar for james6754
0
195
Member Avatar for Shodow

on dropdown change i would like to put the price on the textbox "price" base on the selected value in dropdown function Price(data) { document.getElementById ("productprice").value = data.value; } <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" …

Member Avatar for Echo89
0
197
Member Avatar for schroaus

At the moment I am making a simple pong game in my tenth grade high school class. It is already much more advanced than any of the other projects that people are working on and I will get an A no matter what, but I still have a problem that …

Member Avatar for schroaus
0
198
Member Avatar for Plonkaa

Hello, I have added a image file to my code in tkinter but it basically fills my the whole frame so if its possible can you recommend a tutorial that shows or explains how to do this.... unless you can show me on here. I havent added my full code …

Member Avatar for vegaseat
0
320
Member Avatar for Counterpartz

Hello, I'm writing an application that computes the variance and average from a list of integers. Here is the assignment info: Create a function that accepts a list of integers and computes the average and variance of the list. The variance is computed using the following formula. The list of …

Member Avatar for Counterpartz
0
310
Member Avatar for pvn29

This program is not running due to 2 errors could someone please assist me? Thanks import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class UserList { public static void main(String[] args) throws Exception { String str1, str2 = "username"; int index; int initialCapacity = 10; BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); …

Member Avatar for somjit{}
0
251
Member Avatar for entropic3105

I want to make a program in which you can edit pictures or similar to paint in windows. Does anyone have any idea how?

Member Avatar for entropic3105
0
185
Member Avatar for siddiqui_1985

i'm creating my personal forum website, in create new topic page i have a HTML drop down, i populate this drop down from my categories table from my databse. the problem is that when i select any value from drop down it didn't it's id from database and due to …

Member Avatar for broj1
0
5K
Member Avatar for sarman.boyslo

hi all, newbie wanna ask... if i have string sent from serial comm, lets say the string is like this : name1 name2 name3 how can i split that string into separate string, lets say i will put name1 into textbox1, name2 into textbox2, name3 into textbox3? thanks for the …

Member Avatar for tinstaafl
0
2K
Member Avatar for UKnod

I have an access database which I am using with .net, I can search tables and maker very specific searches no problem, trouble is that I can't work out how to make global searches. IE search entire databse for "fred" or search a single table for "fred". Anyone know what …

Member Avatar for TnTinMN
0
276
Member Avatar for jontennyeah

i have a datetimepicker and a textbox i code inside in the datetimepicker Private Sub DateTimePicker2_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker2.ValueChanged TextBox1.Text = DateTimePicker2.Value.ToString ''7/16/2015 9:03:03'' PM is the output i my textbox, how i will remove the time when i input a date from the …

Member Avatar for Reverend Jim
0
144
Member Avatar for shaumic

This is my registration form page(Member_reg.php). <html><head> <script type="text/javascript"> function validateForm() var a=document.forms["form1"]["username"].value; var b=document.forms["form1"]["password"].value; var c=document.forms["form1"]["mailid"].value; var d=document.forms["form1"]["address"].value; var e=document.forms["form1"]["contact"].value; if (a==null || a=="") { alert("Username must be filled out"); return false; } else if (b==null || b=="") { alert("Password must be filled out"); return false; } else if …

Member Avatar for shaumic
0
343
Member Avatar for mical700

Write a program that (using an array) analyzes student performance on an exam using the information from such a file. The program should input the name of the text file, and then display the worst score, the best score, the average score, the standard deviation, and a histogram -- a …

Member Avatar for JamesCherrill
0
124
Member Avatar for mjsmitten

Hello, I have urls like this: http://site/search/region,state and http://site/type/mytype I need to extract the last part and echo this. I used code below and for the first url it returns "region,state" (but I only need the last part). And what if behind the url is another character like a slash …

Member Avatar for mjsmitten
0
159

The End.