132,726 Archived Topics
Remove Filter ![]() | |
I cannot figure out why i have this error.It may just be a missing semicolon but i can't find where. Here is my code:(error occurs in many lines, so i can't show where exactly is the problem) /* * To change this template, choose Tools | Templates * and open … Software Development java java-netbeans java-swing oracle | |
Hey guys :idea: This is my code [CODE]studNo = JOptionPane.showInputDialog(null, "Enter Student Number: "); studName = JOptionPane.showInputDialog(null, "Enter Student Name : "); prelim = Float.parseFloat(JOptionPane.showInputDialog("Enter Prelim grade : ")); midterm = Float.parseFloat(JOptionPane.showInputDialog("Enter Midterm grade : ")); finals = Float.parseFloat(JOptionPane.showInputDialog("Enter Final grade : ")); overallGrade = (prelim * .2) + (midterm … Software Development java | |
Hello All, I am stuck in one issue. When I update a value in one tab of a JTabbedPane, the same value does not get updated in the other tab I tried using the StateChange event but still did not succeed. I need to refresh the second tab as soon … Software Development java | |
Note: error is comming @ line: 59 This is the source code where i m getting nullpointer exception , I am unable to know where exactly this is not getting value. this code is working at another machine but not on my machine though i compiled it from machine on … | |
How can we apply wipe in and wipe out animation on VB.NET form. Software Development vb.net | |
It's only supposed to return the celebrities that contain the keyword the user searches for :'(. Instead it returns everything. Eg. they enter the following: Reba McIntire OK George Clooney KY Enter keyword: KY It should only return George Clooney. Instead it returns all of them in the list. Try … Software Development c++ | |
i have to create a graph by taking names of movies and the actors in that movies from a file. i have to create the graph and after i have to show the connection beteween the actors. does anyone know how i should do that in c? i prefer if … Software Development c | |
When I run my program it ignores the cin and goes into an infinite loop. It acts as though the cin.ignore() isn't working. [CODE] int getInput(int tries){ int numGuess = 0; cin >> numGuess; cin.ignore(); validate(numGuess, tries); return 0; } int validate (int input, int tries){ if (input <1 || … Software Development c++ | |
I'm having trouble figuring out how to implement where boundaries are (platforms/landings/ceilings). I have an image running across a background image. When the image gets 3/4 of the way to the canvas, it stops moving and the background image scrolls. Same things going backward at 1/4. So with two different … | |
My problem is that when I try to gather the parts of an array, the part of my code that decides what to keep seems to be making a mistake, though I can't fathom how it is making that mistake. My code is posted below. You should see the parts … Software Development java | |
[I]Hi, I writing a "Math Game program" which does the follow: Generate random two operand problems. Allow to the user to enter the solution Each time the user gets a correct result then display a random encouraging message. Similar for incorrect attempts. This program works good in BlueJ, BUT when … Software Development java java-netbeans | |
Hi everyone, well I have trying to do an elevator simulator, wich have to includo the panel with the floor, available floors, and a button panel with available floors and button up, down, but I dont understand is how to use the timers for up and down, because I vague … Software Development programming-construct vb.net | |
Here is a summary of my project. I have a cash for metals company that has both personal and commercial customers. Customers can alos acumulate interest if they keep their money with the company. Some customers are repeat customers, therefore i need a way to keep track of multiple transactions … Software Development java | |
If I make an entry box on a window, then change the coordinates, the box stays put like I want. Now is there a way to set new text in that box after the coordinate change? I can't figure it out for my code Software Development python | |
Hi, i have a form with data and I am tryin to save and load data using a texfile, any suggestion how I could start this as Im not too sure, thanks Software Development | |
I am unable to run batch file that is located in mapped network drive using System.Diagnostics.Process in VB.Net. I get: [CODE]'<batchfilename>.bat' is not recognized as an internal or external command, operable program or batch file. Press any key to continue... [/CODE] I get the same error when navigate to the … Software Development file-system vb.net visual-basic | |
Hello guys! I have to create a program that prints the last 10 lines of a text or all of it if the number of the lines is <=10. The input will be a file that is unknown to me. This is what I've done so far. [CODE] #include <iostream> … Software Development c++ | |
So I have this website that has a chatbox. I now have an offsite way to chat to the chatbox and get chats from it, the problem is that it only updates other users chats when I post or manually hit refresh, is there a command in java that will … Software Development java | |
hi, i need a little help. i have a 2d array adn i want to write out each rows minimum number. but something isnt good cause if the minimum is in the last position it says that the first number is the lowest. heres the code: [CODE] void minki(int k,int … Software Development c++ | |
Having issues with my English to PigLatin Converter. I can get the code to execute correctly on one word but once i do 2 or more words it adds the first letter [0] + 'ay' to the last word in the line.... any suggestions? [CODE]def main(): # Create a list … Software Development python | |
I finished the part one to this but am having a difficult time to make it work . Any feedbacks from people who might have done it? Please select from the menu below: 1. Create Personal Customer 2. Create Commercial Customer 3. Record Transaction 4. Make Withdrawal 5. Display Customer … Software Development java | |
Hello everyone, when integrating a project the Database wouldn't open ( or be imported) without giving this Error Message "...cannot be opened because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported." the problem is one of my team mates informs me … Software Development vb.net | |
Hy , I have to encrypt a message and then decrypt it. I have this code , but i need to save the encrypted string in a database and the code generates a random key every time. I could save the string and the key in the database but that … Software Development algorithm encryption java | |
I am a beginning at programming and need to know what I am doing wrong with this code. I keep getting error codes on undeclared variables, storage types, etc. [CODE] #include <iostream> #include <iomanip> #include <string> #include <cctype> const int ARRAY_SIZE = 100; void InputData(string, int[], int &); void DisplayPlayerData(const … | |
here is my entire code. now, the only problem I have stumbled upon is in the last method, getRow, where i have to extract a row from an array of string. could anyone please help me with this, i've been stuck for hours, not knowing why it calls "missing return … Software Development java | |
Dear All, I have a struct as below and a pointer to the struct as such const struct pfring_pkthdr *h. I want to get all the value to be made one string delimited by comma to be inserted into db. So how to do it in C? E.g I want … Software Development c | |
[code]public Boolean CollisionCheck(float x1, float y1, float width1, float height1, float x2, float y2, float width2, float height2) { float left1 = x1; float left2 = x2; float right1 = x1 + width1; float right2 = x2 + width2; float top1 = y1; float top2 = y2; float bottom1 = … Software Development | |
hi sir i m kunal raj want to share my problem pls help me my application is like this : i have to search my data from database with some check box and text box when user select check box specific function go on and then when user enters some … Software Development dataset open-source vb.net | |
hi guys i need help. In fact it's an assignment. I'm fed up with this stuff. This is my code. has got many errors. actually it's just messy. please provide me with me a code [CODE]#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #define MAXWORDS 5000 /* max no of … Software Development c | |
Ok so i have this work for my java class done so far. And i cannot figure out how to get the different letters from an inputted word to output as a number. The assignment is get a user to input a 7 letter word and output it as a … Software Development java java-swing | |
Hello! how to view report particular Customer Name.............in this code when i m type from date or To date report is showing all customer information but i need single customer info with name or Date this is my code........ plz help me sorry my english is not good [CODE]Imports System.Data … | |
Hi ... I'm Civil Engineering student and beginner in C++ i faced a problem and tried to solve it but unfortunately can't i just want a help and headlines to solve it.. and thanks the problem is: Write a program that will print the following on the screen using loops, … Software Development c++ engineering | |
I've been tearing my hair out over this for quite a while now. What I'm trying to do is populate the struct array from within a function but I cannot figure out how to do it. Everything I've tried throws up a syntax error. Ideally the data should be entered … Software Development c | |
Now I'am using Microsoft Visual Studio to compile this program in C++ but when I compile it I have so many 00000 with no end for this procces.. [CODE]# include<iostream> using namespace std; # define SIZE 5 class queue { private: int a[SIZE]; int front; int rear; public: queue(); ~queue(); … Software Development c++ microsoft queue visual-studio | |
hello, i have client server program, problem here is that the client program cannot receive message sent from server. the server is working fine, can send and receive, but the client only can send, unable to receive. please help me, thank you very much here is the client code: (richTextBox1 … Software Development client-server dns gui javascript | |
I'm creating an Excel spreadsheet from within Microsoft Access. This is declared at the top: [CODE] Public OpenExcel As Object Public OpenSheet As Object [/CODE] This is in my sub-routine: [CODE] Set OpenExcel = CreateObject("Excel.Application") OpenExcel.Visible = False With OpenExcel .Application.DisplayAlerts = False .Workbooks.Add .ActiveWindow.DisplayGridlines = False .ActiveWorkbook.SaveAs FileName:="" & … Software Development microsoft-access visual-basic | |
So I created a subroutine to do some work but now i have no idea how to pass the results on to another stage in the process. [CODE] Private Sub CheckDates() Handles MyBase.Load Dim Duedate As Date = INFDateLabel1.Text Dim Duedate2 As Date = INFDateLabel2.Text Dim Duedate3 As Date = … Software Development vb.net | |
Hi all, well. I need to create a push and pop operations using a stack class by using + and - operations. So far, my coding is: [CODE=cpp]#include <iostream> #include <string> #include <stack> #include <cctype> using namespace std; void Convert(const string & Infix, string & Postfix); bool IsOperand(char ch); bool … Software Development c++ | |
Hello!, I know this my be slightly unrelated question but it's very simple questions and I know many of you will find it very easy. I want to pass several txt files to my c code using make file, but I can't make it right, so please help me in … Software Development c++ | |
I am struggling to write the push and pop functions for a stack of arrays. I know how to write the code to push single items unto a stack and pop them out. Some have suggested that I use an array of arrays (two-dimensional array) to load the array of … Software Development c++ | |
Hello all the gurus out there, I'm working on a project that requires me to log method calls that occur in a running Java program, I did some research for the past two weeks and learnt that instrumentation might be the way to go but it's largely complicated for my … Software Development java | |
Hey i'm trying to draw this patch in python 3.2. As you can see I can get it to draw the top row, but I cannot get it to truncate the rectangles at the left and right hand side, and I cannot get it to repeat itself... Please Help :)! … Software Development python | |
hi all i have a problem and i hope someone will help me. i have this program and i want to find the absolute maximum difference between y1 and y2 ??!! i have found the difference between y1 and y2 but i could not find the maximum difference between them!!! … Software Development c++ | |
Hey all, so now im trying to code a simple game where each time an image is clicked on it is randomly regenerated somewhere else on the JFrame. I'm having some trouble with the logic though. Any help would be appreciated, thanks! heres all the code, theres 3 classes [CODE]package … Software Development java java-swing | |
I'm getting into some territory I have never treaded before.... What I have is an Abstract class "Person" with an abstract class "Employee" that extends "Person" and then three concrete classes within "Employee" named: Agent, Accountant, and WebDesigner. sudo: [CODE]abstract class Person{ abstract class Employee extends Person implements myInterface{ class … Software Development java | |
I have a project to make a Phone Book Program using Hash Table, but I have to use two different type Hash Table, Hash Table .Net Framework and our own Hash Table. Does anyone know how to add, edit, search and delete the Hash Table? thanks a lot for your … | |
What is a good code for adding data in adodb, wherein if a particular data is already present , for example in a text-box,it would give a warning like dulpicate data Software Development visual-basic | |
Please, please don't tell me to stop being lazy and do this myself. I'm really struggling in my java class and I wouldn't be online asking strangers for help if I wasn't desperate and didn't already try to do the work myself. I've been on a number of programming help … Software Development java | |
Hi, I needed to create in-cell dropdownlist in excel using VB.NET, So i used the code, With xlWorksheet.Range("H2", "H101").Validation .Add(Type:=Microsoft.Office.Interop.Excel.XlDVType.xlValidateList, AlertStyle:=Microsoft.Office.Interop.Excel.XlDVAlertStyle.xlValidAlertStop, Operator:=Microsoft.Office.Interop.Excel.XlFormatConditionOperator.xlBetween, Formula1:="Maintenance Planning") End With It works fine with Excel 2003, but it does not works on Excel 2007. It shows below message, Excel was able to open the … Software Development microsoft-office vb.net | |
Hi, I cant able to save an excel file from VB.NET. I used the code below: SaveFileDialog1.Title = "Save Excel File" SaveFileDialog1.Filter = "Excel files (*.xls)|*.xls|Excel Files (*.xlsx)|*.xslx" SaveFileDialog1.ShowDialog() If (SaveFileDialog1.FileName <> "") Then [COLOR="Red"]xlWorksheet.SaveAs(SaveFileDialog1.FileName)[/COLOR] End If Error occurred in the highlighted line as "Exception from HRESULT: 0x800401A8". I cannot … Software Development vb.net |
The End.