132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jake.20

I'm having a problem with the error in verifying the usernames that are already existing in the record/database. When you inputted a username that already existing it will throw an exception, and when you change the username, it still throws the exception.

Software Development vb.net
Member Avatar for Jake.20
0
173
Member Avatar for alex55

I have a program which i need to run with 2 input files 1 is no problem but i have no idea where to start with having it run with 2 anyone have any ideas? basically heres how it goes 1)have the program run with data01.dat 2)outputs results to output.dat …

Software Development c++
Member Avatar for alex55
0
226
Member Avatar for tomtetlaw

I find the OpenGL Co-ordinate system really hard to use. I would much rather have things like glVertex2f(-100,-100) put a vertex back 100 pixels in the X and Y direction from the origin, instead of it being totally off the screen. Is there any way that I can do this? …

Software Development c opengl
Member Avatar for myk45
0
268
Member Avatar for james6754

I have this... [CODE] class Program { static void Main(string[] args) { Console.WriteLine("Please enter name of DVD"); object objectname = Console.ReadLine(); Program2 myob = new Program2(objectname); } public int number = 0; public string myString = "DVD"; public double myDouble = 2.0; } class Program2 { public Program2(object objectname) { …

Software Development
Member Avatar for Kru
0
118
Member Avatar for bdkminang

How to write this problem.. a. Show the customer the different breakfast items offered by the HIFI's restaurant. b. Allow the customer to select more than one item from menu c. Calculate and print the bill to the customer Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast …

Software Development c++
Member Avatar for bdkminang
0
814
Member Avatar for bugista

Hello All I was using Java for capturing the screen and printing it. Now I need to capture the window, which is a ALt +Printscreen of Windows. I tried in Java. Could you pls help? Thanks in advance

Software Development java
Member Avatar for zach&kody
0
94
Member Avatar for bhagawatshinde

Hi, I am developing an windows application in that i want to check internet connection for that i am written the following code but it seems to be not working . Can anybody help me...... [CODE] [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState(out int Description, int ReservedValue); public static bool IsConnectedToInternet() …

Software Development
Member Avatar for Momerath
0
168
Member Avatar for coolcool1980

Hi folks, I have a java maze, I cant seem to pass the 2d array to the next method. Any ideas on how i can do this? I need to get the character to move around the maze. Thanks [CODE] public class arrayAttempt1 { static int i=0; static int j=0; …

Software Development java
Member Avatar for coolcool1980
0
3K
Member Avatar for plang007

I need a lot of help with this program: I know this is a homework problem but I am really struggling with it. This program requires you to input information about rickshaw taxi fares. The ODUSPORTS is a student powered on-campus rickshaw transportation system. Upon departure, a ticket is created …

Software Development c c# c++
Member Avatar for ravenous
0
724
Member Avatar for jasleen12345

[CODE] #include<iostream> #include<fstream> #include<string> using namespace std; int main() { cout<<"Start entering your text\n Put a * to terminate\n"; ofstream fout; fout.open("1818.txt"); int i=0; char c; while((c=getchar())!='*') { fout<<c; } fout.close(); ifstream fin; fin.open("1818.txt"); int word=1; int line=0; int vowels=0; while(fin) { fin.get(c); if(c==' ') word++; else if(c=='\n') line++; else …

Software Development c++
Member Avatar for ravenous
0
637
Member Avatar for Phatsimo Mosiam

helow everyone!when i execute the following code,i have saved it as validateInfo.java it tells me that line 5:duplicate class:validateInfo.Please help public interface validateInfo { public void validate(String empcode, String password); } class validateInfo implements validateInfo { public void update() { //code to update information of customer } public static void …

Software Development java
Member Avatar for javaAddict
0
107
Member Avatar for bhagawatshinde

Hi, I need to hide calender of datetimepicker in (c#).net. Thanks in advance

Software Development c#
Member Avatar for bhagawatshinde
0
93
Member Avatar for format_c

error C2784: 'std::basic_istream<_Elem,_Traits> &std::getline(std::basic_istream<_Elem,_Traits> &,std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'std::basic_istream<_Elem,_Traits> &' from 'std::ifstream' 1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string(527) : see declaration of 'std::getline' [CODE]void read() { Inventory items[100]; string line; int i=0; ifstream inventdata; inventdata.open("Inventory.dat", ios::in); if( !inventdata ) { cout << "ERROR: Unable to …

Software Development c++ ios visual-studio
Member Avatar for Fbody
0
483
Member Avatar for Shizuo

[code]import java.applet.Applet; import java.awt.*; import java.awt.event.*; public class Books extends Applet { Choice b; String [] blist; //CheckboxGroup edition; int i; public void init() { setBackground(Color.green); add(new Label("Please Pick a Book:")); b = new Choice(); blist [0] = ""; blist [1] = "Java Programming"; blist [2] = "C# Programming"; blist …

Software Development java java-netbeans
0
100
Member Avatar for yassop

[CODE]#include <stdio.h> float pounds = 0, inches = 0, BMI = 0; float kg = 0, meters = 0; char input[100], choice; int main() { start: do { printf("\n\nThis program is used to calculate the BMI of a person.\n\n\n"); printf("What kind of BMI do you want to calculate?\n"); printf("(Imperial(i/I) or …

Software Development c
Member Avatar for yassop
0
309
Member Avatar for thes0mething

I'm currently working on a tic-tac-toe program and it is working to the point that it runs and X's and O's appear. However when the right combination is made or the board gets full the method "Resultat();" should recognize it and "Clear();" should clear out the board and a JFrame …

Software Development java java-swing
Member Avatar for thes0mething
0
152
Member Avatar for msaranya

I am trying to create an Excel sheet and save it in server... Once it is saved, I display a link to the user "download excel". He can click it and then download it.. The pblm is I cant save the excel it says "The file could not be accessed." …

Software Development microsoft-office vb.net
Member Avatar for Pgmer
0
221
Member Avatar for ajinkya112

Example : suppose i have a form1 and a form2. form1 has a button on it which would display a message "Clicked" when clicked And if form2 inherits form1. How can i change the properties of that button and make display a message "Now Clicked" ? please help.....:?:

Software Development
Member Avatar for Momerath
0
104
Member Avatar for JannuBl22t

Hey guys! I have a question. I have this code: [CODE] private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { int count = listView1.Items.Count; int threads = 5; LinkChecker[] lc = new LinkChecker[count]; int trace = 0; for (int i = 0; i < count; i++) { for (int k = 0; …

Software Development
Member Avatar for Momerath
0
223
Member Avatar for borkarparesh

i have button on main form which i want to visible when i click on the button which is on the sub form.

Software Development c#
Member Avatar for Ketsuekiame
0
108
Member Avatar for Jessurider

i've made a project in C# and i want that to be build in .exe file format............can anyone help to convert my project in C#(attached) into an .exe file format

Software Development
Member Avatar for Ketsuekiame
0
137
Member Avatar for vanzhyme

Im using VB.NET 2005 i want to sum two records in database. So when i retreive them to display in my textbox they already sum. the numbers are in text. please help me ... im a newbie.. this is my code. con.Open() cmd = New OleDbCommand("select * from ChargedItems where …

Software Development vb.net
Member Avatar for Pgmer
0
171
Member Avatar for Khliboy_2796

Can u help in tellin me the process of adding a Ms Access database to vb 6.

Software Development visual-basic
Member Avatar for debasisdas
0
144
Member Avatar for xshinichix

Can someone help me with my homework? my teacher asked us to create a program that lets the user to input 5 integers and sort it using bubblesort. i have already write the code but its not the output that i expected. heres the code: [CODE] import java.util.Scanner; public class …

Software Development java
Member Avatar for xshinichix
0
204
Member Avatar for jonspeidel

so cplusplus.com is losing my connection and won't email back yada yada, so untill thats resolved I'm transferring my learning to this site, now for the program. any way its just a simple "choose the math operation program" then it performs that operation, but I wanted to add a part …

Software Development c++
Member Avatar for 1ML
0
527
Member Avatar for teppel

Hi all, I kind of new in C++ and my assignment require me to do some encryption on data. Found the AES file online can anyhow guide me how to use it ? Because when i compile the test.cpp it keep giving me exception not match error. And btw how …

Software Development algorithm c++ encryption file-system session
Member Avatar for pseudorandom21
0
512
Member Avatar for bensewards

The question is: A file contains a list of names in the form: Jones, Frederick M Brennan, Claire Your program should alphabetize the list. Use the C++ string class. Also, extract names from the input stream with getline(). What i know so far: main() should declare a char array and …

Software Development algorithm c++ file-stream file-system
Member Avatar for ravenous
0
202
Member Avatar for Gsterminator

The objective of this program is to create images or shapes by using 2day arrays. I've created the the maximum size in my constructor but my error is in the the rectangle method.This is my error: Hw11.java:60: cannot find symbol symbol : constructor Picture(char[][]) location: class Picture return new Picture(result); …

Software Development java
Member Avatar for JamesCherrill
0
121
Member Avatar for danholding

Hi all i have been dancing around this problem for a couple of weeks now and have not got any closer. Description: i have created a crystal report in SQL5 and exported it fine but now i have gone to open it in visual studio 2008 and it does not …

Software Development sql vb.net visual-studio
Member Avatar for danholding
0
175
Member Avatar for junjun61991

i have a problem in my program.... i want to link the database in the search form1 to form2 ... what was the code.. the code is in below... what is the error and what is the proper code of this.... this is my form 1 code that link to …

Software Development visual-basic
Member Avatar for debasisdas
0
398
Member Avatar for Akill10

Hi, I am writing this template Array class. I am trying out some different functions, anything I can think of to implement. I have written an Add function as follows: [CODE] /**Add function - adds an element at the top of the stack**/ //creates new Array 1 larger //sets position …

Software Development c++
Member Avatar for Akill10
0
223
Member Avatar for TrustyTony

I had posted here already here to forum a [beautiful code for solving Sudoku puzzles](http://www.daniweb.com/software-development/python/code/294304/eleagant-and-fast-sudoku-with-generator-expressions), so I was in kind of dilemma what to do, as I read the task to do a sudoku solve as one task in Project Euler. To use the code from before and just take …

Software Development algorithm puzzle python
Member Avatar for TrustyTony
0
894
Member Avatar for Hawkpath

I'm a beginner c++ programmer. I use Win XP and CodeBlocks. I'm trying to make a pong game, I already have the controls programmed, but I need a method to do the following: Check for user input, if they don't input for x milliseconds, then continue with the loop so …

Software Development c++
Member Avatar for katmai539
0
199
Member Avatar for SmallTime

Hi all, I'm trying to format postal addresses in a text field and want to avoid placing extra spaces between those fields that that are null or have zero length strings. Here's a shortened version of what I tried: [CODE]IIf(IsNull([nmsPrefix]) Or [nmsPrefix]="","",[nmsPrefix] & " ") & IIf(IsNull([nmsNo]) Or [nmsNo]="","",[nmsNo] & …

Software Development visual-basic
Member Avatar for AndreRet
0
140
Member Avatar for iskinner

I have XML data where information in nodes relate to other nodes. I am trying to figure out how to generate output based on these relationships. XML sample <gedcom> <indi id="@I001"> <famc>@F002@</famc> </indi> ... <fam id="@F002"> <husb>@I005@</husb> <wife>@I007@</wife> </fam> </gedcom> XSLT sample <xsl:template match="/"> <xsl:apply-templates select="/gedcom/indi[@id='@I001@']"/> </xsl:template> <xsl:template match="indi"> <xsl:value-of …

Software Development xml
Member Avatar for xml_looser
0
1K
Member Avatar for whodoes21

ok so what does this do.. 1.) read the text file(most likely a c++ code in text form) line by line and display it line by line... 2.) (as the title says) check for syntax errors. ( only minor ones like missing ";" or a lack of closing braces) soooo..... …

Software Development c c# c++
Member Avatar for ravenous
0
2K
Member Avatar for Shodow
Member Avatar for AndreRet
0
110
Member Avatar for Shodow
Member Avatar for AndreRet
0
174
Member Avatar for Xytheron

Hey all. I don't want to be one of those that sounds like HW but they didn't say it was so I'll be honest, this is HW but I feel like I've done enough that it's reasonable to ask for a little help here. This is a snippet from a …

Software Development c unix
Member Avatar for charlybones
0
209
Member Avatar for Bijaya123

How i can deploy an application with database. Actually i want to create an application that have an database and also i can also install that in the client machine. Please please help me. Thank you.

Software Development
Member Avatar for Bijaya123
0
76
Member Avatar for Sidd_

hi I want to know that i there any leave function in java like the one in c#. what i am trying to do that there is 2 combobox and the list of second combobox depends on the data selected in first combobox. so as soon as the user select …

Software Development java
Member Avatar for masijade
0
140
Member Avatar for churva_churva

[ICODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MainFrame extends JFrame{ JMenuBar main=new JMenuBar(); JMenu menu1=new JMenu("File"); JMenu menu2=new JMenu("Search"); JMenu menu3=new JMenu("Display"); JMenu menu4=new JMenu("About"); JMenuItem exit=new JMenuItem("Exit"); JMenuItem pw=new JMenuItem("Piece Worker"); JMenuItem hw=new JMenuItem("Hourly Employee"); JMenuItem pcw=new JMenuItem("Piece Worker"); JMenuItem hrly=new JMenuItem("Hourly Worker"); JMenuItem author=new JMenuItem("Author"); JLabel …

Software Development gui java java-swing
Member Avatar for churva_churva
0
159
Member Avatar for Danii

example if (...){ return 0; } else (...){ return 1; } that do they mean? thnaks in advance

Software Development java
Member Avatar for masijade
0
678
Member Avatar for btsuper

Hi everybody, I've been working with gui recently, and I need help with my JButtons. I need to figure out how to set a button on the keyboard to click that JBUtton. I.e. When i hit the enter key it picks say the third button on the list or something …

Software Development gui java
Member Avatar for btsuper
0
1K
Member Avatar for soUPERMan

Hello, I wanna write a method that recieves an argument of type String which is a mathematical expression in infix mode, then change it to postfix and store in a queue and return the queue...how do i go about that?? I have created so far a Queue class, Node class.

Software Development java queue
Member Avatar for lucky_Username
0
976
Member Avatar for goody11

I am currently working on a Win32 program where I have a picture. Depending where they click on the picture, something will happen.I just loaded the picture on the window, but how do I make it so that my program can tell when a certain area on the picture on …

Software Development c++
Member Avatar for Ancient Dragon
0
93
Member Avatar for garu525

Hello, I'm starting to learn Java and this one of my homework but for some reason it won't run. My algorithm is to just add all 1-1000. I highlighted the part that's causing a problem in red. Please help, thanks! [CODE] import java.util.*; public class thousand { static final Scanner …

Software Development algorithm java
Member Avatar for garu525
0
160
Member Avatar for SeePlusPlus2

I'm trying to read this input from a text file but whenever I try to output it, it shows up as 00000. Input: IBM 100 93.2 98.6 MER 200 67.2 43.89 QQQ 300 78.9 70.0 C 200 35.78 50.02 CSCO 400 45.67 57.23 This is what I have so far: …

Software Development c++
Member Avatar for SeePlusPlus2
0
211
Member Avatar for Asen

I generate my xml into "variable string str" by using "dataset.GetXml" and then I write the "xml which is contained in variable str" into "file.xml" by using "sFile.WriteLine(str) while 'sFile' is a stream reader" My reason for using 'writeline' instead of 'dataset.WriteXml' because I need to encrypt the 'xml stored …

Member Avatar for Asen
0
196
Member Avatar for Translucentbill

Okay so I almost have my entire game of Yahtzee finished I just have one question that I need help with. What would be the most efficient way to figure out if the user has a 3 of a kind, yahtzee, full house etc? Basically just the bottom section of …

Software Development ide java
Member Avatar for ztini
0
173

The End.