132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bharath54321

Is there any chance to create a report using swings which is similar to crystal report in .net......... Pls help me if it is available

Software Development java
Member Avatar for peter_budo
0
75
Member Avatar for Acklox

How about a list suggestions of a beginning to a end of projects for instance: Start at HelloWorld document found at Sun.java.* to learn how to setup Java then try this project ...... to learn basic foundation of syntax then try this project ...... to learn basic classes then try …

Software Development java
Member Avatar for peter_budo
0
119
Member Avatar for standa333

Hi, i need help with xsl document. I want to create xsl document, where header of invoice will be join items of invoice. In my document is separated and i donĀ“t know how to do it. For example, i want that number of proof has items and then continue with …

Software Development xml
Member Avatar for standa333
0
123
Member Avatar for b56r1

#include<stdio.h> main() { int a=10; printf("%d %d %d\n",a=10,a=20,a=30); } o/p: 10 10 10. Here, the latest value is updated and printed as the expression statements separated by commas in funtions are evaluted from right to left. But, in below program by using global variable or static variable why the updated …

Software Development c
Member Avatar for pheininger
0
111
Member Avatar for livingsword

hi, im a beginner. i hav an assignment on Pascal's triangle. i saw some post over the topic but couldnt get it to work with my code. heres what i have done so far.... [code=c] #include<stdio.h> #include<conio.h> void main() { int a[10][10]; int i,j,c,n; clrscr(); printf("Enter how many lines do …

Software Development c first-post pascal
Member Avatar for vipinkumar512
0
746
Member Avatar for Amillia89

hye...I'm having a problem to retrieve data from Jcombo Box... the combo box have a list from A-Z..for example when the user pick 'A' from the list,it will get all the A% data from MySQL this is the code that i have right now.[CODE]JButton Edit = new JButton ("EDIT SYNONYM"); …

Software Development java mysql
Member Avatar for Amillia89
0
201
Member Avatar for Ole Raptor

Hello, I am having an issue with my legacy app saving files to Windows 7 machines. My first thought was that I would just run the program as administrator but that helped none. I have attempted saving this image to the temp folder and to appdata but neither seems to …

Software Development visual-basic
Member Avatar for AndreRet
0
160
Member Avatar for Usmaan

Pardon me for not having an appropriate title. I'm making a program which seems to be working so far - but, I've stumbled on a bit of a tricky dead end. Basically, If I have a string or char variable, say: [CODE]string input = "H";[/CODE] And I have another string …

Software Development
Member Avatar for Momerath
0
97
Member Avatar for valter

Hi, I am trying to combine two arrays to a multidim one. I have two int arrays stat[] and indexes[]. So the first looks like this 34,56,78,etc holding hundreds of numbers. The second looks like this 0,1,2,3,4,5 etc. I want to end with a multidim array like this 34,0 56,1 …

Software Development
Member Avatar for Momerath
0
2K
Member Avatar for ccaatty

Basically, I have a panel containing a bunch of buttons. I'm trying to add some keylisteners to the buttons and/or the panel so that when I type the corresponding keys on the keyboard, the buttons will be clicked. Any idea how to to do this? Thanks,

Software Development java
Member Avatar for mKorbel
0
2K
Member Avatar for theUserMan

As title says Just trying to read in values and store them in an array Then call print function to print them out As of now the program works, but only prints out the last value entered and the other outputs are 0's here is the code... %include "asm_io.asm" segment …

Software Development assembly
Member Avatar for jdelgado08
0
4K
Member Avatar for honey61399

I am new in vb.net please help. [CODE]Public Class Form1 Private Sub RichTextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles RichTextBox1.KeyPress RichTextBox1.Text = " Not available " RichTextBox1.Select(RichTextBox1.Text.Length, 0) End Sub End Class[/CODE] I want this code to pass not available like" Not available Not available Not available " …

Software Development vb.net
Member Avatar for Pgmer
0
192
Member Avatar for reanopp

I know this sounds like a common topic, but hear me out :) I'd like to make my application a trial version. I don't have any problems with *how* to do it (disabling certain application features after set number of days, etc), but rather how to do it as foolproof …

Software Development
Member Avatar for Momerath
0
255
Member Avatar for jamseyjames

so i am trying to write a code that takes is a function for defining Amino Acids. This function takes in a sequence and translates it into mRNA (DNA= ATCGATCG, mRNA= AUCGAUCG) i have no problem with this. The one problem I am having seems like the simplest part of …

Software Development python
Member Avatar for Gribouillis
0
108
Member Avatar for rjbrjb777

hello all, following is the code that fetches required columns from r.csv and makes a new file. now i want to ignore first line of r.csv while fetching defined column . what should be done? [CODE] #include <stdio.h> #include <stdlib.h> int main() { FILE *in, *out; char ch; char *rdf,*wdf; …

Software Development c file-system
Member Avatar for rjbrjb777
0
2K
Member Avatar for rjbrjb777

hello, what book will you suggest me to read if i want to learn gui using c language.?

Software Development c gui
Member Avatar for rjbrjb777
0
96
Member Avatar for DoctorGiraffe

Hello! Can anyone give me a tip on a fairly good serial code system for my software, i obviously don't want to store the codes in the software(unless that's what you ussualy do) I want to be able to hand out a certain serial code and when they enter it …

Software Development vb.net
Member Avatar for ghimangi
0
185
Member Avatar for gl7

hey, kind of new to c++ started working with functions and am trying to write program using them trying to make hangman game using functions, with my following code i am getting this error message [linked error] undefined reference to 'askGuess()' id returned 1 exit status [build error] [ number5.exe] …

Software Development algorithm c++ linked-list
Member Avatar for gl7
0
148
Member Avatar for dspjm

the same as tiltle. is that exit() just end the function and abort() end the program?

Software Development c++
Member Avatar for dspjm
0
1K
Member Avatar for leiger

Hey everyone, Usually when I create a Java application I will use the built-in Preferences class to save user preferences. I believe this saves user information to the registry on Windows, and to other locations on Linux / Mac OS X. When I need to store a serialised object, I'm …

Software Development os-x session xml
Member Avatar for leiger
0
187
Member Avatar for WildBamaBoy

Just as the title says, how can I detect double clicking in a ListView? I'm trying to emulate browsing through a directory with windows explorer.

Software Development listview
Member Avatar for WildBamaBoy
0
109
Member Avatar for ana_1234

Hello, I am working on an assignment and I am so stuck and I have no clue how to get out. We are giving a maze and we are to find start and finish of the maze. The code is interpreted as giving the "walls" of the cell by looking …

Software Development c++
Member Avatar for ana_1234
0
597
Member Avatar for yamiyuka

I am working on a text based game for my class. Its not required, but I want to have a health system. I'm trying global health, but I keep getting an error. I want to make it so you have a base health of 100. After the battle it will …

Software Development python
Member Avatar for yamiyuka
0
598
Member Avatar for babbu

Hi, I am using vs 05 and access 07. I would like to export the data in the datagrid to an excel file preferably in excel 2007(i.e. .xlsx). I have found this discussion on daniweb [url]http://www.daniweb.com/forums/thread211651.html[/url] however i get an error [CODE] Excel.Application app = new Excel.Application(); [/CODE] Am i …

Software Development assembly
Member Avatar for Rinia09
0
123
Member Avatar for chester1908

Hey hombres. I feel a bit embarassed to ask something so simple,but i need help with qsort. As you will understand,im trying to sort my table made of "catPage" structs,which are read from keyboard,comparing the lName strings. First i print the struct array unsorted,then sorted,but what i see printed is …

Software Development c
Member Avatar for chester1908
0
563
Member Avatar for kaylee10

I have been interested in Java for a while but I am having trouble finding a platform to use. When I started c++ a few years back we had bloodshed and visual studio. My question is what is the best platform for a Java beginner? I would prefer a free …

Software Development java visual-studio
Member Avatar for Taywin
0
98
Member Avatar for burningflower

Hello people, I seem to be having executing and compile a program. I am using a jar file and i was told to put the jar file on to the library. The jar file is htmlparser.jar I have placed on to the java build path. But i keep getting errors …

Software Development java
Member Avatar for Taywin
0
179
Member Avatar for theUserMan

I wrote this code to get a standard deviation from inputs that are stored in an array. I outputted all of my inputs and they are correct, and it's subtracting the mean correctly, hoever when i hit the check flag(if counter is equal to zero) i get a floating point …

Software Development assembly
Member Avatar for GunnerInc
0
175
Member Avatar for ntrncx

i write a program that goes as follows a part of it is: [CODE]#include <iostream> using namespace std; const int size=8; const int plus[]={1,2,3,4,5,6,7}; const int minus[]={-1,-2,-3,-4,-5,-6,-7}; int vertical(int[][size],int&,int&); int horizontal(int[][size],int&,int&); int diagonal(); int main() { int board[size][size]={}; int accesibilityboard[size][size]={}; int currentrow=3; int currentcolumn=4; int counter=0; } int diagonal() { …

Software Development c++
Member Avatar for ntrncx
0
109
Member Avatar for akase2010

I truly don't understand what this assignment is asking, and this is it design a simple linked list class with only two member functions and a default constructor: void add(double x); boolean isMember(double x); LinkedList( ); The add function adds a new node containing x to the front (head) of …

Software Development c++ linked-list
Member Avatar for caut_baia
0
152
Member Avatar for flyingcurry

So the assignment is to make a Rock Paper Scissors Spock Lizard Player that plays against another student's player without using any Random generation for 100000 trials. We are supposed to be able to detect the patterns/sequences in the other player by storing their past moves and looking for any …

Software Development java
Member Avatar for quuba
0
287
Member Avatar for Howdydoody

Hey guys i could use some clarification as to how this is done. Most if not all examples i have seen have the class written above the main in the same cpp file. My professor says we should have it in a different file so it can be reused by …

Software Development c++ file-system
Member Avatar for Howdydoody
0
113
Member Avatar for 24x24

Ok, I have three main tasks. One: I need to create a 2 dimensional array that is 8x8 and consists of randomly generated numbers that range from 0-3. I'm assuming the Math.random will be used inside of a for loop with a limit set for length(8) and range(0-3) somehow? Two: …

Software Development java matrix-multiplication
Member Avatar for 24x24
0
257
Member Avatar for Karkalash

Hiya I'm relatively new to data structures and using push_back. I'm trying to build a small dictionary program that assumes that there is no words (and definitions) in the dictionary when you first launch it. What I then need to do is ask for a word then definition to start …

Software Development c++
Member Avatar for VernonDozier
0
222
Member Avatar for Incubator

How can i read some number from a text file and then go back to read some other information? All i know, is read it from the beginning to the end, but even when i check something for ex if(fgetc(in)!=...) goes forward one character, and all this messes up my …

Software Development c
Member Avatar for WaltP
0
151
Member Avatar for vavazoom

Hey, I am writing a program that takes the size of an nxn matrix [A], randomly creates that matrix, as well as an nx1 matrix [S], multiplies them together to create [A]*[S]=[B]. Then, using Gaussian Elimination, I use matrix [A] and [B] to find [x] such that [A]*[x]=[B]. I can …

Software Development algorithm c++ ios
Member Avatar for mike_2000_17
0
194
Member Avatar for blahbla

hi i have a lab to do and i'm stuck on how to start a method i have 10 coins and i want to write a method that tells me the fewest amount of coins needed to add up to 100 - 1 dollar coins are randomly generated - values …

Software Development java
Member Avatar for blahbla
0
431
Member Avatar for Usmaan

Hi guys, Sorry the title is vague. Couldn't come up with one. Ok so I have a int variable which is, let's say, of the value 5. Now I want to create a string which contains underscores, so: "_____" the amount of underscores is the same value of the integer. …

Software Development
Member Avatar for Momerath
0
119
Member Avatar for toolmanx

I was trying to send mouse positions to my status bar in a larger program. I could not get them to write more than one position to the status bar, then it stops changing. To test why, I wrote a small window using one "Do Paint" function first. I still …

Software Development c++
Member Avatar for zeeshanciit
0
541
Member Avatar for fsl4faisal

i want to implement multicast using python can anyone tell me how can i get information on socket programming in python?

Software Development python socket-programming
Member Avatar for woooee
0
166
Member Avatar for corl45

ok, im making a basic program in pascal. like a text based calculator (i dont know how to make GUIs) so lets say i have a peice of code like this: [CODE]program test; var A,B,C:real; begin writeln('enter the first number'); readln(A); writeln('enter the second number'); readln(B); C:=A/B; writeln('your answer is: …

Software Development pascal
Member Avatar for passw
0
125
Member Avatar for fish234

I was working on something just to practice building a menu so I can remember it for later. The same error keeps coming up and I'm note sure what's wrong, could someone give me a hand. haha, sorry, I'm new to this. This is the code [CODE]{ #include "stdafx.h" #include …

Software Development c++
Member Avatar for fish234
0
145
Member Avatar for falcon eyes

Hi every body i have devoloped a custom MessageBox Class to use it in other application,as below [code] # public partial class MessageBoxCustomized : Window # { # # static MessageBoxResult _msgboxresult; # public MessageBoxCustomized() # { # InitializeComponent(); # _msgboxresult = MessageBoxResult.None; # Owner = Application.Current.MainWindow; # # # …

Software Development c#
Member Avatar for falcon eyes
0
323
Member Avatar for ik1610

Hello! I am having a problem with the following line of code: [CODE]int temporary = theMessage.size(); int numberOfColumns; if (temporary%3 == 0) numberOfColumns = temporary/3; if (temporary%3 == 1) numberOfColumns = (temporary + 2)/3; if (temporary%3 == 2) numberOfColumns = (temporary + 1)/3; cout<<numberOfColumns<<endl; int theNumbersOfTheMatrix[3][numberOfColumns]; [/CODE] theMessage is a …

Software Development c++
Member Avatar for ik1610
0
107
Member Avatar for RICH148

Hi all, I'm trying to make a Poker program. This is what I have so far but I'm not sure how I can check to see if the deck is a Royal Flush, Straight, etc. Could anyone help me get started? This is what my output should be. Enter the …

Software Development python
Member Avatar for bpatt22
0
235
Member Avatar for bibiki

Hello people. I have the following class. [CODE] public class Model{ private Kutia[][] c; public Model(Kutia[][] x){ c = touch(x); } public void touch(Kutia[][] k){ for(int i = 0; i < 8; i++){ for(int j = 0; j < 8; j++){ if(k[i][j].occupied()){ touchHorizontal(k, i, j); touchVertical(k, i, j); } } …

Software Development java
Member Avatar for bibiki
0
200
Member Avatar for zachattack05

If I start a new thread, and that thread executes a method that is contained in a referenced dll, how do they signal each other? Would this be considered a cross-process EventWaitHandle? It doesn't seem like it would be considering that the thread is started in the same process. I …

Software Development
Member Avatar for zachattack05
0
139
Member Avatar for stan2000

I'm trying to write a program which allows a person to enter the number of days they have worked. Their hypothetical salary is 0.01$ per day and doubles everyday (0.02$ on the 2nd and 0.04$ on the 3rd day etc...). For each day, the day number, pay for the day, …

Software Development c c# c++
Member Avatar for Arbus
0
154
Member Avatar for james6754

We have been gives these classes as an example. In the student class the new keyword that is used on the print method... is it actually needed because you get the same result if it is taken out? [CODE] class Program { static void Main(string[] args) { Student s = …

Software Development
Member Avatar for Momerath
0
94
Member Avatar for bettybarnes

my deletecommand delete all my rows whenever i delete a row..but when i view it again the other rows still there and the i deleted is actually deleted.. here's my code for da.deletecommand [CODE] da.DeleteCommand = New SqlCommand("Delete from Admission_Record WHERE Patient_ID = @Patient_ID", cs) da.DeleteCommand.Parameters.Add("@Patient_ID", SqlDbType.VarChar).Value = ds.Tables(0).Rows(bs.Position)(0) cs.Open() …

Software Development vb.net
Member Avatar for bettybarnes
0
113

The End.