132,726 Archived Topics
Remove Filter ![]() | |
Hey, I am a total newbie I need help finding errors in my code. [CODE] // Week 4 Individual Assignment // Calculate the monthly payment User input. // Include header files #include <iostream> #include <iomanip> #include <math.h> using std::cout; using std::endl; using std::cin; using std::ios; //Namespaces using namespace std; //Declare … | |
I have built a program which acts as a Number Guessing Game using HOPP. Everything compiles like it should but my UI isnt loading because of a series of Exceptions. I was wondering if there are any helpful tips. I have added the code as an attachment. Thankyou, any help … Software Development java | |
Hi all, I am a newbie and looking forwad to expand my knowledge and help if possible too. My question, Is there a way to retrieve/read/get data LABEL (TEXT) displayed on a window. The data is displayed in a label control, not a text control. I guess what I am … Software Development | |
i am retrieving data from access using following command "select * from sheet1 where [question number] like " & list(0) & " and [category] like " & list(1) & "and [sub-category] like " & list(2) & "" now problem is if list(0)..... contains integer it works but if it is … Software Development vb.net | |
HI, I am working a program for an Aquarium which contains controls for lights and a electronic fish feeder. I have found a way to get the system time but I do not have the desired result. [1] I want to be able to set the system time during run … Software Development c++ | |
hello how to convert string to double, and result is string. example ; String code =00000000001; Double plus =code + 1; String result =plus; // and result is 0000000002 thanks Software Development java | |
Whether .net supports serial communication? If YES then what I've to do? I'm using MS Visual Studio 2003 with Framework 1.1. What will be the maximum baud rate that I can set? Software Development asp.net vb.net visual-studio | |
![]() | I created a form containing a timer control named tmrChkDir and a command button named cmdPause. What I need help on is how to check if the user clicked on the cmdPause button while the Timer event of tmrChkDir is in progress, and pause execution until another mouse click occurs. … Software Development ![]() |
this is my code.. [code]class NewAction implements ActionListener { public void actionPerformed(ActionEvent e) { TArea2.setDocument(new PlainDocument()); } } void confirmation() { int ReturnValue=JOptionPane.showConfirmDialog(null,"Do you want to open a new file? ","Confirmation ", JOptionPane.YES_NO_CANCEL_OPTION ); if(ReturnValue==JOptionPane.YES_OPTION) { //HOW CAN I POSSIBLY CALL THE METHOD IN THE NewAction class?? } else if(ReturnValue==JOptionPane.CANCEL_OPTION) … Software Development java | |
I'm New to the VB.Net environment this is the fist program I've attempted to write. I am trying to display the first 150 records into a datagrid and then write the first 150 and the entire file into a CSV file and I'm stuck. I need to keep the column … | |
[code]The program code works but after I add, subtract, multiply or divide two numbers the program exits automatically. I don't know how to keep it not to exit automatically, kindly see the code guys. thanks #include <iostream.h> #include <conio.h> int mc(int x, int y) //Multiply two numbers { cout <<"\n\n"<< … Software Development c++ | |
hi all: I am a newbie , trying to connect my access to vb.net express edition I wrote the following code: Imports System.Data Public Class Form1 Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim con As OleDb.OleDbConnection con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0 ; Data Source = "C:\Documents … Software Development microsoft-access vb.net | |
hey people.. i have to work out a software for a tours and travels company in vb6. can anyone please help me with the basic skeleton of the software. thank you. Software Development visual-basic | |
hi, i want to convert typed dataset to untyped dataset?? vice versa.......please healp me........very urgent Software Development dataset | |
Hi I have a delphi object to store some music information (note, start time, duratrion...) problem is I always get memory addressing error when I run the code,can someone please tell me where I'm going wrong! I declare it in a seperate unit, with all my other declerations as follows: … | |
I need to display 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 … I “must” use the “for” …This is what I have but it only counts by two. I don’t want the answer…however can you please give me some clues on the proper way to add the … Software Development c++ | |
How can i display the output of this coding in frames instead of Command Prompt. and i want to view the result of that student only whose rollno is entered. [code] import java.awt.*; //import java.applet.*; import java.awt.event.*; import java.lang.*; import java.sql.*; public class wscreen extends Frame implements WindowListener,ActionListener { Button … Software Development java | |
Hello guys. I'm currently having problems concerning displaying a student with the highest grade. I tried to start the calculation under totals but I'm currently having a hard time with it. May someone please point me in the right direction. [CODE=C] /*+*+*+*+*+*+*+* Preprocessor Directives *+*+*+*+*+*+*+*/ #include <stdio.h> #include <string.h> #include … Software Development c | |
Let me start by saying this is my first post here at daniweb and I am pretty new at C++. With that said I will dive right in. I have a program due next week and trying to get it hammered out. I have to create a line editor that … Software Development c++ ios linked-list | |
I want to handle files of same type.For example if am dealing with txt files means i hav to read all the text files once and i should also find a certain keyword(similar keyword) which should exists in all those files. Anyone suggest how to do that. Software Development java | |
can any one help me? is main() function a pre defined function or a user defined function? thank you Software Development c++ | |
Hello, I did some expiremets with turning numbers with floating point to strings and vice versa,and bumped into something strange,here is the code: [code=cplusplus] #include<stdio.h> #include<conio.h> #include<stdlib.h> void main () { double num; num=310.589; char buffer [10]; sprintf(buffer,"%f",num); buffer[7]=NULL; printf("using &num=\n"); printf((char *)&num); printf("\nbuffer=\n"); printf(buffer); printf("\nfragment of buffer=\n"); printf((char *)&buffer[3]); … Software Development c++ | |
I m reading a text file which is of format L1,L2,L3 L1,0,0,0 L2,1,0,0 L3,1,0,0 using getline method. The first lines signifies the vertex of a graph. Now from the second line onwards it signifies edges. Now from second line onwards i want to add the elements in a dynamic array … Software Development c++ | |
I just started learning java and encounter problem in writing a program that read in the value of height of a triangle. For example 1 AA 232 BBAA 34543 AABBAA 4567654 BBAABBAA Anyone plz kindly help me to write this program using loop. I only know how to print out … Software Development java ![]() | |
I have this dictionary project that's making my head spin. Am trying to create a dictionary that stores the word and meaning of the word in a text file. Then a user can either searching the meaning of a word or search by alphabet. I had an idea which is, … Software Development c++ | |
How do i create a two dimensional dynamic array of type string using vector. Also let me know if how can i use "find" on this array.. Software Development c++ ![]() | |
any problem here with the code coz am getting the error as unable to load the report error no:20525 and it shows the property read only can u clear it plzzzz CrystalReport1.ReportFileName = App.Path + "\REPORTS\Nature_Of_Complaint.rpt" CrystalReport1.ParameterFields(0) = "natureofcomplaint;" & cmbReport.Text & ";true" CrystalReport1.ParameterFields(1) = "fromdate;" & dtpFrom.Value & ";true" … Software Development visual-basic | |
Hi, Is there any tutorial that tells how to do dynamic binding in C. Thanks in Advance. Software Development c | |
If you have an example please help me Software Development c++ | |
Hi I am currently doing a project, part of which involves reading peoples information into a Database, the table in question being member_table which includes a 'Date of Birth' field. I have no problem doing this as all the information I want to assign to this table including DOB is … Software Development java | |
Dear All, I have windows based delphi application.For reporting part.I am using Quick Report 4.0.I printing through my application.It will show the print preview no problem.After prview i am printing means.It will show the message floating point division by zero after this message.Cann't print anything.Pls help me how to solve … | |
Hi guys, could anyone tell me what segmentation fault means? Thx Software Development python | |
Can anybody help me to create a notepad like interface in C++. It should have a cursor which moves as we move the arrow keys. Software Development c++ | |
I'm just starting to learn Java what books, or tutorials would you guys reccomend Thanks guys. Software Development java | |
Dear Frens, I have made a simple project. I want to create an installation file so that I can install and use it as a Window Application. Please help me with the steps to create the installation file. Anticipating your reply. Kshiteesh Software Development vb.net | |
Hi, I tried to compile below program with Borland C++ 5.0 program but i received subject error. Below is not complete program as it is long program. I think "graphics.h" has some problem. Please help me. [COLOR=#000000]#include<iostream.h>[/COLOR] [COLOR=#000000]#include<graphics.h>[/COLOR] [COLOR=#000000]#include<stdio.h>[/COLOR] [COLOR=#000000]#include<conio.h>[/COLOR] [COLOR=#000000]#include<string.h>[/COLOR] [COLOR=#000000]#include<dos.h>[/COLOR] [COLOR=#000000]#include<iomanip.h>[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]struct date_rec[/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#000000]short int … Software Development c++ | |
Hi, Everybody. After compiling below program i am getting error" prg2(distance with error),Please help me to resolve. Thank you [code=c] #include<iostream.h> #include<conio.h> struct distance { int feet; int inches; }; distance length1,length2; void prnsum(int distance11,distance12); int main() { clrscr(); int distance,z; cout<<"Enter length1:"<<"\n"; cout<<"Feet:"; cin>>length1.feet; cout<<"\n"<<"Inches:"; cin>>length1.inches; cout<<"\n"<<"\n" <<"Enter length2:"<<"\n"; … Software Development c++ ![]() | |
Hi, I know C and Python, but i wanted to learn Java. Any suggestion, how should i go about it. I started reading some book, but couldn't make it out. Regards, Jyoti | |
im trying to compile a java file in my computer...and it wil not work...its my first time doin it here... my problem was..i cant compile any java file... this will only appear java.lang.NoClassDefFoundError: mynote/java Exception in thread "main" Software Development java | |
I am trying to get the output of a string "A B C D E" etc to output to a label or a text box to have different colors for each character, for a kids learning program. I have just learned about the richtextbox, but I do not know how … Software Development visual-basic | |
I am using a data control with a simple SQL statement. I am accessing the [B]Data1.Recordset.RecordCount[/B] property right after I call [B]Data1.Refresh[/B] and I noticed it was giving me incorrect results (It would say there were 20 records, when there were actually 85). The weird part is, I put a … Software Development visual-basic | |
[B]Hi to all, I am new to this field, working on VB6.0 and oracle 8i, I need help in combo box object, when the form loads I want combo box to show as “select” in “Text” property, rest I have loaded in “List” property. Thanks in advance please provide example … Software Development oracle visual-basic | |
![]() | I don't know how to declare the funtions before it reach the int main? [code=cplusplus] #include <iostream> #include <cstdlib> #include <fstream> using namespace std; //----------------------------------------------------------------------------- // //----------------------------------------------------------------------------- void closeFile() { input.close(); } //----------------------------------------------------------------------------- // //----------------------------------------------------------------------------- void PressAnyKeyToContinue(void) { system("pause"); //pauses the system until you press a key system("cls"); //clears the … Software Development c++ mathematics |
Hello everybody, My objective is to split a record, write 90% of the record on one row and write the remaining 10% on the next row(right underneath the other half). The spreadsheet was formated exactly the way I want it. Now I am using similar code and technique to format … Software Development visual-basic | |
![]() | Hullo daniwebbers!! I have created a little cd database at home on my home network. And I want my machine to act as the server. I want the other pcs, i.e my sister's and mom's which are connected to my network to access it, and be able to change and … |
first greeting to everyone here. this is a nice forum that we can share and discuss. I used to do a GUI program in c using GTK 2.0 under the cygwin platform, but the built file (.exe file) can only display the GUI at the Unix environment (cygwin X11 server), … Software Development c gui unix windows-server | |
Hi, I am trying to create a simon-says type game, where there are four icons of different colors. One icon lights up. The user clicks it. Next, a new icon lights up. The user clicks the sequence... etc, etc, etc. Right now, the first round works. Unfortunately, the icons do … Software Development java java-swing | |
I have a 'do..while' section of code where it loops through lines in a text file, counts them, and when the line = "" the loop is supposed to stop and report the number of lines it counted. This all works fine in debugging mode... but when I compile it … Software Development visual-basic | |
Hello All, Supose we do close(0) and the dup it to another file descripter to use the new file as the stdin input. Is there anyway to restore the keyboard as the standard input in the same program Thanks, Majoni Software Development c |
The End.