199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JMichael88

Hi... Have a slight problem with a database I am making... I think I am missing something really obvious! I am creating a database, which will generate invoices for money owed by clubs in a sports league. I want to be able to generate monthly invoices, for each club, which …

Member Avatar for pclfw
0
110
Member Avatar for nats01282

Hello i have been trying this now for 2 weeks and its messing with my head, i can not seem to get a WYSIWYG editor working on my site, main page [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>my site</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> …

Member Avatar for pritaeas
0
304
Member Avatar for Gaiety

Is there any problem with the code . Why this code is generating all offsets as 28. [CODE] #include<stdlib.h> #define offsetof( T , M ) (( size_t )(( char *)&(( T *)0) ->r - \ (char *)(T *) 0)) int main(void) { struct STU { char name[20]; struct DATE { …

Member Avatar for Gaiety
0
100
Member Avatar for kiroyzki

C:\Documents and Settings\Elliona\Desktop\kirby>javac payrollsystem.java payrollsystem.java:166: '}' expected filter.close(); ^ 1 error here is my full code [CODE]import java.io.*; import java.util.*; public class payrollsystem{ public static void main(String args[]) throws Exception { File employee = new File("employee.txt"); File dtr = new File("dtr.txt"); PrintWriter pw = new PrintWriter(dtr); Scanner filter = new …

Member Avatar for musthafa.aj
0
100
Member Avatar for kanuri1

please help me how to insert data into database by using grid view here iam using asp.net with vb.net database sqlserver-2005 give me any code or suggestions....... pls help me urgent...........................

Member Avatar for Pari13
0
112
Member Avatar for cruisx

Hi, i was wondering if someone could show me how to log into a website using c++ .net? I want to login to say megaupload.com for example, now i have to code in c++ but how could i do it in managed c++? A link or something would be great, …

Member Avatar for kvprajapati
0
276
Member Avatar for job2617

hello every one. this is my last year in cs,i'll soon make a thesis but I have'nt decided a proposal yet. here's some topics that our thesis advisor suggested.(i'm not decided yet which one would be the best proposals) *Implementation of the Traveling Salesman Algorithm on Networking Systems. *Graph Traversal …

Member Avatar for Nick Evan
0
980
Member Avatar for yasmena

Hi, I'm learning aspectJ and was wondering how can i use the Plugin in Eclipse IDE ..i Googled alot but nothing helped me !! i downloaded the Plugin fom the eclipse site but can't find an aspectj project when i open eclipse and try a new project i'm supposed to …

Member Avatar for yasmena
0
55
Member Avatar for aeinstein

Hi all, I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated …

Member Avatar for flexsmith093
0
353
Member Avatar for ashabhatt

[code] SqlConnection con = new SqlConnection(scon); con.Open(); SqlDataAdapter da = new SqlDataAdapter("select Question,Option1,Option2,Option3,Option4 from QuestionData", con); DataSet ds = new DataSet(); da.Fill(ds); foreach (DataColumn dc in ds.Tables[0].Columns) { foreach (DataRow dr in ds.Tables[0].Rows) { Questionlable.Text = dr[0].ToString(); OptionList.Items[0].Text = dr[1].ToString(); OptionList.Items[1].Text = dr[2].ToString(); OptionList.Items[2].Text = dr[3].ToString(); OptionList.Items[3].Text = dr[4].ToString(); } …

Member Avatar for kvprajapati
0
105
Member Avatar for esakkirajak

HI Friends, I want to disable a browser back button in one of my aspx page.my frd suggested me to use javascript ..but i ahve no idea about it..plz help me..

Member Avatar for almostbob
0
162
Member Avatar for chaienbungbu

I'm a java developer. Recently, at university, I have been assigned a task about network programming with C++. The specification is about create a distributed application (with a server and many clients). If they allow to use RMI in Java or .NET Remoting with C#, it's easy for me, because …

Member Avatar for adcodingmaster
0
163
Member Avatar for lordx78

Hi there, I'm unable to run the demos java files. I followed the ways according to the prefuse tutorial. It says, 1) Go to "build" folder 2) Launch demo of interest java -cp prefuse.jar:demos.jar prefuse.demos.<name of demo here> and I inputted e.g. java -cp prefuse.jar:demos.jar prefuse.demos.TreeMap.java Please advice. [COLOR="Red"]*Screenshot Attached![/COLOR]

Member Avatar for fleure
0
105
Member Avatar for checho

Hi i have the next task. 5. Create a hierarchy Dog, Frog, Cat, Kitten, Tomcat and define suitable fields, properties, constructors and methods according to the following rules: All of these are Animals. Kittens and tomcats are cats. All animals are described by age, name and gender. Kittens can be …

Member Avatar for JamesCherrill
0
834
Member Avatar for Ecliptical210

Hi Guys, I posted earlier, and I figured it out after a few hours of playing around with it. Now, a new question arises. Is it possible to get the input from a JTextField and add it into a JComboBox via an array? The only thing stopping me from achieving …

Member Avatar for javaAddict
0
155
Member Avatar for GoldenDrago

I had posted earlier requesting help with my code, but I quickly cleared up my issues. I am almost complete with my work, but I was just wondering if I could get some help on fixing some code which may cause my program to crash or not function properly. [CODE]public …

Member Avatar for javaAddict
0
83
Member Avatar for jayrana

when i comple this code it says, wander.cc:28: error: 'Wander' was not declared in this scope I got this code from Jenny Owen's tuorial on Player/Stage. In that one th Wander function is not decalred. Could you please tell me why I am getting this error and how to declare …

Member Avatar for thomas_naveen
0
66
Member Avatar for sakura_fujin

hi, my php/ mysql query code does not insert data to my table and prints out an error. pls help ive been at this for hours without figuring out what's wrong. my code: <?php mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("fppms") or die(mysql_error()); mysql_query("INSERT INTO employee record(Employee ID, Employee type, First …

Member Avatar for sakura_fujin
0
94
Member Avatar for Ecliptical210

Hi guys, I'd really appreciate it if someone could look over my code and tell me why my JComboBox isn't working. I've got 3 Classes, 2 for the GUI, one for the standalone which the array is contained in. [CODE]import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JFrame; import javax.swing.JComponent; import javax.swing.SwingUtilities; import …

Member Avatar for javaAddict
0
160
Member Avatar for snakay

Hi, I want to set typed dataset in my appl. joining 2 database tables. I can define dataset as xyz.xsd no problem, I define the relations. So this is a fixed set that I can use. But what if I have to add additional conditions to filter the data within …

Member Avatar for snakay
0
76
Member Avatar for emmanueloladele

Hello All, when I add/Delete data to my database (MySQL) using php, i discover that when i refresh the page my Add/delete script runs again and add (or attempt to delete) another copy of the record i added/deleted initially. How can I prevent a block of php script from running …

Member Avatar for newtoweb
0
5K
Member Avatar for sacarias40

Hello, it has come time for me to be able to accept a credit card/multiple credit cards on a website. I ask you guys to guide me in the correct direction to doing this. I do not want to use pay pal or a payment gateway. Thank you, much regard!

Member Avatar for studentcredit
0
179
Member Avatar for Ashwin1985

Hi.. I have created an application which is using the org.apache.log4j.Logger class for logging various INFO/DEBUG?ERROR messages.. The application is working fine, including logging, when Run As Java Application in the Eclipse IDE..(log file is generated successfully and entries too are created) Then I exported the project to a .jar …

Member Avatar for peter_budo
0
2K
Member Avatar for speakvair

wn compile a code(400 lines app) after running 3 times through the loop(loop in the sense assume the 200 lines) it says unable to open a file...(which it had opened d previous 3 times and executed wel) so i tried perror() and found "not enough memory" Please suggest me wt …

Member Avatar for thomas_naveen
0
162
Member Avatar for browne

I have written the below program for a homework and am really stuggling to find out how to do the email verification. Could anyone please help? (I have looked online and in the text book). Thanks so much. [code] program DataInput; uses Classes, SysUtils, crt; var sname: string[15]; fname: string[15]; …

Member Avatar for FlamingClaw
0
126
Member Avatar for Brian Charlie

I currently am working on a project for work that deals with WSDL. The client has sent me the WSDL in XML form, so I was wondering can I even use this with VB .NET 2003 or do I have to use the "Add Web Reference" feature and add the …

Member Avatar for kvprajapati
0
88
Member Avatar for wingers1290

Hi, I am loading some pictures from a traffic cam website and displaying them in picture boxes but the form freezes because its working too much. Is there any way to speed up the process, here is my code. [code] string[] picURL = new string[9]; picURL[0] = "http://www.nzta.govt.nz/traffic/current-conditions/webcams/webcam-images/cst1.jpg?rnd=0.0822959104552865"; picURL[1] = …

Member Avatar for wingers1290
0
271
Member Avatar for karkar_87

Hi all... I need some help in manipulation of the text files to read in a matrix text file. The format of the text file is as follows: <matrix> rows = 2 cols = 2 1 2 2 4 </matrix> I need to read in the text file and put …

Member Avatar for musthafa.aj
0
321
Member Avatar for Clyw

I need help urgently for 3-tier coding in retrieving data from database and display it in label. It would be a great help if anyone solve it for me. thanks [B]I got the code for data access layer but im not sure if it's right:[/B] [code] Public Function getFeedbackQ(ByVal Question1 …

Member Avatar for kvprajapati
0
133
Member Avatar for tqmd1

Dear Experts I am using following codes to format datagridview column headers, that works fine. My questions are 1) how to make all headings bold? (bold header row) 2) how to apply specific font to heading row 3) how to apply specific fontsize to heading row 4) how to apply …

Member Avatar for kvprajapati
0
432
Member Avatar for mahm240

when i runnig my jsp page some type of error occurd(deployement error).i am running the page in netbean under glassfish server.how can i remove this error.

Member Avatar for mahm240
0
56
Member Avatar for cwarn23

Hi and I thought I would write an algorithm where the computer can learn from text being input into its database and the computer will be able to have a normal conversation with somebody. I already have my database of paragraphs but will need converting into something more complex for …

Member Avatar for cwarn23
0
160
Member Avatar for RossMc

Hi, I am creating a RPG Character Generator and I have a InputDialog box which asks the user to enter there characters name. I have a do while loop to check for if the user entered a character which allows runs through the code if the users enters a correct …

Member Avatar for musthafa.aj
0
129
Member Avatar for rajarajan2017

Hi all, I am a flash programmer and new to the game development. My job is to develop facebook games in flash with ActionScript 3.0. I know AS3.0 and a stick cricket project is initialized. I want to know the flash game developers helping the forum here. and I would …

Member Avatar for rajarajan2017
0
101
Member Avatar for niro_fernando

I have to make a simulator for my school project, I dont know how to do that and where to start from, i have a little bit knowledge about C# and Visual studio, can any one tell me how to start , can any one tell me how to build …

Member Avatar for amlanjyoti.s
0
141
Member Avatar for Austinjs0102

Alright, so i have some code i have been working, i basically have done the skeleton and have looked through my Java book and scowered the web for some ideas. I'm stuck on a few thing. basically i am trying to write a program to break a code. I enter …

Member Avatar for musthafa.aj
0
606
Member Avatar for wingers1290

First off thanks to all the members of daniweb for all there help and support, they've been fantastic. I'm on the last stage of my program and i need a little more help. I am using binary serialization to save information, i don't want to use xml because frankly it …

Member Avatar for wingers1290
0
172
Member Avatar for ankush.mukherje

Hi guys I need your help a bit. I have designed a tree view control and the user can select multiple options. Now the problem lies in: "When the user clicks on show button a msgbox appears showing all the items selected"....This is what I want to do. but is …

Member Avatar for ankush.mukherje
0
930
Member Avatar for aneeka

Anyone, help me here. Is my code possible? I need to assign the total number of records from the database query to the graph of javascript. [CODE]]<?php mysql_connect("localhost", "aaaa", "aaa") or die(mysql_error()); mysql_select_db("aaa") or die(mysql_error()); $result = mysql_query("SELECT * FROM table WHERE field ='1'") or die(mysql_error()); while($row = mysql_fetch_array($result)) { …

Member Avatar for aneeka
0
105
Member Avatar for Japus

Hello I'm trying to use taglib in my Qt-program but it won't work. With this code, it doesn't compile although it should because I just changed the parameter [I]a[/I] from the example included with the source. [CODE]void Test(){ const char* a = std::string("song.mp3").c_str(); TagLib::FileRef f(a); }[/CODE] When I drop the …

Member Avatar for Anarionist
0
141
Member Avatar for gani

hi, i am using this datetime data type in one of my mssql tables... i just want date & not time........ can any one help me with a patch of code....... thanks in advance

Member Avatar for Nilesh Warude
0
81
Member Avatar for cwarn23

Hi and I have the below php-gtk script but for some reason it is reporting the error "Not enough storage is available to process this command." in the command console but the application still loads. It only happens when I try to import a 1.75MB text file for processing. Does …

Member Avatar for cwarn23
0
189
Member Avatar for TommyTran

I have an assignment that asks me to create an application that lets the user enter a word or phrase, then displays the number of vowels found in that word or phrase. Here's what I have so far: [CODE]Dim mystring As String = Me.txtenter.Text Dim chars As Char() = mystring.ToCharArray() …

Member Avatar for apegram
0
1K
Member Avatar for Lukezzz

I have created a completely new new Windows Form application and are trying to add this namespace: [code] #include "stdafx.h" #include <ctime> #include <iomanip> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <cmath> #include <algorithm> #include <limits> #include <ios> #include <cstdio> #include <numeric> #include <cstdlib> #include <ctype.h> …

Member Avatar for Lukezzz
0
207
Member Avatar for ~Redous

Hi, im having trouble i managed to create a password field and got everything working i then changed my mind and wanted to add a username field on to the login. im getting the following error and i have tried both && and || yet none seem to work Parse …

Member Avatar for ~Redous
0
134
Member Avatar for cpeeyush1

hi i am designing a web page that contains to many java script but the problem is that when i open it in IE then IE block the java script and shows a yellow bar at the top then when i unblock it then IE shows my script i know …

Member Avatar for StefenL
0
203
Member Avatar for dlannetts

Hello, l sor of scribbled this code up from a few tutorial l have looked over, combining tutorials never works for a newbie to C++ :( now this is what l have written:: [CODE]// InfoMenu.cpp : main project file. #include <stdafx.h> #include <iostream> #include <string> using namespace std; int main() …

Member Avatar for dlannetts
0
240
Member Avatar for ludamizleeto

I have always used the API for Vb.net from Decaptcher.com and have always sent the Captcha by sending an actual url to them as you see in the code below. Or maybe it uploaded the image anyway to them (I use the Webbrowser Control) I'll use for example this: Code: …

Member Avatar for darcee
0
551
Member Avatar for jeeter19

Hi, I understand how there are events for things such as buttons and other form objects, but I was curious as to if it is possible to create an event for when a variables value is changed. Thus if I have an integer variable named MyInt with value 0, it …

Member Avatar for sknake
0
119
Member Avatar for TommyTran

I have an assignment that asks me to do the following things: 1. Create a textbox to get the student's first and last name (ie: John Ark) 2. If the student's "first letter of his last name" (which is "A" in John Ark) ranged from A to I, then puts …

Member Avatar for apegram
0
107

The End.