199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thecoolman5

Hey, I am trying to make a program where when you click on a button, the button will open a new window and on that new window has different buttons you can click on. I use DEV-C++. Any solutions?

Member Avatar for thecoolman5
0
434
Member Avatar for katsloko

Hey guys, Do you guys have any idea on this error? This errr showing up on my Contact Form before you input the data field like name, address etc.. Is there a way to fix it? [CODE]Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started …

Member Avatar for diafol
0
109
Member Avatar for liam0014

Hello, I am quite stuck. I have my database running on a seperate machine from where I am writing my application. The connection between Visual Studio and the database seems to be fine as I can display data in various controls on the GUI. My problem arises when I try …

Member Avatar for prvnkmr194
0
528
Member Avatar for eleng

I am final year collage student. I want to do one final project in this semester. I know [COLOR="Red"]VB, VB.NET[/COLOR]. I already done a student management system for a collage. Now i need a good project title to do in this semester. can anyone give me a good project title …

Member Avatar for bklynman01
0
210
Member Avatar for sajidtariq

hi every one i want to ask is there any way through which i can retrieve column number of csv file using c programming. those number which are by default set in cvs file also the row name i-e A B C.............. Z AA AB AC........... thanks in advance

Member Avatar for Ancient Dragon
0
179
Member Avatar for tcollins412

i am trying to submit a form in javascript, and then process it in php. and it will not work. can you please help? this is the code: [CODE] <?php if ($_POST['markcomplete']=='yes'){ $taskid=$_POST['taskid']; $query="UPDATE tasks SET status='0' WHERE uid='$id' AND id='$taskid'"; $result=mysql_query($query); if ($result){ echo "<script>location.href='?goto=taskmanager'</script>"; }else{ echo"fail"; } } …

Member Avatar for varun931
0
285
Member Avatar for liamfriel

Hello, I am using a script to process subscriptions on our sites - I can sucessfully get the subscription payment to process, I am having issues processing a cancel IPN request. [CODE] // assign posted variables to local variables $item_name = make_safe($_POST['item_name']); $item_number = make_safe($_POST['item_number']); $payment_status = make_safe($_POST['payment_status']); $payment_amount = …

Member Avatar for liamfriel
0
243
Member Avatar for cableguy31

I'm trying to write a simple program that takes arguments and concatenates them into a single string. It compiles fine, but when I run it, I get a segmentation fault. Here's the code: [CODE] #include <stdio.h> #include <stdlib.h> #include <string.h> main(int argc, char *argv[]) { int i; int strlen; char …

Member Avatar for cableguy31
0
152
Member Avatar for topaz

Hi everyone, i am trying to validate password entered into my system from a jsp page, i want to create a method that would check that a password entered is not less than six characters and not more than 15. Does anyone have an idea on how i could go …

Member Avatar for stultuske
0
184
Member Avatar for lkrvk

hi, guys i have a problem here. i have a form which creates a new table for each new user and that user will have a monthly update of his salary now im confused how to go about this. do i need to create a new table or how to …

Member Avatar for smantscheff
0
190
Member Avatar for acehigher

Hello, I think this is a pretty simple problem but I just don't know where to start. I have a text file: 1 00:00:34,000 --> 00:00:36,135 Thank you, Detective. 2 00:00:42,714 --> 00:00:45,794 - Any change? - Nothing since you left. 3 00:00:52,988 --> 00:00:55,585 She seems to be looking …

Member Avatar for Gribouillis
0
103
Member Avatar for cacolukia

Hello great people. I'm a beginner in programming and I'm having troubles with NetBeans. In those lines down NetBeans reports [B]expected ';'[/B]. I'm assuming that it has something to do with activating classes or jar files somewhere in NetBeans, but i can't find where nor which classes to activate. Please …

Member Avatar for cacolukia
0
175
Member Avatar for srinivas88

Help with DOM.I am trying to access the nodes acc. to their levels in an xml file.reached upto 3-4 levels then getting a nullpointer exception.Please help...wat datastructure would better suit this.i need to index all the nodes.the xml file is cs.xml given under and the java code below tht. <department> …

Member Avatar for peter_budo
0
229
Member Avatar for anthonyjpv

Ive been learning java since last month and I wonder if theres any website that you can suggest which will force me to do a problem solving to enhance my program logic skills? Like homework or assignments from beginner to intermediate to advance. I know there are lots of tutorials …

Member Avatar for peter_budo
0
149
Member Avatar for billybobjack

Hello, I'm reading data in from a serial device and I'm having trouble parsing the data into a human readable format. The serial device sends out a 75 byte packet at a rate of 3hz. Using read() I get data from the serial port as it becomes available, and write …

Member Avatar for Software guy
0
783
Member Avatar for bkoper16

I keep getting a error that says invalid conversion from int to int here is my code sales report.h [CODE] #ifndef SALESREPORT_H #define SALESREPORT_H // No description class SalesReport { public: // class constructor SalesReport(int[]); int Salary(int[]); void DisplaySalary(int[]); }; #endif // SALESREPORT_H [/CODE] sales report.cpp [CODE] // Class automatically …

Member Avatar for jonsca
0
776
Member Avatar for spunkywacko

I have an array with 100 elements. How can copy only 10 element to a new array? [CODE]string[] NewArray = (string[])MyArray.Clone();[/CODE] Thank you.

Member Avatar for spunkywacko
0
91
Member Avatar for Imratzio

Hi guys, I have a shopping cart finished for my site but I do not know how to make checkout function that will link to my cart.php I will show u my codes [B]index2.php[/B] [CODE]<?php session_start(); include_once'../config.php'; include_once'../_header.php'; if(isset($_GET['page']))//get info from a get variable inside url { $pages = array("products", …

Member Avatar for Imratzio
0
173
Member Avatar for manugm_1987

Hello I have an dll which is added at runtime using assembly.loadfrom(). Now how to call a particular method within dll at runtime on button click .The dll name is trial.dll and the dll contains one method called demo() which just display a messagebox on call. How can i invoke …

Member Avatar for manugm_1987
0
199
Member Avatar for ganeshrnet

Below is a piece of code i,ve configured with, It's giving me an Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/****/public_html/****/g.php on line 265. The information stored in the database can accessed be accessed by other pages, using the same code. but its not possible …

Member Avatar for pritaeas
0
255
Member Avatar for SalientAnimal

Hi Everyone, I am trying to create a login page for my "intranet" site that is authenicated via a MySQL database and Apache. I am having difficulty on where to start and how to carry the session information from the login to the other pages, i.e. for submitions etc. Can …

Member Avatar for nonshatter
0
392
Member Avatar for AngelicOne

I need to make a copy of my already made form instead of adding new. I tend to do this by copy/paste the controls and manually setting the location. Is there any other way to do this?

Member Avatar for Momerath
0
77
Member Avatar for buzmay

Hi guys I am quite new to java, and been trying to make a fibonacci number program just to learn more. However I have search the web seen examples and more and I still cant get run this code, there seems to be something wrong with> int N = Integer.parseInt(args …

Member Avatar for masijade
0
119
Member Avatar for captor

Hi All, I have a problem. I need to write a shell script to change the password. The user may want to change his own password by this script. He will have to provide the required 3 parameters i.e. old password, new password and retype new password as arguments in …

Member Avatar for milanshentu
0
2K
Member Avatar for horserider
Member Avatar for codeorder
0
308
Member Avatar for ptara1

I currently have a linked table from two tables in one database. I would like to add information from a third table contained in another database. The code for the current table is: [CODE] <?php $con = mysql_connect("","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("", $con); …

Member Avatar for pritaeas
0
119
Member Avatar for aplee

Hi everyone, I hope you could help me with my problem I am a fresh graduate and I am working now as a developer in a good company By the way, I am not the one who developed this tool, it's the previous programmer and they gave the project to …

Member Avatar for aplee
0
245
Member Avatar for wijithapaw

hi all.. Im using visual studio 2005. I want to import log4cxx.dll to my project. if you know how to do this please reply to this thread thank you wijitha

Member Avatar for sgollapu
0
1K
Member Avatar for Mykd

Hi I get the following errors when I changed something - I don't know what, but these occur now. Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError at sun.awt.Win32GraphicsConfig.getBounds(Native Method) at sun.awt.Win32GraphicsConfig.getBounds(Win32GraphicsConfig.java:240) at java.awt.Window.init(Window.java:368) at java.awt.Window.<init>(Window.java:407) at java.awt.Frame.<init>(Frame.java:402) at java.awt.Frame.<init>(Frame.java:367) at javax.swing.JFrame.<init>(JFrame.java:163) at ExitJoke.<init>(ExitJoke.java:22) at ExitJoke.<init>(ExitJoke.java:43) <-- Keeps repeating itself over and over …

Member Avatar for Dev Ubhare
0
202
Member Avatar for Utsav Chokshi

Question:How many main() in one C program is possible? Answer:(a)Exactly one or (b)More than one If answer is b than write easiest program having two main()s...

Member Avatar for nezachem
0
244
Member Avatar for feoperro

Hi, Anyone know where I can get PHP source for a basic free contact form? I've googled and found quite a bit but I have no idea how to configure it to actually send emails, so I'm hoping there is one that I can download that I can test and …

Member Avatar for feoperro
0
503
Member Avatar for Frostyyy

I am working on a function, which is suppose to read the size of the binary file and read the data flags. The output is suppose to look something like The dataFlags are: 1 0 1 The size of the file is: 40. I got my code running, but doesn't …

Member Avatar for jonsca
0
125
Member Avatar for Majid Sarrouh

I am writing to an Access database by input into a form textfields and click submit i am receiving a confirming new page that my record is submitted successfully. below the fonfirmation message, there is a hyperlink on the expression "return to the form" that when clicked, i am taken …

Member Avatar for ArtistScope
0
183
Member Avatar for aashishn86

is there a way by which i can generate a excel report in asp and create a chart corresponding to it using asp as well...

Member Avatar for ivy3
0
107
Member Avatar for androidz

hi guys im making a button which is print im still learning on how to do or use crystal report in vb6 to print a specific record based on what the user will input on the textbox or flexgrid anyone can help me on this?im eager to learn about this.i …

Member Avatar for androidz
0
192
Member Avatar for churva_churva

[CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public class EmployeeEntry extends JFrame implements ActionListener, KeyListener,ItemListener { JTextField id, last,first,mi,age,branch,hours,pay,items,rate; JRadioButton male,female; JComboBox emptype; JButton add,delete, back; JPanel p1,p2,p3,p4,p5,p6,p7; JPanel p1_1,p1_2, p2_1,p2_2, p3_1,p4_1, p4_2,p5_1,p5_2,p6_1,p6_2,p7_1; JLabel labelMessage; EmployeeList emplist=new EmployeeList(); Employee empH=new HourlyEmployee(); Employee empP=new PieceWorker(); Employee [] employee; String …

Member Avatar for churva_churva
0
766
Member Avatar for andrewliu

I have this link, and when you click on it, theres a GET variable lets say domain.php?page= [CODE]$_GET['page'];[/CODE] and if page equals a variable, I can echo out a form. So what if that form has a link to edit, but its under domain.php?page=[B]form[/B] oh and I have set this …

Member Avatar for Shanti C
0
105
Member Avatar for anthonyjpv

I created a console program in jcreator (java) which asks the user to enter a number in string and converts that string value into char array and then converts each char array into an integer which I also stored each as an array and then adds all the value from …

Member Avatar for ztini
0
117
Member Avatar for rx21825

Hi. I am a python newbie seeking some help in working with a file containing rows and columns. I have a file, that ideally contains an equal number of rows and columns. The first row is a tab separated header row and the first column is a label row. The …

Member Avatar for rx21825
0
205
Member Avatar for SuperFurryToad

I need some help figuring out how to parse an XML file in VB.net so I can find a particular node and write the contents into a database. Basically all the data in the XML node below needs to be read into an object. The file contains hundreds of these …

Member Avatar for el_vala
0
2K
Member Avatar for lianpiau

Hello expert, I had a problem in C# datagridview. I want display last month data or ?days only when form load. I know use SQL query. But the problem is at datetime and string. my idea is today date - 30 days. [CODE]private void OT_Load(object sender, EventArgs e) { ConnectionStringSettings …

Member Avatar for lianpiau
0
1K
Member Avatar for njagi

Hi Is there anyone who know How to capute a whole HTML file and convert itto Excel for example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="description" content=""> <title>Fourth Year Computer Technology Time Table</title> </head> <body> <p>&nbsp;</p> <p>&nbsp;</p> <table cellspacing='4' cellpadding='4' border="1" align="center"> <tr> <td>Day</td> <td>Time</td> …

Member Avatar for ddellostritto
0
871
Member Avatar for atticusr5

I feel bad for asking all the questions about the STL list, and thanks to those who have been helping me learn. I have a question now about inserting again, except this time I want to insert an extra data point into a tempList. I have commented out the code …

Member Avatar for GDICommander
0
187
Member Avatar for kutuup

I have a Tree class that holds pointers to Player objects. Here is the code: [code=c++] #pragma once #include "Player.h" class Tree { private: public: Player* root; Tree(void); ~Tree(void); void DisplayInOrder(Player* localRoot) { if (localRoot != 0) { DisplayInOrder(localRoot->leftChild); localRoot->Display(); DisplayInOrder(localRoot->rightChild); } } Player* Find(const Player* key) { Player * …

Member Avatar for kutuup
0
122
Member Avatar for a_salted_peanut

Hi all, Please bear with me on this as i have not long been learning how PHP works and am still learning VB.NET slowly. I have been testing the code for PHP using the Apache webserver. The problem i am having is, this is the function i am using with …

Member Avatar for DotNetNewbie5
0
2K
Member Avatar for Zjarek

I was researching this topic for a some time, but I can't find definite answer (and I don't hope to find it there). Is it feasible to do heavy computations using C++? I mean specially computations on large multidimensional arrays. C++ has mechanisms which can help writing quite clean optimised …

Member Avatar for mike_2000_17
0
208
Member Avatar for Roybut

Hi All, (EDIT: Amazingly, I clicked on another thread to give myself a break from coding and i found half the answer immediately. Thanks Pritaeaus [url]http://www.daniweb.com/forums/post1478160.html#post1478160[/url]. However, when validation is not passed I still get the messed up page so if anyone can help, I'd be most grateful.) (EDIT 2: …

Member Avatar for Roybut
0
220
Member Avatar for maikens

Hi all, I am tryiing to figure out how to tokenize a string consisting of words in alphabetical order, all crammed together with no delimiters. I can't for the life of me see how this could be done without analyzing the string beforehand and hard coding a delimiter in. Example …

Member Avatar for pseudorandom21
0
237
Member Avatar for Alice1990

what is wrong with the ifstream and ofstream? I had try again and again and the info shown run to infinity. :( I tried a lot of times ady, will be glad if anyone can help, thank you :) Sorry if its looks messy, still learning all the way. [CODE] …

Member Avatar for Ancient Dragon
0
185
Member Avatar for Oppression

Hello there. I have a working method here, called rotateRight() that takes an array and shifts all the elements to the right, except the last one that is placed at the start I have debugged the method, and the method works fine. However the changes are not being reflected in …

Member Avatar for ztini
0
113

The End.