132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kbjustin

While I am familiar java but i am basically new to creating a GUI using java. I need to make it so when a user clicks on a button another window pops up displaying various statistics about that product. The thing is the amount of information I need to display …

Software Development gui java
Member Avatar for BestJewSinceJC
0
148
Member Avatar for llemes4011

Hello! Today I started a SourceForge project for the game that I'm making, and I wanted to get input on the Map Builder/Editor. I DID include a readme file that has directions, contact info, and future features. [URL="https://sourceforge.net/projects/jiso/files/Map%20Editor/"]JISO Map Builder[/URL] Please give me feedback, this is a project that I …

Software Development java
Member Avatar for llemes4011
0
207
Member Avatar for kbarrett

I am extracting information from SQL and writing reports. This [I]should[/I] (I hate that word) be easy... but : All is fine as long as the formatted text fits on one page. However, if the report becomes more involved (more data in SQL) more than one page is required. I'm …

Software Development c c# c++ printer queue
Member Avatar for DdoubleD
0
5K
Member Avatar for akulkarni

i have subject advanced java programming in my syllabus i will be learning socket programming servelets, corba,AMI,java beans etc. I have heard about apachetomcat server.How do i get the required software from net.thanks

Software Development java socket-programming
Member Avatar for BestJewSinceJC
0
141
Member Avatar for Supa_mike

Hi, i have a group box with 2 radio buttons; failure and success. I need to have the text (either failure or success) saved in the access 2007 database instead of values (1 or 2). The same is also happening with the combo boxes. Here's the code am using: (i …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
113
Member Avatar for java dummy

I'm trying to get a calculation done in a loop but don't want it to print until after all loop are done. It will print but the calculation isn't done. Please help. import java.util.*; public class FlipCoin { public static void main(String[] args) { String choiceString; final String HEADS = …

Software Development java
Member Avatar for BestJewSinceJC
0
180
Member Avatar for jake43

I need help to write this program. Create a data file that contains 15 integers, some positive and some negative. You may create the file in Notepad or any other text editor software. Save the file to the same folder your program will be in. Write a program that reads …

Software Development c c# c++
Member Avatar for poncho4all
0
86
Member Avatar for jko2326

Please help, this is for an assignment I need to turn in and I'm STUCK! I have no idea how to do this I've done programs but none like this calling differnt functions. this is what is in the data file. 100 Hammer 10 20 10 200 Saw 24 00 …

Software Development c++ file-system
Member Avatar for poncho4all
0
421
Member Avatar for daviddoria

I have an abstract class NetworkTest and some derived classes PingTest, SMTPTest, and POP3Test. Each Test class overrides a Run() function and has it's own private member variables. I have a txt file for each type of test - ping.txt, pop3.txt, smtp.txt that defines the tests that should be run, …

Software Development oop vb.net
Member Avatar for daviddoria
0
68
Member Avatar for the great

Hello! I am having a problem in this program.In it a have to calculate the value of π from the infinite series π=4-4/3+4/5-4/7+4/9-4/11+..... by using this formula i have to print a table that shows the approximate value of π after each of the first 1,000 terms of this series. …

Software Development c++
Member Avatar for StuXYZ
0
278
Member Avatar for akulkarni

i have a code with me [code] import java.applet.*; import java.awt.*; /*<applet code="DialogTester" width=400 height=400></applet>*/ public class DialogTester extends Applet { public void init() { Container container=this.getParent();//this ;why not create object of the class and call the function while(!(container instanceof Frame)) { container=container.getParent(); } Frame parent=(Frame)container; Dialog myDialog=new Dialog(parent,false); myDialog.setLocation(320,240); …

Software Development java
Member Avatar for VernonDozier
0
116
Member Avatar for ryancfc

Hi all, I am having trouble in finding out how to point to a private member variable. E.g. : [CODE] #include <iostream> using namespace std; class Angry_Dude { private: int health; int attack; } [/CODE] I want to point to the address of health. I know about the homework policy, …

Software Development c++
Member Avatar for VernonDozier
0
94
Member Avatar for goody11

Hey, I was working on a program that would ask you a question and you had to put an answer. Well, when I went to compare the answer the user inputs with the right answer, it always comes up wrong and I was wondering if I did these lines of …

Software Development c++
Member Avatar for goody11
0
146
Member Avatar for senzacionale

Hi, i parse 3 html sites and one is in utf-8 encoding, one in iso-859-1 and one in win-1250. This one in utf-8 wors fine when i parse it, also čćšđž works, but other two doesn't work. čćžđšš is corrupted and ? is shown. Can you help me how to …

Software Development html-css
Member Avatar for senzacionale
0
103
Member Avatar for foosion

Does the documentation mean what it says? The 3.1 library reference says quopri.encodestring takes a string, but feeding it a string results in an error. [QUOTE]quopri.encodestring(s[, quotetabs]) Like encode(), except that it accepts a source string and returns the corresponding encoded string. [/QUOTE] However, feeding this a str results in …

Software Development python
Member Avatar for foosion
0
374
Member Avatar for tipdeep

Hi all, I'm trying to get the megavideo url from this page : [URL="http://www.alloshowtv.com/series/view_s.php?idep=70188&cat=S&id=168"]http://www.alloshowtv.com/series/view_s.php?idep=70188&cat=S&id=168[/URL] In my browser, the link is called "Voir cette vidéo sur MegaVideo" (in french) The problem is thta the link doesn't appear in the HTML source (when i use a httpwebrequest) There's a element called iframe …

Software Development
Member Avatar for tipdeep
0
148
Member Avatar for esesili

Hi all, I want the program below to calculate the doctor fee. I am doing it to learn class and inheritance concept. "[B]patient1.output(cout);[/B]" works correctly it gets [B]doctor_hour_fee[/B] from [B]doct1[/B] object. The problem is at [B]patient2.output(cout);[/B]. When I enter patient information it asks me to enter all member variables of …

Software Development c++
Member Avatar for Sky Diploma
0
122
Member Avatar for the great

Hello! I am having a problem with my program.I have to write a program that find all pythagorean triples for side1, side2 and hypotenuse all no longer than 500. I have to use a triple-nested for loop that tries all posibilities. I know that the sum of squares to two …

Software Development c++
Member Avatar for Salem
0
885
Member Avatar for miesnerd

Hey- I'm pretty new to python, and have a relatively simple task but I dont know the specifics about how to complete this task. I work in a research lab and part of the lab I'm not usually associated with uses a program that outputs data in a .txt file …

Software Development python
Member Avatar for Mathhax0r
0
245
Member Avatar for manutd4life

hello press save, i got and error and said ExecuteNonQuery: Connection property has not been initialized. Here's the code: [code=vb.net]Private Sub cmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSave.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Sales values('" & txtSalesId.Text & "','" & …

Software Development vb.net
Member Avatar for manutd4life
0
109
Member Avatar for fred2

[COLOR="Red"]hi everyone im doin a java application that should show the records in tha database on a jtable the code so far is this:[/COLOR] [code] /** * @(#)table.java * * table application * * @author * @version 1.00 2009/8/14 */ /* * SimpleTableDemo.java is a 1.4 application that requires no …

Software Development gui java java-swing
Member Avatar for fred2
0
153
Member Avatar for kindnumbernine

Hello. I was wondering if someone here could tell me what is needed to call a win32 function from NASM. I thought I could declare MessageBox for example with EXTERN and then use LINK to link my object module with user32.lib (from visual studio) but I get "unresolved symbol MessageBox" …

Software Development assembly visual-studio
Member Avatar for kindnumbernine
0
497
Member Avatar for the great

Hello! I am having a problem with my program.I have to write a program that uses repitition and switch statements to print the song "The Twelve Days of Christmas." One switch statement should be used to print the days (i.e "First","Second" etc). A separate switch statement should be used to …

Software Development c++
Member Avatar for the great
0
1K
Member Avatar for foosion

The following fails with an error message about not being able to encode the euro char. It works fine without the €. I have the feeling I'm missing something simple here, but can't figure it out. A fix would be appreciated. I'd like to use this in 2.5.4 and 3.1 …

Software Development python
Member Avatar for foosion
0
374
Member Avatar for Nogat21

I'm having a bit o a problem with inheritance. The context is this assignment i have in which we have to read from an mp3 file, extacting the informations within it as well as provide other informations not explicitly contained in it (for instance the total audio time of the …

Software Development audio c++ file-stream ios
Member Avatar for Nogat21
0
203
Member Avatar for vwyodapink

Last week for class I wrote the program below. This week part of our assignments are to the program take this program and modify it so the user can display the grade for as many students as they choose. What I am not understanding is, is it asking to be …

Software Development c++
Member Avatar for VernonDozier
0
513
Member Avatar for avirag

well can u tell me one more thing related to this.. let i made a list box on a form containig some text.. now when i click on save and print in menu strip n tool strip, so the data related to listbox will automatically save n print..... and also …

Software Development
Member Avatar for ddanbe
0
537
Member Avatar for Yee

OKay... I have a newbie question. [code=c++]#include <stdio.h> class Test{ public: Test(int x); }; int Test::Test(int x=0){ } int main(){ Test test(1); printf("%d", test.x); } [/code] My question is how to make the x variable of the constructor public. I have tried to add : [code=c++] public: int x = …

Software Development c++
Member Avatar for mrnutty
0
106
Member Avatar for Smoking Bros

Hello everyone! The title is actually most of my compiler output! This is my entire compiler output: [CODE] multiple definition of `game' first defined here ld returned 1 exit status C:\Documents and Settings\Benjamin Dahse\Skrivebord\SDL 2D Platform Game\Makefile.win [Build Error] ["2D] Error 1 [/CODE] And now this is all of my …

Software Development c++
Member Avatar for Salem
0
245
Member Avatar for daviddoria

I have a superclass NetworkTest and 3 derived classes PingTest, Pop3Test, SMTPTest. I want to create a big list of all the tests, like this: [code] Dim Tests As New List(Of NetworkTest) Dim PingTests As List(Of PingTest) = ReadPingTestsFromFile(PingFile) Tests.AddRange(PingTests) Dim Pop3TestResults As List(Of Pop3Test) = ReadPOP3TestsFromFile(POP3File) Tests.AddRange(Pop3TestResults) Dim SMPTTests …

Software Development vb.net
Member Avatar for daviddoria
0
126
Member Avatar for Rakyu

At the moment I am currently working on a program (for school) that saves and reads CD album information from a file (pre-made). The information that can be saved (and read) is the album title, the artist, the recording group, the genre, the date purchased (in the DD/MM/YYYY format) and …

Software Development file-system visual-basic
Member Avatar for Rakyu
0
104
Member Avatar for neppy

[QUOTE=nunos;949210]Hi I would like to know if there is any way to obtain a float result from a division between two integers other than using "from __future__ import division"? I am not looking for the .0 'trick'. Example 4/5.0 = 0.8. I want to be able to do 4/5 = …

Software Development c++
Member Avatar for neha arora
0
106
Member Avatar for jakx12

Can you program an os in java with a kernel and bootloader written in assembly or c++ or something?

Software Development assembly
Member Avatar for NotNull
0
167
Member Avatar for nkarvi

Hi everyone! I have an application in C#, that at some point calls a [code=c#] Microsoft.Office.Interop.Word._Application [/code] Problem is that when that point is reached, it takes ages to load the word app. I thought of creating a thread at the beginning of the program, so that the word app …

Software Development microsoft-access microsoft-office
Member Avatar for kha0s
0
103
Member Avatar for kaio-ken

[code=c] #include<stdio.h> #include<conio.h> typedef struct { int rno; char name[10]; float marks; }stu; stu stu3; void getf(stu * stutmp); void show(stu * stutmp); void main() { clrscr(); getf(&stu3); show(&stu3); getch(); } void getf(stu *stutmp) { scanf(" %d",&stutmp->rno); printf("%d\n",stutmp->rno); scanf(" %s",stutmp->name); printf("%s\n",stutmp->name); scanf(" %f",&stutmp->marks); printf("%f\n",stutmp->marks); getch(); } void show(stu * stutmp) …

Software Development c
Member Avatar for kaio-ken
0
535
Member Avatar for jdfskitz

I have been trying to learn java for a while but i cannot find out where to start can someone please help me?? I am Trying to learn as fast as possible . I have hosted a world of warcraft private server... Learned some div, css and html and i …

Software Development audio html-css java
Member Avatar for peter_budo
0
125
Member Avatar for cougarclaws

Is there an easier way to understand what this is doing step by step? I get very confused here, and I wonder if any of you fine people have a trick for breaking this down. I really want to get this, and understand the pattern, but what happens in the …

Software Development c++
Member Avatar for cougarclaws
0
111
Member Avatar for blah32

Hello, I am not getting this sorting in python 3 with a key. If I don't use the key I get: [CODE] sorted_ent_list = entry_list.sort() TypeError: unorderable types: entry_T() < entry_T() [/CODE] If I do use a member function to return private variable from entry_T class, then it says [CODE] …

Software Development python
Member Avatar for Gribouillis
0
127
Member Avatar for pepemiso

please help me how to use the printform in vb.net 2008 i need it for my project please help me. thanks

Software Development vb.net
Member Avatar for kvprajapati
0
241
Member Avatar for nejoj

We are going to create a compiler like program where when we inputed character or multicharacter it will retrieve to the database the equivalent symbol of that character and place it to another textbox.. Example input: (1sttextbox) Line1: main() Line2: { the output is: (2nd textbox) Line1: WordSymbol, SpecialSymbol,ProgramParameter, OpenParenthesis, …

Software Development vb.net
Member Avatar for babbu
0
108
Member Avatar for prodigyaj

Hello all, This is my first post in thins forum and I hope a newbie like me makes some sense with my questions. I have a floating value float f = 5.3606; and I output a value cout<<pow(f,n); when n goes above 6, the representation of the floating number changes …

Software Development c++
Member Avatar for vmanes
0
124
Member Avatar for ashish2234

i am new to swings and i don't properly know where and how to use drawString in swings !! please help!! import java.awt.Graphics; import java.awt.*; import java.awt.Graphics2D; public class Main extends javax.swing.JFrame implements Runnable { String m1="hello"; Thread t =null; boolean flag; /** Creates new form NewJFrame */ public Main() …

Software Development java java-swing
Member Avatar for VernonDozier
0
106
Member Avatar for Questions???

Hello, I have a question about array lists, specifically how to pass array lists to a method. Then once in the method how to do simple algorithms. My example is I have three array lists, two of which have static double numbers and the third who's numbers are the end …

Software Development algorithm java
Member Avatar for Questions???
0
77
Member Avatar for Nathan Campos

Hello, I'm a Java developer, but only for curiosity i want to learn Assembly, someone can post some good resources to begin. Thanks, Nathan Paulino Campos

Software Development assembly
Member Avatar for Nathan Campos
0
89
Member Avatar for dzhugashvili

hey, I am writing a password cracker. But I now have been thinking about separating the word generator from the actual encrypt and check function (for the sake of flexibility and convenience). I noticed John the Ripper does some operations like this. I was thinking something like this: [CODE]wordgen --stdout …

Software Development c++
Member Avatar for dzhugashvili
0
323
Member Avatar for applefat

I realize that Java doesn't literally allow you to pass functions as arguments. And I've seen threads that address this topic with regular members, but I can't seem to adapt it for static methods. I have two classes that act kind of like two different "datasources" (A and B). They …

Software Development java
Member Avatar for applefat
0
2K
Member Avatar for smoore

Okay so I posted my [URL="http://www.daniweb.com/forums/post936498.html#post936498"]first large project[/URL]a few weeks ago (2 or 3 i think) and now I finished another one! It is smaller then the 1st (about half the size) but still pretty cool I think. Anyway. It is called uCount and it is something I put together …

Software Development daniweb-feedback java
Member Avatar for VernonDozier
0
96
Member Avatar for hardya

I recenty had a telephone interview in which I was asked about the internal implementation of the virtual mechanism. I described roughly that a table is compiled with the class (at the top of the memory block?) which holds pointers to the addresses of the appropriate method implementation according to …

Software Development c++
Member Avatar for Frederick2
0
110
Member Avatar for adel_elrefaey

why he put this symble ( p-> ) before each variable? what is it means [code=cplusplus] p->fx[0] = (-p->x[0]*p->x[0]+p->x[1]); //-x1*x1+x2 /*function 2*/ p->fx[1] = (p->x[0]/(double)2.0 + p->x[1] + 1); for (i=0; i<NumFun; i++) if (MINMAX[i]==0) //minimiza p->fx[i]=-1*p->fx[i]; evaluaciones++; } /*Put here the contraints*/ void restricciones(individuo *p) { p->factible=1; //first constraint …

Software Development c++
Member Avatar for tux4life
0
134
Member Avatar for neppy

need help 1. Which of the following options is a correct C++ instruction to calculate the number of containers filled with milk that can be sold? 1. nrContainers = totalLitres - litresLeftOver; 2. nrContainers /= 5; 3. nrContainers = totalLitres / 5; 4. nrContainers = totalLitres % 5; 5. nrContainers …

Software Development c c# c++
Member Avatar for neppy
0
264

The End.