199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DeadSoul

[QUOTE] Hello friends i have tried my code to get the values from the database n display it in JTables but i am getting two errors.please help me. [/QUOTE] [CODE] import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.JButton; import javax.swing.table.AbstractTableModel; import java.awt.Dimension; import java.awt.Component; import javax.swing.BoxLayout; import java.text.MessageFormat; …

Member Avatar for DeadSoul
0
7K
Member Avatar for eng hassan

[CODE]// Project !!!.cpp : Defines the entry point for the console application. // #include<windows.h> #include <iostream> #include <conio.h> using namespace std; class Predator {private: int x; int y; char z; char board[20][20]; int count1; int count2; public: Predator(){ for (int j=0; j<20; j++) { board[0][j] = '@'; board[19][j] = '@'; …

Member Avatar for eng hassan
0
134
Member Avatar for jp071

Hello, I would like to display result in form window. The result is changes every 5 seconds. The form is only close when i stop program. I am using console application in visual c++ 2008. Anybody could help me, how can i display data in form view when i use …

Member Avatar for nbaztec
0
160
Member Avatar for zango

So my coding is a temperature converter. I have gotten everything down the way that it is wanted by the assignment except for one part. When I run the program, put in a value and select the radio button for conversion, no output ever shows up. Was hoping that someone …

Member Avatar for zango
0
743
Member Avatar for kirtan_thakkar

I need a php code that will open and show a random text file(something.txt) in the webpage.I found so many scripts that open a random line in one textfile but i need a code in php that will open a random .txt format file in a specific folder to see …

Member Avatar for kirtan_thakkar
0
181
Member Avatar for pasido

Im an extreme newbie at VB and newbie to OO programming, and would like to make a basic text based RPG to start off (I made an RPG on my TI-84 calculator and would like to recreate it on VB) I don't know how to do these things: How do …

Member Avatar for pasido
0
167
Member Avatar for shithindas

where can i get good tutorials for Asp.net Using c#................ pls reply.......... thanks in advance.........

Member Avatar for Ramesh S
0
86
Member Avatar for aravchr

Hello please help with these, i want to pass a value in input box to another jsp page without submit button. can i doit cheers

Member Avatar for jwenting
0
92
Member Avatar for Uma_fb

Hi. I am new to PHP and would like to have the support from the members of this forum to learn PHP in depth. Here is my 1st question/post to this forum and expecting the solution from this forum. I want to read a MS Word doc file and even …

Member Avatar for prasadk123
0
1K
Member Avatar for jayreis

Hello, can anyone explain how Craigs List creates the anounomous email addresses like [email]gigs-844r7-1770905448@craigslist.org[/email] and how the server then knows who to forward that email to and how it gets forwarded too the persons real email address. thanks for any help

Member Avatar for jayreis
0
153
Member Avatar for rmsagar

Hello, I have a code which has public void run() and I have no problems compile the code. When I try to execute the class file I get an error Exception in thread "main" java.lang.NoSuchMethodError: main. Does the command line execution needs main() ? Is there a way to execute …

Member Avatar for JamesCherrill
0
217
Member Avatar for chanumaa

How to set local hosting in Dream weaver? and what software went for testing local hosting in Dream Weaver for php testing?

Member Avatar for vishalbaid
0
63
Member Avatar for phpangel

Hello guyz, in my website, i have links like: [url]http://localhost/index.php?Module=Search[/url] i want to hide the php extension and make it something like [url]http://localhost/ukh/Module/Search[/url] i that pssoble via .htaccess or any server commands Note: I'm using Apahce server thanx

Member Avatar for phpangel
0
105
Member Avatar for Wakesta

I want to create a basic Football manager game in Java, can someone suggest the best place to look for reference and guide help or has someone created one of these games or something similar that could share their experience.

Member Avatar for jwenting
0
76
Member Avatar for rexins

Hallo, I have to develop a SPIM/MIPS programm, which read an integer from the user and change this integer into binary system (like for example 00011000) My idea was this one, but it doesn't work: I think the problem is the space segment. maybe somebody see the problem and can …

Member Avatar for wildgoose
0
438
Member Avatar for pritesh2010

hello everyone i'm creating one Small D.j.software.in this i got three problem 1} how to mearge one .mp3 file with onther .mp3 file 2}how to drop .mp file directly to form's list box 3} how to save that merger .mp3 file. please help

0
100
Member Avatar for CFROG

I'm toying around with a script to allow users to search for other users based on certain criteria contained in their profiles. Anyhow, some of the attributes on the user profiles are things like what they are seeking like dating, someone to talk to, etc. I decided to serialize the …

Member Avatar for CFROG
0
67
Member Avatar for litchi

Hello :) I am working on a CRUD app to directly change a MySQL database on a remote server. I have a section where I can edit or delete entries. I choose an entry from a JList (populated by a ResultSet in a loop), and a JTextArea populates with the …

Member Avatar for litchi
0
164
Member Avatar for niths

Hi all, I am having a projectassign page,in that page i am having a dropdown box in which names of the projects are present.I am getting that project names from database. Below that list of users with checkbox are present. So i can select a project from dropdown and check …

Member Avatar for niths
0
139
Member Avatar for frag

Hello all. I'm currently studying computer science, and I need some insight concerning data structures. i'm asked to create the necessary data structure to hold the population and saving factor of all cities. CITY: Population: Saving factor: Nicosia 200 0.4 Limassol 120 0.6 Larnaka 65 0.7 Paphos 30 0.75 Paralimni …

Member Avatar for JohnSmith12
0
133
Member Avatar for vanitha vadivel

hi.......... I am a pre final year student .I am interested in database administration.i don't know how to define my area of interest. can you help me in choosing the field.

Member Avatar for JohnSmith12
0
54
Member Avatar for Brandon515

[CODE]#include <fstream> #include <string> using namespace std; typedef struct blook { char* name; int hour; char* day; char* month; char* year; char* alive; char* sick; char* pregnant; char* adult; char* elderly; char* child; char* water; char* meat; char* wood; char* seeds; char* vegtables; }info; info load(string name1) { info black; …

Member Avatar for jonsca
0
148
Member Avatar for json101

How to read a text file into PHP with set format? My text file: [QUOTE]user@example.com user1@example.com user2@example.com user3@example.com user4@example.com user5@example.com ...[/QUOTE] How do I add the text file to my PHP file like this: [B]'user@example.com', 'user1@example.com'[/B] [CODE]<?php function nl2br2($text){ return preg_replace("/\r\n|\n|\r/", "<br>", $text); } $str= file_get_contents("sheet5.txt"); echo nl2br2($str); ?>[/CODE] This …

Member Avatar for json101
0
1K
Member Avatar for pbcomput

hi... i know how to upload video...even i can upload video to specific folder...but my question is user are upload video of any formate.. and i want to convert that video into .flv after uploading... can any one tell me how to do this..?? i will be very thankful to …

Member Avatar for Tauseefuomian
0
160
Member Avatar for fizanos

[CODE]#---------------------------- # Table structure for litorder #---------------------------- CREATE TABLE `litorder` ( `id` int(10) NOT NULL auto_increment, `name` varchar(50) NOT NULL default '', `address` varchar(50) NOT NULL default '', `xdate` date NOT NULL default '0000-00-00', `ref` varchar(20) NOT NULL default '', `code1` varchar(50) NOT NULL default '', `code2` varchar(50) NOT NULL …

Member Avatar for tyson.crouch
0
188
Member Avatar for chaituu

I am trying to implement maintaining checkbox state across multiple pages in pagination.pagination is working fine.i havenot written that code here. I have written below sample code maintaining checkbox state across multiple pages.;when user clicks checkboxes it calls handleCheckbox funtion and the checkbox id and value will be stored in …

Member Avatar for chaituu
0
101
Member Avatar for ca_eric

hi: want to replace all elements with the number of its depth in the difference list in prolog. such as: ?- deepList([a, [b]], L). L = [0, [1]]. ?- deepList([a, [b, c, [d, e]], f], L). L = [0, [1, 1, [2, 2]], 0]. Thank!

Member Avatar for ca_eric
0
156
Member Avatar for WildBamaBoy

This is a section of a program I made that keeps track of some money I'm saving. :cool: When I enter how much I want to add it saves what I enter to a file and updates the current amount I have saved, also in the file. When I enter …

Member Avatar for WildBamaBoy
0
159
Member Avatar for iamchamith

Hi i am using c# as my language & sql server as my database .. My question is there is no key ward called [CODE]limit[/CODE] in sqlserver....how i solve this type of question... the example is ---> the sql server data table has 25 rows & i want to retrieve …

Member Avatar for iamchamith
0
139
Member Avatar for shayankhan

Hello guys ... can anyone help me or guide me if i am thinking wrong, can we copy character array into character array. like char names[250]; cin>>names; names=names+names; like we do with int a; cin>>a; a=a+a; can we do this with character array i want to store 7 names into …

Member Avatar for shayankhan
0
95
Member Avatar for Lordson60

So i am working on a game, and i have a string value, and 3 integer vales, that i would like to save, so when you close the program, and then re open it, if you type in the string value, you will have you integer values. How do i …

Member Avatar for jwenting
0
91
Member Avatar for lcfc12

I need to get this program to display the most expensive value and the most taxed value in text form from the names stored in the array. The following code works out everything apart from displaying the most expensive and most taxed items on the screen. This needs to be …

Member Avatar for daviddoria
0
103
Member Avatar for mohamed mo'men

there is Inheritance mean subtype polymorphism or there not have same job ??

Member Avatar for xonglennao
0
63
Member Avatar for vishal18

Hi Dear to All, I want create & write into excel file. My problem: when we get table as a query result on GUI. If user want to write that table into excel file,it should be done after button click. If we create it on server side then we may …

Member Avatar for xonglennao
0
116
Member Avatar for lich

i need to lock a label positions so that it wont move during a event. when there is a event happens that label is moving from that particular position. is there any solution for this

Member Avatar for xonglennao
0
413
Member Avatar for LloydFarrell

Hi all, I have been doing some reading into security with PHP session data and I have changed a few things around in my script - For example - I am now using $securecode=sha1(uniqid(rand())); as before I was using $securecode=md5(uniqid(rand())); As reading through daniweb has taught me that sha1 is …

Member Avatar for Zagga
0
531
Member Avatar for notdoppler

Hello Community i am using Linux (fedora) gcc compiler. Normally i use Java but for the Interprocess communication part we got C. My problem specifically is that when I read from a file with the fread() function and save it in a char buff[somesize] I cant use printf() to display …

Member Avatar for abhimanipal
0
286
Member Avatar for MarkJoel60

I am trying to find a way to create a transparent overlay that I can put anywhere on the screen, but that does not stop keystrokes and mouse events from passing through. If you have ever seen the program Camtasia, they do it... when you define a portion of the …

Member Avatar for MarkJoel60
0
2K
Member Avatar for lse123

I think my jar to work needs mail.jar plus the others class files what to do? subject:javax.mail.Message I used jar cmf SMTPClient.mf SMTPClient.jar SMTPClient.class SMTPClient$SendAction.class SMTPClient$UpdateListener.class [B]mail.jar [/B]SMTPClient.java but gives (how include another jar in my jar and keep package structure?) [CODE] C:\Users\User\Documents\TextBooksDataFiles\Java Network Programming, 3rd Edition\jnp3examples\examples\19&gt;jar cmf SMTPClient.mf SMTPClient.jar …

Member Avatar for lse123
0
241
Member Avatar for skybomb0

I am trying to create my own menu (and practice a little c#) and I am almost done. I have the menu and the context menu that will be shown created. I also have the context menu showing at the correct time. My problem comes when the menu disappears when …

Member Avatar for skybomb0
0
200
Member Avatar for umandajayo

hi friends I am developing a osCommerce website and I am strucking with displaying items. Ok Ill explain what my issue in my site ok I am using a sql query to display all the product in database. ok this is my query [CODE]$products_new_query_raw = "select * from " . …

Member Avatar for Virtualbase
0
77
Member Avatar for MalikAamir

MalikAamir! Plz help me i how can remove this error!!!!!!!!!!!!!! Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\libtest\index.php on line 110

Member Avatar for Virtualbase
0
106
Member Avatar for OS_dev

When you access a url that has several anchor tags on it. You know what I mean, links at the top that navigate to a specific point in that page by adding a "#name" at the end of the url. In every other browser, if you click on a few …

Member Avatar for Nappynick
0
149
Member Avatar for TrustyTony

I have been thinking about order operations and generalized * in Python recently. I want to share some of my thinking here, even the topic is quite theoretical, considering the beauty and orthogonality of the language. [B]Point one[/B] You can do comparison with tuples of numbers in Python [CODE]>>> (0,0)<(1,1)<(2,2) …

Member Avatar for TrustyTony
0
338
Member Avatar for Eng.muslima

I have a program code deal with a drug data in pharmacy ...the program is running without syntax error but I have a problem in search code ..it apply search on the first record only but didn't apply on other records..I have tomorrow an exam ..please help me..I'm sorry for …

Member Avatar for Eng.muslima
0
127
Member Avatar for cgage22

[CODE]string name; char gender; string address; cout << "Enter the name : "; getline(cin,name); cout << "Enter the gender (M/F) : "; cin >> gender; cout << "Enter the address : "; getline(cin,address);[/CODE] I don't understand why this skips the input action for the address.

Member Avatar for NathanOliver
0
122
Member Avatar for Tommymac501

I am trying to sort a file by a quick sort comparison. The problem lies in parsing the string and comparing fields. I use the following to break up a line: records = [line.split(spl) for line in file(filename)] and the following to sort: records.sort( lambda a,b: cmp(a[fieldNo],b[fieldNo]) ) This works …

Member Avatar for TrustyTony
0
94
Member Avatar for ryan461

I'm testing to get my python script to still run if the smtp server it uses went down. I have a local mail server im testing this with. The issue is when testing it, i get a large spew of text. It checks all its libraries and such, untill its …

Member Avatar for ryan461
0
381
Member Avatar for spartanace

Hi guys I need help getting an event from a button in one class, so that i can act upon it in my other class. Because the class that invokes the class that has the buttons in it is the outer class, it has no access to the buttons on …

Member Avatar for BestJewSinceJC
0
104
Member Avatar for DrApe1

Okay so I'm making a basic spellchecker. I'm using a relatively small dictionary with about 1000 of the most common english words, all on separate lines in a text file. I'm on windows so I can't use the Linux dictionary. Anyways, It's not working. And I'm not quite sure why. …

Member Avatar for DrApe1
0
123

The End.