199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for djdanjo82

Hello All, First thanks for taking time to read my thread. My problem is I have created a Gui Class that contains multiple JPanels inside another JPanel or ContentPane. I have just now created another Gui2 Class in the same java project and I would like this new Gui2 Class …

Member Avatar for djdanjo82
0
140
Member Avatar for edogg23

Hello. I am a beginner to programming. I would like to use a form to populate my sql database. Can somebody tell me where to find information on doing this? I have my database and I'm able to display the information from from the database but I don't know how …

Member Avatar for jbisono
0
110
Member Avatar for mrgregkid

Hello im quite new to java and have been writing this game for my computer science class. ive been getting this illegal start of expression error on line 215 which is my 2nd public class dice extends applet and can not figure out how to fix it. ive tried moving …

Member Avatar for peace_of_mind
0
85
Member Avatar for serkan sendur

Note : this is not a question but a snippet(i dont prefer to post to snippet section as it is not much useful) Form1.Designer.cs : [CODE]namespace GrabDeviceInfo { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up …

Member Avatar for serkan sendur
0
107
Member Avatar for jephthah

im going to risk getting a beating, because this is something i should (used to?) know... anyhoo, given a function, how do you tell the size of the array that is passed? obviously trying to find the sizeof the pointer doesn't work (it returns the size of the pointer, duh) …

Member Avatar for nalply
0
513
Member Avatar for k1lguy

hello, i have a java game but i have a problem with healing i get the error client.java:2791: orphaned case case 315: ^ 1 error files compiled successfully! this is the code: [ICODE]public boolean healing() { boolean eat = false; int heal = 0; case 315: Message("You eat the shrimps."); …

Member Avatar for JamesCherrill
0
234
Member Avatar for kiddo39

How can I write a loop using letters instead of numbers so it looks like this: 2 sets used 'a-z' and 'A-Z' aaaaa aaaaA aaaAa aaAaa and so on: aaaAA then on to b: bbbbb bbbbA I can do it with numbers, something like this: [code] for i in range(10): …

Member Avatar for kiddo39
0
4K
Member Avatar for ashishchoure

Hi, I have PCRE library for window 32 bit . I want it for window64 bit From where can i get this? I have source code also and i built it on 64 bit machine but created library is not supporting.

Member Avatar for ashishchoure
0
189
Member Avatar for sivak

string path =c:/document/abc.doc this is my input string i want the output only abc not .doc can any one tell me the code for this plz

Member Avatar for kvprajapati
0
108
Member Avatar for Cheif Druid

Hi everyone, I'm embarrased to ask as I am so new at this but here goes anyway: I have been trying to create a simple secure login screen that when successfully logged into, will allow the user access to other services. I found, modified a good tutorial and all works …

Member Avatar for Cheif Druid
0
67
Member Avatar for seriousgeek

Hi all python programmers..I'm new to python and i'm having a doubt.. I'm running linux in my machine and i use "ipython" to run my python programs. I also write them in independent .py files.. But I'm not able to write loop-based programs in .py files, because after i save …

Member Avatar for jlm699
0
199
Member Avatar for sam1

Hi, I am trying to insert into Access Database using following code [CODE]OleDbConnection empConnection = connection; string insertStatement = "INSERT INTO d " + "([Employee],[Deduction Type],[Number of Hours],[value],[Month],[Year],[Comment]) " + "VALUES (@Employee,@DeductionType,@NumberofHours,@value,@Month,@Year,@Comment)"; command = new OleDbCommand(insertStatement, empConnection); command.Parameters.Add("Employee", OleDbType.Numeric).Value = Convert.ToInt16(txtID.Text); command.Parameters.Add("DeductionType", OleDbType.Numeric).Value = Convert.ToInt16(cmbDedNum.Text); if (txtNoOfHours.Text == string.Empty) { …

Member Avatar for sam1
0
175
Member Avatar for hughesadam_87

Hey fellas, I have searched for this answer for about an hour on and off and cannot find anything so sorry to have to resort to posting. I have a list [a, b, c, d] And I want to write it to a simple output file, but I want it …

Member Avatar for jlm699
0
141
Member Avatar for farooq82

I am trying to develop a java program containing two threads that reads two files simultaneously. In a program, first thread reads data from file “Personal_Record.txt” and second thread reads the data from file “Academic_Record.txt”. When one thread reads a line from one file then it should allow another thread …

Member Avatar for verruckt24
0
159
Member Avatar for Qasim Ali

Hi every One I am using FormView which is bound to EntityDataSource (VS 2008). It is working Correctly when I Add data manually But I want to add Dropdownlist which is bounded to another table Its Selected Value should be inserted in Database (Orginal Table of EntityDatasource). How I accomblish …

Member Avatar for kvprajapati
0
179
Member Avatar for tayspen

Ok so i want my program to read a text file to a certain point. Lets say to the line line that says fn: i then want it to read the one line only and only the the text after fn: and i want it to shoew that text in …

Member Avatar for jaiprakashv
0
618
Member Avatar for aot

Okay, so I'm thinking of taking the plunge into wxPython. But it's especially important to me to know if wxPython can do the following things easily and well: 1) Display a vertical array of radio buttons (or perhaps any buttons will do). They must have no labels, and I need …

Member Avatar for aot
0
255
Member Avatar for sanushks

Hi All, Currently i'm using `sprintf` to copy from pointer variable to a character array. `sprintf(length,"%.*s",(int)len,part1);` where part1 is a pointer to a character array.. length is a characteter array too. Is there a way i can do the above thingy to copy the part1 to a integer variable? Thanks …

Member Avatar for sanushks
0
160
Member Avatar for VMG

Hi everyone, I'm trying to link a class with a library. The script is: /bin/sh ${BOREALIS}/common/bin/libtool --mode=link --tag=CXX ${BOREALIS}/nmstl/bin/wtf g++ -g -Wall -o $1$app $1.o -L/home/vincenzo/software/borealis-projects/LoadDistributionTool -lwld I get the error: Linker errors follow. This mode is untested; type "wtf 0" for the original output. cannot find -lwld in /usr/bin/ld …

Member Avatar for acastella
0
112
Member Avatar for mysqproject

Hello, I'm a bit new to VB (actually use VBA), but would like to get some knowlegde about class module. One thing I was thinking of would be to create a class module which take cares of the connection to the MYSQL database. Please let me know if you have …

Member Avatar for mysqproject
0
734
Member Avatar for serkan sendur

hi i have to create two programs for the same project; live and test respectively. everything for these two will be the same except for the product names and shortcut names on user's programs menu. And also i need to set setup project's removepreviousversions property to true. What i did …

Member Avatar for kvprajapati
0
115
Member Avatar for navi17

hi everyone. i just want to know about 3 tier architecture. can we achieve 3 tier architecture without frameworks. if yes how? give me a little example of it.. thanks in advance.

Member Avatar for navi17
0
101
Member Avatar for Harutyun

Hello. I'm trying to get working some AJAX make statistics of links clicked. Using php and mysql as back-end. My choice is synchronous AJAX request to server using onbeforeunload event. I'm using synchronous request to be sure that browser sent request to the server before page is unloaded. With asynchronous …

Member Avatar for Airshow
0
145
Member Avatar for szcfama

After adding information, when i choose the option "Display all" it crashes right before it's going to display GPA... can anyone help me...also can anyone help me read from the file into the array... plzz...this is really frustrating...any help greatly appreciated. [code=cplusplus]# include <stdio.h> # include <string.h> # include <iostream> …

Member Avatar for Daiva
0
173
Member Avatar for ahmksssv

Hi frnds... i have some problem regarding uploading a s/w when hosting a website... here i am doing project like stock market news...in this i had a software for updating share prices per every seconds.... where and how can i install software on my hosting panel?

Member Avatar for BzzBee
0
101
Member Avatar for kvprajapati
Member Avatar for kvprajapati
0
171
Member Avatar for dexeloper

If, in Firefox, you go to [URL="http://www.incrowd.org.uk"]http://www.incrowd.org.uk[/URL] you'll see a signin page. The signin form is a table and should be spaced 35%/65%. However it is just taking up the space needed for the left label. I've got Firebug and the problem is the table is not taking up 100% …

Member Avatar for dexeloper
0
90
Member Avatar for serkan sendur

hi guys, i want to be able to pass command line parameters from setup.exe to setup.msi. is that possible?

Member Avatar for kvprajapati
0
115
Member Avatar for kvprajapati

I am confused about static class and nested class. Is there any difference to code and use of static & nested class?.

Member Avatar for JamesCherrill
0
169
Member Avatar for sivak

if we have one text box user id and one more text box password and submit button ...after enter the data in text box then click the submit button what are the internal process are happening

Member Avatar for sivak
0
73
Member Avatar for lamiv007

[CODE]<? include("db.php"); mysql_connect($host,$username,$password); @mysql_select_db($database) or die("Unable to connect to database"); $query="SELECT * FROM tcg"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "<center>Viewing Records</center>"; $i=0; while ($i < $num) { $client = mysql_result($result,$i,'ClientsName'); [B]$prgno = mysql_result($result,$i,'PrgNo'); this is line31[/B] $prgname = mysql_result($reslt,$i,'PrgName'); $trainername = mysql_result($result,$i,'TrainerName'); $dates = mysql_result($result,$i,'Dates'); $days = mysql_result($result,$i,'Days'); $proffee = mysql_result($result,$i,'ProfFee'); …

Member Avatar for dreamluverz
0
172
Member Avatar for SallyJ

Can someone please explain what \n\n means in a line of text in C++? For example ("\n\nWelcome to Main Menu\n\n"); Thanks

Member Avatar for siddhant3s
0
6K
Member Avatar for PhoenixInsilico
Member Avatar for verruckt24
0
151
Member Avatar for sonia sardana

hi frnds, i want to get the safari history in VB.Net..Safari maintains its history in history.plist file.....I want to know that how to convert this file to XML format??Plz help me out from where to start,,,cz i have no idea..

Member Avatar for Teme64
0
216
Member Avatar for vuyiswamb

Good Day All I have a textbox in a userControl and it has a Property "Autopostback" set to true, and as i know , this is encapsulated from the hosting page. now i need to set this property to true so that the Gridview in the Hosting page can recognize …

Member Avatar for vuyiswamb
0
175
Member Avatar for soudruhcz

Hi, that's my first bigger work in C++. Programm works good but I don't know where I have to alocate memory. And for which structures or something else I have to do alocation? Can anybody help me? Thx. There is my code: [CODE=c++] #include <stdlib.h> #include <ctype.h> #include <stdio.h> #include …

Member Avatar for soudruhcz
0
426
Member Avatar for divyadilip27

Hi I'm new to PHP. I installes wamp2. and wrote a sample code [code]<HTML><BODY> <? echo date("M-d-Y"); ?> </BODY></HTML> [/code] saved it in www folder. but now wen i click the saved file (hello.php) the file opens but nothing is getting display pls help me Divya

Member Avatar for dreamluverz
0
100
Member Avatar for FallenPaladin

Hi, I am hoping that someone can help. I am trying to validate and compaire date entries made by a user. The dates represent contract start and end dates. This has a one to many relation ship with a client table. A client can have one or more contracts. However …

Member Avatar for kvprajapati
0
106
Member Avatar for redmaverick

print ( "fred" gt "harvey" ); what does this print. How can we compare strings. If it was single characters, we can base our comparisons using ASCII.

Member Avatar for KevinADC
0
129
Member Avatar for arosemena

hi, im posting this because i cant find my problem, the thing is that my script works fine on Opera, Firefox, Chrome and Safari but it doesnt work on IE, i have the newest version of IE and have been trying everything please help the page is here (code that …

Member Avatar for arosemena
0
104
Member Avatar for lamiv007

Hello, I am retrieving two values from a database. I want to get the result after addition of the two values. the code I used is [CODE]echo "$client <br> $prgno <br> $prgname <br> $trainername <br> $dates <br> $days <br> $proffee <br> $trainerfee <br> $reimbexp<br> $handoutchg <br> $invoiceno <br> $totalinvamt <br> …

Member Avatar for lamiv007
0
105
Member Avatar for Generalcrix

I am doing a program on payroll before any deductions are made but i seem to be encountering some problems. Here is the program [code=cplusplus] # include <stdio.h> # include <string.h> # include <stdlib.h> # include <fstream> # include <iostream> # include <cstring> using namespace std; typedef struct { char …

Member Avatar for Salem
0
141
Member Avatar for sivak

if i click button in pqge 1 page 2 should refresh if i click page 2 button page 3 shoould refresh if i click page 3 button page 1 shoud refresh ... can any one tell me the javascript code for this plz

Member Avatar for kvprajapati
0
72
Member Avatar for Rein Valdez

Hello Daniweb, I am a newbie student. I have a problem where I designed my web page project and eventually it must contain a background song that will continuously play even clicking the links/pages. Is there any possibities of doing this? Thanks for the help. I will greatly appreciate your …

Member Avatar for almostbob
0
103
Member Avatar for Poab9200

Hello I made the following program for someone on this site that had requested the game. I didn't have a problem making it. During some tests I conducted I ran into a problem, at least what had seemed like a problem. Player 1 will win on average 90-96% of the …

0
73
Member Avatar for christiangirl

Hey, I am trying to find a way to limit how many characters a user can enter into a JTextField. Does anyone know how to do this? Thanks!

Member Avatar for kvprajapati
0
143
Member Avatar for chandradyani

Dear all, I want to inform that the query return zero result? does anyone know how to revised my code so in case my query return zero result and it will echo "search result =0" here is my the code, I have try it but still it doesn't inform that …

Member Avatar for chandradyani
0
111
Member Avatar for chandradyani

I would like to query regulation which it's date reminder is >= today and it's date ended is >=today. So I came with this query: [code] $query="select * from t_regulation where dt_reminder >= '$today' and dt_ended ='$today'" [/code] It works on postgerSQL but not on mysql :( I dont why …

Member Avatar for chandradyani
0
106
Member Avatar for christiangirl

Hello, I am having problems with indexOf() and contains() they work if I put letters in the code to test, but I want it to test what the user enters. And that is not working. The user enters a letter into a JTextField, and I am storing that word to …

Member Avatar for kvprajapati
0
172
Member Avatar for JamesKox

Hello guys, I'm trying to create a method where it takes a InputStream as a parameter, reads the stream and returns the number of characters it contains as an int. I'm having difficulties with this. I've searched the internet for examples, but i can't find one that helps me with …

Member Avatar for kvprajapati
0
2K

The End.