132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for konman795

Hi all, this is a homework assignment that I'm not sure how to begin with. We are given all the code and I just need to finish a function to convert digits to words. For example, the string "1, 2, and 3." becomes "One, Two, and Three." The String "10" …

Software Development java
Member Avatar for konman795
0
356
Member Avatar for jakubee

Hello everyone, This is my first post in here :) Need a help with v. simple exercise. I need to ask user to input 10 objects of type Product (String name, Double price). I manage to done this. What i need to do now is to validate this inputs! I …

Software Development java
Member Avatar for DavidKroukamp
0
5K
Member Avatar for TIM_M_91

Hi guys I have successfully set up my database which through my GUI I am able to create my tables that i wish and insert data into the table. My problem is through that I can only insert one row of data into a table so what would I need …

Software Development gui java microsoft-access
Member Avatar for richieking
0
104
Member Avatar for abdullahmusani

Hi, How can i call a stored procedure for fetching records & use records fetch by procedure in crystal report. can anybody help me. Awating for Reply. Thanks for favour.

Software Development
Member Avatar for thines01
0
168
Member Avatar for Contagious98

Can someone point me here any tutorials or ideas how can I start an event log in my Program? Vb.net am using msaccess as Database. Detailed info: Writes or records who was the last account that logged in the system.

Software Development vb.net
Member Avatar for thines01
0
154
Member Avatar for jdh1231

I have a problem to solve, and I came so close with algorithm, but I am having hard time organizing them so they work. I will post the question and the codes I have. Can someone help me organizing them? The program is expected to read input information from a …

Software Development algorithm c++
Member Avatar for thines01
0
170
Member Avatar for birdlover2010

Hello, I am doing a simple calculator program. I have a combo box and assigned numerical values to a string variable under each case number using the same variable name. My problem is I don't know how to assign that value. When I use the current code, it pulls the …

Software Development vb.net
Member Avatar for codeorder
0
929
Member Avatar for Ahmed2

Hi there I've got a problem with functions, where it seems that function call return zero instead of the actual variable value, I will appreciate any help from you guys. I will post the major code parts because the program is big. I get the totallength variable value right but …

Software Development c++ ios
Member Avatar for Ahmed2
0
239
Member Avatar for engineerchica

Hey everyone, I am working on a function that reads a text file (portion below) of data points arranged in two columns and stores the numbers only in an array of signal[2500][2]. The problem is, I need to do some search and replace on [I]some[/I] of the data points. Some …

Software Development c++
Member Avatar for WaltP
0
229
Member Avatar for gowans07

Hey, totally new to Java. How would i go about compiling .class or .jad files into .jar? What software do i require too? Thanks in advance

Software Development java
Member Avatar for DavidKroukamp
0
99
Member Avatar for Sanna.1

hello how do you get three strings in to a boolean. Number 1 is greater than the number 2, which in turn is greater than third Number 1 is greater than one of the numbers 2 and 3, but not greater than both Number 1 is greater than at least …

Software Development java
Member Avatar for Ezzaral
0
125
Member Avatar for yongj

As some of you may know already, I've been trying to re-teach myself through the data structures component of C++. I'm currently in the chapter of 'Pointers' and eventually want to make my way through finish learning hash-tables/trees/sort algorithms. Could someone give me a sort of "First learn this, then …

Software Development c++
Member Avatar for Kanoisa
0
121
Member Avatar for KazenoZ

Hello guys, Well, here's a simple one for you, which I just could not find the answer to due to lack of finding a good way to put it in words for Google. I'm pretty much a newcomer to Java, first project I used Java for, actually, and it was …

Software Development java
Member Avatar for Zhoot
0
247
Member Avatar for r3su3l0

GOOD DAY. Is there any application that would convert my MS Access database to MySQL? It takes time for me to reconstruct my tables in Access to MySQL. If there is/are application that would make my work easier, please let me know. Thanks

Software Development mysql visual-basic
Member Avatar for ali_atif014
0
215
Member Avatar for Ahmed2

Hi there I'm trying to ofstream (output) data to an excel file (csv), and I keep getting this error "file was not declared in this scope". Can you guys help me on this? where is the error? This is the output function, [CODE]void FileOutput() { int t; static float totallength=0; …

Software Development c++
Member Avatar for Ahmed2
0
423
Member Avatar for Syrne

Hello all, I've been fooling around with some code trying to teach myself somewhat about Linked Lists. I wrote this quick program that creates a random number in each node of a list and asks the user to guess the number. I have a quit choice that, when executed alone …

Software Development java linked-list
Member Avatar for DavidKroukamp
0
219
Member Avatar for rzufelt

Hi All, If i copy/paste line for line the below code into IDLE (v2.5 or v2.6) it works perfectly and sends me the email message. [CODE]import smtplib fromadd = "arcazy@foo.com" toadd = "meufelt@wfoo.com" msg = "Insert message body here" server = smtplib.SMTP('exchange01.foo.com') server.sendmail(fromadd, toadd, msg) server.quit()[/CODE] However, If I try …

Software Development python
Member Avatar for Gribouillis
0
214
Member Avatar for swissknife007

Given an array A of length N, my task is to find the element which repeats in A maximum number of times as well as the corresponding count. In case of ties,I choose the smaller element first. Input First line of input contains an integer T, denoting the number of …

Software Development c
Member Avatar for VernonDozier
0
892
Member Avatar for infantheartlyje

Hi folks, I did a program to find a number at a lower bound position and upper bound position. For example, this is my array values 1 1 2 3 5 5 5 5 7 8 9 10 if i search lower position for 5 , it will return 4 …

Software Development c programming-construct
Member Avatar for histrungalot
0
4K
Member Avatar for TIM_M_91

Hi there well title says it all really. Is it possible instead of creating tables within my database to create the tables within a form in java? . If it is possible how would I go about doing this?. Before you ask yes my database is fully connected to my …

Software Development gui java microsoft-access
Member Avatar for TIM_M_91
0
165
Member Avatar for Sundown G

I post this thread in shell scripting too I want to search the user input in file (by lines) but not all then with this line search on another file ( with the specific line) and show to the user. Example: file1.txt ======= a aa aaa aab aac file2.txt (corresponding …

Software Development c shell-scripting
0
87
Member Avatar for Panathinaikos22

Hello, i have made this question again, but is something i really want to learn :/ and never i get an complet answer I know enought good C#/Java Windows programming, i also know C/C++ Console programming but i think is time to learn/play with C/C++ Windows Appis ... How i …

Software Development c c# c++
Member Avatar for jbennet
0
352
Member Avatar for harishpenumudi

[CODE]import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Font; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.PrintStream; import java.net.Socket; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JTextField; import javax.swing.UIManager; public class PeerLogin extends JFrame { private JLabel …

Software Development java java-swing peer-to-peer
Member Avatar for Ezzaral
0
177
Member Avatar for subrata_ushasi

Hi all , I am trying to develope an autocad like application in C++ using code::block 10.05 and directx but code::block 10.05 is not supporting graphics . Any one can suggest ? Thanks in advance

Software Development c++ image
Member Avatar for jbennet
0
263
Member Avatar for razes_0230

Please help me to create an output like this Enter a number: 1 Number you entered : 1 Enter a number: 2 Number you entered: 1 2 3 Enter a number: 3 Number you entered: 1 2 3 sample program please?

Software Development c++ linked-list
Member Avatar for Lerner
0
346
Member Avatar for LdaXy

i'm extremely new to java, so i'm probably making a mistake somewhere. anywyas, my program works, however whn the user repeats the data entry, it does not get replaced with new data. [CODE]package convhms; /*HOW THIS WORKS: * * the main function captures the user input as a float * …

Software Development java
Member Avatar for JamesCherrill
0
139
Member Avatar for floatingshed

I cannot understand why this doesn't do as I expect... [CODE] if (os.path.exists(ofile)): os.unlink(ofile) print "it existed, but I've deleted it!" print "It didn't exist so I'm creating it" ---Here we have a subprocess command--- [/CODE] The print statements print as you'd expect but the command only runs if "ofile" …

Software Development python
Member Avatar for snippsat
0
163
Member Avatar for mhd_arif123

I dont have any code to show you here . i would like to know that how a java application enabled to read information from an electronic id card (via a device which reads it)or to read information from a barcoded id card. Please show me a way to do …

Software Development java
Member Avatar for mhd_arif123
0
148
Member Avatar for chaoz014

So this is my second project in C++, but I'm having some trouble understanding Recursive functions. We are supposed to write a program that has a recursive function. And the program should ask the user for a number. And then display the number of even digits that the number had. …

Software Development c++
Member Avatar for Fortran IV
0
456
Member Avatar for javaprog200

Hello, The following program has three JPanels - one to hold the image, one for the JComboBox and the last one for holding the JLabel, JTextArea and JButton. Once a selection is made in the JComboBox, the user will enter text in the textarea and press the button. The button …

Software Development java java-swing
Member Avatar for javaprog200
0
248
Member Avatar for oiwah

pleas help... is it possible that a wxpython program can become a web page??

Software Development python
Member Avatar for TrustyTony
0
190
Member Avatar for kalcio

hello, I need help for my code, I created an interface that contains a button and a JProgressBar with the netbeans interface, but I do not know how to change the color of the JProgressBar, I tried the method setBackground (Color.color), click right on the JProgressBar proprties Does not change …

Software Development java
Member Avatar for kalcio
0
2K
Member Avatar for connoisseur2010

Hey guys, I wish to do a project in Java Language but dont know what to do. I need ideas. Help!

Software Development java
Member Avatar for stultuske
0
93
Member Avatar for zachattack05

Quick question. A few of the commercial/closed source applications I use contain an external exception handler or crash catcher and I am wondering if anyone has ever implemented something like this and would be willing to discuss the use of such a method of exception handling? Basically the way it …

Software Development monitoring-software
Member Avatar for Philippe.Lahaie
0
247
Member Avatar for kiddo39

Hi, I'm trying to run code that asks a yes or no question. If a yes or no isn't entered, then the question will continue to re-ask say every 3 seconds until a yes or no is entered. Here's the basics of it: [code] while True: response = raw_input(" Are …

Software Development python
Member Avatar for jeugtsy
0
669
Member Avatar for monkeybut

I can run the program and step through the code and it is showing the right query data, but whenever the process is complete the changes are not committed in the database, I am needing to change teh value of grouping with this web app but the changes are not …

Software Development session
Member Avatar for thines01
0
122
Member Avatar for toomutch

Hi All, I have a vb net program that shows a datagridview which pulls data from a mySQL database. When the user clicks on a row (I am checking for a 'cellclick' event), a text box is filled with data from a hidden column in the datagridview. This works fine …

Software Development vb.net
Member Avatar for toomutch
0
250
Member Avatar for vlady

Hello, I am learning classes, and find it a bit difficult... :-( Mine intention is to add subject(predmet) and mark to the objet janko but if I search in self.predmety, I get False, means that it can't recognise predmet in self.predmety list State of self.predmety is as folloving: [<__main__.Cpredmet instance …

Software Development python
Member Avatar for vlady
0
92
Member Avatar for mohamed moamen

I'm study Compressing and Decompressing Data Using Java APIs from [url]http://java.sun.com/developer/technicalArticles/Programming/compression/[/url] but when i compile this example: [CODE] import java.io.*; import java.util.zip.*; public class UnZip { final int BUFFER = 2048; public static void main (String[] args) { try { String fileName = "your zip file" //but your zip file …

Software Development java
Member Avatar for mohamed moamen
0
337
Member Avatar for dave_t

Hi! How can i remove from a file a spesific line which includes "abc" string by using RandomAccessFile libary? Thanks

Software Development java
Member Avatar for DavidKroukamp
0
1K
Member Avatar for VinceW

#Guess my number #The computer picks a random number between 1 and 100 #the player tries to guess it an dhte computer lets #the player know if the guess is too hight, too low #or right on the money import random print "\tWelcome to 'Guess My Number'!" print "\nI'm thinking …

Software Development python ubuntu
Member Avatar for themoviegeek
0
332
Member Avatar for zachattack05

Simple question: is it a performance issue or bad form to have if statements without a else following? As an example, an event that is triggered when a listbox selected index changes depends on the selected index value to run, and during the change, the value switches from some integer …

Software Development
Member Avatar for zachattack05
0
1K
Member Avatar for tischn

Hi There i am developing a little Game Center (console application) for school. The Tic Tac Toe (singelplayer and Multiplayer) is already done. Now i want to develop a snake. When i test the snake, i get a force close. When i use a debugger, i have a SIGSEGV Error. …

Software Development c
Member Avatar for tischn
0
1K
Member Avatar for zachattack05

I have searched high and low for an answer to this question and the answers I have found don't generally apply to what I am looking at and was hoping someone might have some suggestions. I have a form that is bound to a dataset that retrieves its data from …

Software Development dataset
Member Avatar for zachattack05
0
524
Member Avatar for dweebmasterkun

Ok so for some reason I can't get the current item I selected in my datagrid to display on my textboxes I'm new to vb net and programming itself so please bear with me. here's my code: [code] Imports System.Data.OleDb Public Class Form1 Dim con As New OleDbConnection Dim ds …

Software Development dataset open-source vb.net
Member Avatar for poojavb
0
967
Member Avatar for shush0606

I am using C# on visual studio 2010. i have tried downloading a spreadsheet from yahoo by finding the location of the download and then using: [CODE] WebClient wc = new WebClient(); wc.DownloadFileAsync(uri, filename); [/CODE] for the example i tried taking apple as an example: [CODE] Uri uri = new …

Software Development apple finance visual-studio
Member Avatar for shush0606
0
120
Member Avatar for jigarsangoi

This is my Vb.net Project for company i want to generate code for each individual slip so that i get one field as unique field for that i want to use date & slip no to generate unique key. i have attached screen shot my project in this date 21/12/2011 …

Software Development vb.net
Member Avatar for poojavb
0
166
Member Avatar for ruval002

ok so i have an array like this which contains an id, a myState of type State and pointer next which points to the next id [CODE] struct PCB { int id; STATE myState; Process *next; }; [/CODE] i have the following function which should decrement all the current values …

Software Development c++
Member Avatar for WaltP
0
893
Member Avatar for tashee2007

Hi everyone, I have a form with one combo box and text box and buttons. please refer the snapshot with i have attached. I have the following code: My Stored Procedure for inserting the data: [code] /* Name: usp_InsertBranchSetup Description: Insert the Record to dbo.hrBranchSetup table Author: Tashi Modification: Insert …

Software Development encryption open-source vb.net
Member Avatar for tashee2007
0
160
Member Avatar for taylormsj

Hey, Im trying for a message box to pop up with a price, depending on the time. Before 11:30 costs £3.00, afterwards costs £4.50. This is what i have tried but it this code gives me the message for £3.00 when the time is over 11:30 [CODE] Dim day As …

Software Development vb.net
Member Avatar for oderbang
0
9K

The End.