199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jacline

I wrote a code about circle starts to grow followed by finner circles, with each new one disappearing earlier while growing but in my code it is only growing how can I disappear the early one?? I didnt put the main method only classes [code] import java.util.ArrayList; import javax.swing.*; import …

Member Avatar for Ezzaral
0
176
Member Avatar for JoeJonnyBoy75

Hello all, I'm currently trying to setup a SQL View that's going to be used to pull info from a table and output it onto a label... Long story short the only piece I need help with is having the SQL view remove leading zeros from one column called "Reference". …

Member Avatar for JoeJonnyBoy75
0
105
Member Avatar for cam875

I have been reading about public key encryption for the past day or2 and got thinking about something, and am hoping someone here can offer some insight. anyways here it goes Since public key encryption is based off of the person sending the info being able to get the other …

Member Avatar for cam875
0
104
Member Avatar for brizwhiz

My program compiles without any errors, however, when I go to run it all I get is a message saying "Welcome to the Payroll Program". From there it does not print anything else nor allows me to enter any information. If someone could please take a look at my program …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for songweaver

Hey guys I was wondering if you could provide some help, It is pretty complex for a person who is just starting loops. I have included the problem as well as the code I have below. Please help me, I know their is something wrong with my [B]for[/B] loop as …

Member Avatar for songweaver
0
196
Member Avatar for Crago3

Hi I am having a problem in the sixth edition on starting out with C++ programming. I need the full code of how to do it cause I am getting errors and dont know what I am doing. The question ask.Write a funtion named coinToss that simulates the tossing of …

Member Avatar for Narue
0
459
Member Avatar for cbreeze

Ok so this is what I am trying to do but seem to have a problem with my input loop because it keeps reading in only the first set of student data. I am also unsure where to put the cin.ignore because my getline function is not working. Please fogive …

Member Avatar for cbreeze
0
112
Member Avatar for Malestryx

Good afternoon, I am currently working on a payroll program for school. I have a question. Here is my code. [ICODE] #Mainline def employee(): global eName global pRate global hWork def Lowest(hoursList): PAYList.sort() lowestPay = hoursList[0] return lowestPay def Highest(hoursList): hoursList.sort() highestPay=hoursList[len(hoursList)-1] return highestPay def Average(hoursList): total=0 for hour in …

Member Avatar for Malestryx
0
167
Member Avatar for kalyanfortius

Create a list of lists to store 3by3 matrix data like 3 5 6 7 8 30 9 6 20 Write a program which consumes this list and returns the list which has the transposed data like 3 7 9 5 8 6 6 30 20 pls help

Member Avatar for tomtetlaw
0
69
Member Avatar for adamsn

Greetings Please help. I developed a programme in vb6. It refuses to open on Vista. I do not experience any problems with XP. Thank you

Member Avatar for hkdani
0
92
Member Avatar for vict0rjr

/** * This method will ask the user for some information, create a blank picture to use as a palette and create and display the palette. */ 186 public static void main(String[] args) { 187 int redValue; 188 Scanner sc = new Scanner(System.in); 189 System.out.print("Enter a Red value: "); 190 …

Member Avatar for vict0rjr
0
142
Member Avatar for petike

Hi all, I am working on the "Pacman" game and I want to use the "double buffering" technique for animation. By now, I have used this code: [CODE=Java] class GamePanel extends JPanel { public void paint(Graphics g) { // Do some drawing here... } } [/CODE] and there was by …

Member Avatar for Ezzaral
0
274
Member Avatar for sid78669

attached is a screenshot of what my table already has for the URL micorosft.com. The column headings are the same as column names. Now, if I do the following statement: [CODE=MYSQL]select * from assign2 where UPPER(keyword1) LIKE '%MICROSOFT%';[/CODE] OR [CODE=MYSQL] select * from assign2 where keyword1 LIKE '%microsoft%'; [/CODE] I …

Member Avatar for sid78669
0
97
Member Avatar for Acedia

I'm bored, if there's any socket programming that someone needs post a comment, and I'll see what i can come up with. :)

Member Avatar for Acedia
0
95
Member Avatar for dhr

Hi, I am attempting to write a query to return whether or not a particular items value entered is the lowest value and also unique. For example, if an item as 6 values against it e.g. user_id item_id value 1 101 3 2 101 3 2 101 4 3 101 …

Member Avatar for dhr
0
129
Member Avatar for 123james456

Can you compare strings with if, or do you have to use something else? Can you compare strings at all? Im attempting to write a console program just for fun. Eventually I want it to be able to move around files and such but im not even close to that …

Member Avatar for 123james456
0
104
Member Avatar for Arumugams

Hi, I have a simple code which works well in I.E ,but it is not working in mozilla firefox 3.0..Why is it so. the code is as follows: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax - PHP example</title> </head> …

Member Avatar for essential
0
122
Member Avatar for atreides27

"Define a class Student that has as its members the student_name and a student_idnumber both of type string. Input from the keyboard the number of students in the database, then create a dynamic array of type Student and input the information for each student. Once you populate the database (stored …

Member Avatar for jbennet
0
268
Member Avatar for u8sand

Hello everyone, i have not posted here in a while. But i have a question about a string class I'm creating. Every time i make a string class this always happens, and i cannot figure out why. Maybe its something i didn't include or something i have to add. But …

Member Avatar for tux4life
0
124
Member Avatar for JooClops

Hi, I'm new in this forum :D I've started learning C# @ school 1 year ago , and i love it,and it's going very well, now We had 2 lessons of Windows applications in C#, and to be honest i find it much harder than console application. now we have …

Member Avatar for JooClops
0
406
Member Avatar for endisbegun

so i have some code that ive been working on, and dare i say, understanding, involving linked lists, only i've hit a wall I need to add a new structure, called date, so that a day, month, and year, are associated with every node, for rolls, jam, and tea, and …

Member Avatar for endisbegun
0
128
Member Avatar for raul15791

Hi, If i need to use many same components in a window form (let say 20 picture boxes or 20 text boxes), which of the method below is more efficient?? 1. Drag and drop the component 20 times. Configure their properties one by one. 2. Declare array of that component …

Member Avatar for raul15791
0
310
Member Avatar for ganmo

Hi, I wonder if it's possible to check whether a MySQL DB has updated. e.g. new information is added to a table? and if it detect an update. it will perform search or something else. Main question is if it is possible to listen for changes in the db.

Member Avatar for masijade
0
113
Member Avatar for LeMa50

Well, I'm new here but you can halp me also. I have pretty big problem. I need to store large text (more than 8000 charaters) in variable inside of procedure and then execute that query with EXEC command. Problem is that varchar supports up to 8000 characters and text and …

Member Avatar for dickersonka
0
184
Member Avatar for externalaw

Hi, I am Mike and run a small law student site, recently I was donated a dictionary and have a glossary system installed on my forum. I am pretty bad with scripting but hope someone can help me along, What I want is to put the dictionary written like this, …

Member Avatar for externalaw
0
144
Member Avatar for cwarn23

Hi, I have a website full of code snippets at [URL="http://syntax.cwarn23.info/PHP:_Contents"]http://syntax.cwarn23.info/PHP:_Contents[/URL] but I need some ideas of small scripts that I can make for the example list. So there are some examples of what I have done at that link but I don't want the examples to be too complex. …

Member Avatar for cwarn23
0
80
Member Avatar for jazdmarkets

What is the FTP server? Please tell me the key of the Renames a file or directory on the FTP server, Changes the current directory to the parent directory on the FTP server?

Member Avatar for tux4life
0
90
Member Avatar for Andy_nexus

Hey guys, i'm fairly new to ajax, and today discovered that javascript files won't fire within an ajax loader. my problem: i've built a web application using a mixture of javascript, ajax, and html. however this is designed to go on a page that already takes a little time to …

Member Avatar for ejosiah
0
126
Member Avatar for dollycharm

I need some help with avg... I am attached files for xml --- I am struggling.... the question i have is : 1. What is the average speed of all the dinosaurs? A. <xsl:value-of select="format-number((sum(dinosaurs/*/speed[@units='mph'])div count(dinosaurs/*/speed[@units='mph']))"/>ft it does not work... or B. <xsl:value-of select="sum(//speed) div count(//speed)" /> or C.9. <xsl:value-of …

Member Avatar for xml_looser
0
331
Member Avatar for srilakshmitr7

How to get Ip address and MAC address of system for an IP address i tried this code [icode]echo $ip=GetHostByName($REMOTE_ADDR);[/icode] But after uploading through FTP i'm getting Server ip But i want local system IP can any one solve problem.

Member Avatar for srilakshmitr7
0
133
Member Avatar for bamboebahr

Hello everyone, i'm an IT student (first year) and i've received a task to make a website for my school (fictional ofcourse). Now i have an idea on how to make it,but after asking my teacher, he said i cant use iFrames but have to use AJAX instead. The code …

Member Avatar for bamboebahr
0
100
Member Avatar for cutieams

i am new to php..can anyone help me with the basics of PHP. i mean after installing php,how do i save my first PHP file. i mean saving that file as .php i know ..but in which folder should i save it and after saving how do i run myprogram. …

Member Avatar for cwarn23
0
115
Member Avatar for maha2804

I have created an application. It is a little bit heavy application and i hv tried to minimize the number of functionalities in OnPaint() methods of the various forms. But still my application takes time to repaint the view after it is restored from minimized state. Is there any method …

Member Avatar for maha2804
0
86
Member Avatar for abhi_elementx

hi all. I want to ch ange my jframe's icon(cup of coffee). i chkd the forum but that's what i m doing... here's my code: [CODE]public static void main(String args[]) { java.awt.EventQueue.invokeLater(new Runnable() { public void run() { AppStarter dialog = new AppStarter(new javax.swing.JFrame(), true); dialog.setLocationRelativeTo(null); dialog.addWindowListener(new java.awt.event.WindowAdapter() { public …

Member Avatar for abhi_elementx
0
194
Member Avatar for cygnusX

I want to add LinkLabel-s at the end of the text in RichTextBox control.I do that with this code: int index = richTextBox1.Text.Length; Point position = richTextBox1.GetPositionFromCharIndex(index); LinkLabel label = new LinkLabel(); label.Text = "whatever"; label.AutoSize = false; label.Location = position; label.LinkBehavior = LinkBehavior.NeverUnderline; richTextBox1.Controls.Add(label); The problem here is that …

Member Avatar for dotmon
0
870
Member Avatar for nschessnerd

I need a nonblocking socket so in an older version of the program i made a new thread to do this. and now that ive migrated into visual c++ it crashes with no explination... yea im really aggravated... can anyone tell me why this crashes? [code] #include <iostream> #include <winsock.h> …

Member Avatar for nschessnerd
0
97
Member Avatar for christiangirl

Hello, this code is throwing and IOException and FileNotFoundException and I am having trouble figuring out why. Where exactly does the song need to go in order for the program to pick it up? Also, is this code for putting the song in the program correct? Thanks! [code] //Hangman a …

Member Avatar for christiangirl
0
138
Member Avatar for sfrider0

I have been working on this for a few days now. I'm just trying to make a deep copy of a template linked list. I have successfully copied the list, but when I enter a new item to the new list, it also adds it to the original list. I'm …

Member Avatar for jencas
0
121
Member Avatar for maximilian2006

I couldwrite a customize JButton in java What I mean by a customize JButton is that I overridden some of it's methods, such as paintBorder, paintComponent. I could write a round,triangle or any other shaped JButton. I wonder how to write a different shaped JFrame, such as round or triangle …

Member Avatar for JamesCherrill
0
122
Member Avatar for rm_daniweb

You can include cc: and bcc: [ICODE] //filename: html_mailer.php class htmlMailer { function sendWelcomeHTMLMail($email, $age, $sex){ $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">\r\n"; //define constants $headers .= 'Bcc: [email]email1@msn.com[/email], [email]email2@yahoo.com[/email], [email]email3@aol.com[/email]' . "\r\n"; $subject = "Welcome!"; $message = <<<EOT …

Member Avatar for rm_daniweb
0
261
Member Avatar for Teropod

Hi all! I have one problem when i try to open exe with shell function it works fine but how can i open XY file using program who is designed to open that file. For example i have picture in mad in corel draw and i want tu open that …

Member Avatar for cguan_77
0
108
Member Avatar for sweet cLassy

While Not EOF(hfile) Line Input #hfile, buffer [COLOR="Red"] Data() = Split(buffer, ",") [/COLOR] i = i + 1 With fghStudentInfo .TextMatrix(i, 1) = Data(0) End With Wend i'm new to VB. can someone help me to understand the command? i want to load the data from .csv to my vb …

Member Avatar for sweet cLassy
0
145
Member Avatar for abhi_elementx

Hello guys. I am doing a swing application wherein I m using a DefaultTableModel. Here's my code: [CODE] DefaultTableModel tab = new DefaultTableModel(){ @Override public boolean isCellEditable(int r, int c){ //if(c == 10) {return true;} return false; } }; private JTable jt = new JTable(tab); [/CODE] The JTable will diplay …

Member Avatar for abhi_elementx
0
112
Member Avatar for massivefermion

Hi I have 4 questions 1-Is it right that when you learn assembly you learn machine language,too?How? 2-What makes a programming language feature OS dependent? 3-Does Assembly have OS dependent feature?what about HLA? 4-How can i write an OS independent program(bootable programs)? thanks alot

Member Avatar for BestJewSinceJC
0
122
Member Avatar for mdmarcial

[/COLOR][/I]Hi all! I'm quite new with databases. Need some help on the case study below for my assignment: [COLOR="Green"]ABC is a successful business providing design and drafting services to the local construction industry. With rapid growth over recent years, owner Tony Daley can no longer track active projects in his …

Member Avatar for darkagn
0
148
Member Avatar for Upsilon

Hi guys, Just a question I think many people like myself would like to know the answer to. I have been using the Graphics2D class and it works great, however now I want to do some 3D things. I would like to know how to place ellipsoids in 3D space, …

Member Avatar for BestJewSinceJC
0
288
Member Avatar for AlSal

I am having problems getting my procedure to read characters recursively to terminate. Can somebody help me here, I am not suppose to use arrays or lists. I have the following procedure: [code=language] void recursive() { char c; cin>>c; cout<<c; recursive(); return; } [/code] I also need to print the …

Member Avatar for AlSal
0
82
Member Avatar for superjacent

I dabbled in Ruby quite a while ago but only at the console level. I didn't take it any further at the time. I'm now considering treating it more seriously this time, though I'd have to start from the start. My understanding is that Ruby is a cross-platform development language. …

Member Avatar for fraogongi
0
167
Member Avatar for VernonDozier

I am trying to learn GridBagLayout. I've gotten the hang of it in many respects, but I am having serious problems when the first row has element(s) with a gridwidth greater than 1 or the first column has elements(s) with a gridheight greater than 1. I'm trying to make a …

Member Avatar for VernonDozier
0
405
Member Avatar for ericlwj

Greetings to all, I am a Computing Science Student and am currently undertaking a final year project. I have done some research on RFID and WAP, but were unable to find a clear answer to the differences between the Radio Wave of RFID standard and WIFI. I wanted to do …

Member Avatar for thoughtcoder
0
862

The End.