132,726 Archived Topics
Remove Filter ![]() | |
I'm trying to do a q & a program which will read a question, 4 choices. Then read the answer and compare it to the correct answer. Then increments the player score, My problem is, I always get null when I run the program. Could you please help me determine … Software Development java | |
i wanted to do like this. can anyone help? [ATTACH]17495[/ATTACH] [ATTACH]17496[/ATTACH] Software Development vb.net | |
how can i call data from database that newly updated(into row) to be inserted into a labels, here is the screenshot: sorry for my bad english. i hope u can understand. thanks. Software Development vb.net | |
I have a program that displays a website using system.windows.forms.webbrowser. It runs off files located on the computer, just html files that are not on the web. All i would need to do is link to the index page and then you can access everything. The purpose of it is … Software Development file-system | |
//Have to convert digits to words, having problems with the output. Please help. [CODE]#include<iostream> using std::cout; using std::cin; using std::endl; int numToText(int num) //function to return text version of number entered { switch (num/10) //Nested switch, this part detemines if number is multimple of ten { case 1: switch (num) … Software Development c++ | |
i have a problem i.e i want to add new line after the second text field; let say i have made one text field and for the second text field i want that it will come in the next row, now how i displayed it in the second row?? thnx Software Development java | |
Hi guys! I have a JTable updated from MySQL. I can successfully insert a row in JTable using SQL statement "insert into...". However, when I execute a delete statement, then JTable is not updated. Please, help me to find an error. [CODE] public void actionPerformed(java.awt.event.ActionEvent evt) { SystClasses.FilterClass.tableModel.initDB("85.254.219.164", "employee_record", "liana", … | |
please am writing my final year project on design and implementation of an xml database. pls i need any help i get. thanks. Software Development database-design java xml | |
Hi all, first i would like to apologize if my question seems out strange or not well define, but I've never do this before. here it is my problem: I have a txt file with a delimiters. I have a XML file that should be used to load the data, … | |
i already post this topic in the programmingforums.org..a sister site of daniwebs. i think that this site is more populated.. i exploring deep programming, and i would like to have good start.. i want to determine the parts of this code, and how it works.. i think this is very … Software Development visual-basic | |
Good morning everybody: I am attempting to populate a listview control on Form Load() and I get a Run-Time Error: 380 - Invalid property value. Below is the line to generates the error: [code]lvw.ListItems(lvw.ListItems.Count).SubItems(1) = OutlookAddressEntry.Address [/code] Below is alos my entire FormLoad module: [code] Private Sub Form_Load() Set OutlookApp … Software Development listview visual-basic | |
hi there, I have to list boxes and in one list box there is all the names of the employees, there is two buttons which represent the arrows to sending the selected item from list box to another, how can I get the values in on list box to a … Software Development c# | |
Please help me use this LookAndFeel in java. I have downloaded quauqa-5.4.1.zip I tried the following, but it's giving me exception in thread:- package ch.randelshofer.quaqua; class Account extends JFrame { @SuppressWarnings("unchecked") public static void main (String [] fisd) { Account acc=new Account(); acc.setVisible(true); acc.setSize(900,600); java.awt.EventQueue.invokeLater(new Runnable() { public void run() … Software Development java | |
![]() | Hey :D I'm currently writing a software where users pick out seatings from auditoriums. The tables will contain seating statuses of auditoriums, which could update quickly. I was thinking of using a thread to repaint the contents, however as the software could be used by many users on the same … Software Development java java-swing |
Heloo; when i drag the window; then how i stop changing the size of textfield and buttons, and how i fixed the size of window.i shall be very thankful to all of you kindly give me the answer... Software Development java | |
Hi to all I'm developing an application using C#.net .My problem is I have two forms Form1 and Form2... I have a combo box in Form1 with values Admin , student and others....Form1 is used as login form . If login by student i want to hide certain buttons and … Software Development | |
hello guys, I have a problem with my code first is i have two combobox named facname.text(facility name) and facno.text(facility no.) and when I choose in facility name(facname.text), in the facility no.(facno.text) should display the number of facility in that particular facility name..For Example you 2 facility for bowling and … Software Development vb.net | |
hi , this is Poornima i am a trainee in java i want many questions for banking problems in java to get trained where can i get that plz help me else plz send some questions Software Development java | |
I'm trying to use the [url=http://docs.python.org/library/logging.html]logging[/url] module for python (2.6), whenever I try to use one of the handlers however it claims it doesn't exist. For example [code] import logging.handlers.SMTPHandler [/code] Gives me the error [quote] Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module … Software Development python | |
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class CalculateNumber { int Number1, Number2; char option; int Result; public void Number() { Console.WriteLine("Enter the First number"); Number1 = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter the second number"); Number2 = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Main Menu"); Console.WriteLine("1.Addition"); Console.WriteLine("2.Subtraction"); Console.WriteLine("3.Multiplication"); Console.WriteLine("4.Division"); Console.WriteLine("Enter the Operation you want … Software Development | |
Any suggestions on the best online tutorial/ebook/printed book regarding C libraries and latest c std? I would like to get more coverage on FILE I/O s Thanks in advance Software Development c | |
Hi All I am getting above error when I am trying to build the project.Could anyone help me out ? Error: 'NCCDAL.clsDataAccessLayer.fncreateCmdObj(string, System.Data.SqlClient.SqlParameter[], System.Data.SqlClient.SqlTransaction)': not all code paths return a value' Code: public static SqlCommand fncreateCmdObj(string spName ,SqlParameter[] commandParameters,SqlTransaction transaction) { SqlCommand command ; try { command = new SqlCommand(); … Software Development sql | |
Hi, I have a problem with an VB aplication programmed in Visual studio 2005. Recently i was upgraded my computer with windows XP to Windows 7 Ultimate (fresh instalation). After that I made reinstallation Visual studio 2005 and service pack 1 for Vista/win7. My problem now is when I run … Software Development microsoft vb.net visual-studio | |
i am trying to do a program that reads in an arbitrary number of lists of integers. SPECIFICS -A valid list of integers consists of AT MOST (could be less than) 20 integers. -You can be given less than 20 numbers. -You might be given more than 20 numbers. This … Software Development c | |
I've been working on getting the Big-Oh notation for this code segment a couple days now and I can't figure it out. I've most likely come across the right answer but I can't convince myself it's right. What's the Big-Oh notation for the following code and how do you arrive … Software Development c++ | |
i have two forms form1 and form2 i can able to call form2 from form1 in button click event but not able to call form1 from form2 in click event.. i have included the respective header files also but still not working. Software Development c++ | |
Hi i'm writing a program that reads records from a file, then sorts these records by the person's firstname, and stores the sorted data in a new file. Heres the code: Everything works fine, except it stores garbage at the end of the last record. If i set the array … Software Development c++ data-structure ios | |
Hi. I know some simple plain C++ and have even learnt some basics of MFC programming in Visual Studio.I can create simple desktop applications now. But the problem basically is that,I feel all that I have learnt is messed up.I learnt some flash actionscript,C++,then left programming itself for a long … Software Development actionscript c++ flash visual-studio | |
hi, Below is my code for DELETE button. What i want is if the user select the transaction from the listview and press the DELETE button it must be able to delete the transaction from listview and text file(temporary log file) which i keep all the transaction record. At the … | |
Hey everyone, I have been searching and searching and cannot find out how to do what I'm looking to do, that is the only reason I would post a new thread. So basically, I am wanting to read a file that looks similar to this: [CODE] DATA START NOTES FILE … Software Development vb.net | |
How to set Windows 7 to desktop html page or what i ned to do this on windows 7 Software Development c++ html-css windows-vista-7-8 | |
[CODE] #include<stdio.h> int main() { FILE *point; char others[35]; int indexer,count; strcpy(others,"Additional lines."); point = fopen("tenlines.txt","a"); /* open for appending */ for (count = 1;count <= 10;count++) { for (indexer = 0;others[indexer];indexer++) { putc(others[indexer],point); /* output a single character */ putc('\n',point); /* output a linefeed */ } } fclose(point); getchar(); … Software Development c | |
Hello All, Open Destination Folder programmatically using Folder Browser Dialog. [U][B][COLOR="Green"]CodeSnippet attached below[/COLOR].[/B][/U] Usually all know about the dialogs available in .net like savefiledialog, openfiledialog, printfiledialog etc; but many of us dont know about folderBrowserdilaog. Me too was unaware of it, and searched a lot to get code to open … Software Development vb.net | |
i found msoftcon.h on the book and added. when i run below program on dev c compiler linker error undefined reference to set_color(color,color) linker error undefined reference to set_fill_style linker error undefined reference to draw_circle linker error undefined reference to init graphics [CODE]#include <cstdlib> #include <iostream> #include <msoftcon.h> using namespace … Software Development c++ | |
Ok my project is to make several shapes that are all controlled by the user as far as what size and character is used I have the parallelogram, rectangle, triangles and the even diamond. But I cant get the odd diamond. I can only use the libraries that are in … Software Development c++ | |
The following code swaps values between 2 variables without using a temp variable..... i want to know the logic behind this [CODE] //#include "stdafx.h" #include<stdio.h> int main(){ int a =3, b=5; a^=b^=a^=b; printf("%d" "\n" "%d",a,b); return 0; }[/CODE] [CODE]Output 5 3 [/CODE] Software Development c++ | |
I previously posted an MS-Windows example program about how to recursively search folders and create a list of their filename. This program is similar in concept but is for linux. It c++ and uses std::string and std::vector classes to hold the strings. When the program encounters a directory it will … Software Development c++ | |
I'm trying to solve a maze that originally chooses moves randomly, keeping track of its last move...left and forward, right and foward, and forward, and by chance will choose to 'undoMove' if a 'moveBlocked', but not guaranteed. I am attempting to use a stack to solve. according to instructions the … Software Development c++ file-stream | |
Hello! Can someone please suggest a way to effectively copy the bytes from one array to another. In my program a user will call the method setDate(byte[] buf) which will set data continuously ie inside the method there is an array say buf2. for example if the method is called … | |
Hi, just try to create application using VB6 for my kids, but facing problem with image on how to save & retrieve it from MS access database. could you guys please share the code. TQ in advance. Software Development image visual-basic | |
I am told to write a definition after the main program that takes numbers from the keyboard and stores them in an array. I'm slightly confused on how to do this step. Help would be majorly appreciated. This is what I have so far with the program. [code] #include <iostream> … Software Development c++ | |
hey guys, thanks for looking at this. I'm new to java and need help with this one problem. What i need to do is, 3) Write a program that calculates and displays a person’s body mass index (BMI). The BMI is often used to determine whether a person with a … Software Development java java-swing | |
I am trying to loop through a polynomial using the iterator from the STL but it says i am dereferencing the iterator somewhere but i can not spot it. I have pin pointed the error to the return of the following code. [code=c] Polynom& Polynom :: AddPoly( const Polynom &a) … Software Development c++ | |
Hi.. Here is a program about determining the total number of green-necked vulture eggs counted by all conservationists in the conservation district. The program in fact works correctly but there is a line which i am not being able to understand its use in the program and it is the … Software Development c++ | |
hello sir can you help me sir what is the random access files?i want to learn that but i have no idea to make the code...please help me sir, hoping for your positive responds...thank you in advance... Software Development visual-basic | |
How do I properly bubble sort through a text file by assigning the values to an array. In the code below I tried to assign the values from the text file to a string while there is still something to fetch. Then I used a for loop to assign the … Software Development java | |
The class Newfile has a red zig zaggy line underneath it, The type Newfile must implement the inherited abstract method ActionListener.actionPerformed(ActionEvent). What does this mean? My code ^_^' : [CODE]import java.awt.FlowLayout; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JButton; import javax.swing.JMenu; import javax.swing.*; import java.util.*; public class tuna … Software Development java java-swing | |
This is for an assignment. The child process never prints it's output, or calls the fibonacci functions. I've got other sample programs where the printf command works. Any help would be appreciated. Thanks in advance. [CODE] #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <errno.h> #include <unistd.h> #define MAX_SEQUENCE 10 typedef … Software Development c | |
I'm working on an assignment where we are to implement an address book that holds standard information (ie. Name, Address, City, State, Zip) and contains a user interface to provide options to add, delete, or modify records, search for a specific record, or display all records. These operations are to … Software Development c++ file-system ios linked-list user-interface | |
I am a beginner in c++, I taught myself c++ through the book "c++ primer plus", it really took me a lot of will to finish the book. Now i just want to use the thing i learned to do some pratical things in my life, can anybody tell me … Software Development c++ ![]() |
The End.