Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live

Basic Applet question

I want to add login form in to my website. But I can't. In Eclipse everything works fine, but on the browser something is wrong. It shows class not found exception package kurybinis; import...

View Article


Image may be NSFW.
Clik here to view.

System.Net.WebException Error in Visual Basic

I've been getting an error with my code, and I'm not exactly sure as to how I can fix it. Here's my code: Imports System.Net Public Class Form1 Dim streamer As IO.StreamReader Private Sub...

View Article


Saving Changes Made With PropertyGrid

Is there a way to save changes made in a propertygrid?

View Article

What is the best option here?

Hi all, I and my friend creating the website. He is using PHP, I'm using java. He has to create register/login with mysql and php, and I have to create a program, which looks when user is logged in and...

View Article

Image may be NSFW.
Clik here to view.

Program not recognizing/computing variables problem.

#include <stdio.h> #include <math.h> int main() { double x, y, z, r; printf("MILEAGE REIMBURSEMENT CALCULATOR\n"); printf("Enter beginning odometer reading=>"); scanf("%lf", &x);...

View Article


Importing XML

I'm trying to import an xml feed from a external webpage, here is what I have so far: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;...

View Article

Binary Reflected Gray Code using vectors

I have a homework assignment that's objective is to create a function that returns a vector of binary reflected gray code. I know this can be done iteratively, however it must be done recursively in...

View Article

Image may be NSFW.
Clik here to view.

Windows Icon Alert

Hello there, I've never came across anyone trying to do this but is it possible to get your icon to flash in the taskbar like when Windows Live Messenger receives a new message? Here's an example here...

View Article


Highscore Top 10 FileWriter/Reader

Hello, i would like to add a highscore list to my sudoku game, to save all scores i created a filewriter and wrote the scores into the .txt but how can i manage to get the best times on the top? i...

View Article


How to Prevent Spam Submissions

I have a cakephp recipe website at http://www.projectpotluck.com I've been getting spam recipe submissions from a non-registered user. How is it possible to submit a recipe when not registered or...

View Article

How do I create a 3D Control Array Handler

Object reference not set to an instance of an object. Error is given when trying to set Pic Location. PictureBox[,] Pic = new PictureBox[31, 31]; public Form1() { InitializeComponent(); for (int X = 0;...

View Article

"can not find symbol" error while compiling acount management

I have an assignment to write an account management program that resembles and ATM. I have each component working fine but my instructor wants it to be menu based. i have created a menu with some else...

View Article

How do you remove objects in java

So example, we've declared an object, Class object = new Class(); so how do you remove it ? object = null; doesn't help..

View Article


How can I have a thread continually process an ArrayList?

Hello! I have a thread in android that is supposed to do something with all of the elements in an arraylist until there are no more elements left, but when more elements are added do the same thing,...

View Article

Format Dates Using SimpleDateFormat

Hi everyone, My programming class just started and we're learning Java. Here is the challenge our teacher gave us: > build a date de-assembler from scratch > takes today’s date and display it...

View Article


Pass char to function

Hi I'm new to programming and was trying to pass a value to a function that has a switch case in it but I can't seem to get any value in. It goes straight to the default switch statement. void...

View Article

Combo Box Events

Hello, and thanks in advance. I'm obviously new to VB 2005, and I'm making a data entry window that collects 269 data points (0, 1 or 2) in combo boxes. I want to do validation on a keystroke to the...

View Article


Weird output for character pointers

For this one problem on my homework assignment, it says to initialize the pointer ptr and make it point to the first element of the array. Here is what I have written: #include "stdafx.h" #include...

View Article

Displaying smallest two numbers out of any numbers entered.

Hello! I'm new to these boards and I have long stalked them for help, and I figured it was time to finally join in on the fun. I started with an intro to C class and did well in it. This is my second...

View Article

Need help fixing variance code

#include "stdafx.h" #include <iostream> #include <fstream> #include <cmath> using namespace std; int main() { ifstream infile("number.txt"); if(infile.good()) { int number = 0, sum =...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>