VB.Net Chart bar width
Anyone know how to set a specific width for the bars in vb.net chart? i have created a total of 8 series (8 bars) in my chart and it works fine but my bars are so thin. Is there a way to set my bar...
View ArticleLooping form, query statement error
Hi guys, I am working on a looping form. I have a code that I also got from a website about inserting multiple form using PHP/MySQL. for($i = 1; $i < 10; $i++) { if (empty($_POST["clientname$i"])...
View Article[c] Cannot get to write to string.
//** //CSE 121 //Roman Numerals //This program will take integers and convert them to Roman Numerals #include <stdio.h> #include <string.h> main() { int a,b,c,d,e; char string0[30] = "";...
View ArticleWin32 Api, and Grabbing Text.
Hey guys, I'm trying to create a program that gets text from inside the Pandora Radio desktop application. For a little background information, I have a tendency to want to write down the name of songs...
View Articlerand() problem
I'm making a small but surprisingly complex game for me and my friend, and i'm stuck. its basically military style Rock-paper-scissors. my problem is this... the COM will reach 0 of a unit type, and...
View ArticleVBA how to print a subForm/datasheet or export to a report to print?
Hello, My problem is I have a mainForm with a combo box that acts as a filter for a subForm/datasheet, the results are from a database, so depending on what what was selected, it will dynamically...
View ArticleJava Stacks calculator equal sign problem
I had to make a calculator using stacks. Here is what i have so far. For some reason, the equal sign doesn't work. Can someone help me fix this. The code shows no error, import java.awt.*; import...
View ArticleHelp with Random Number Guessing Game Timer and Image Display.
I am creating a random number guessing game. I have 6 options. 3 Game playing levels and 3 timer levels. I have my form display with 6 radio buttons: radRookie radVeteran radPro radThirty radFourtyFive...
View ArticleJava Hangman
Hey guys, first off I want to say that I am very new to java and programming in general. I am a junior in HS in my CS1 class and we haven't exactly covered advanced methods of doing things. As you can...
View ArticleProblem: cannot rerun a program which includes c string
The program runs fine however, when it's asked to input again, it's stuck. #include <iostream> #include <string> using namespace std; // Function of reverse void reverse(string &Istr,...
View ArticleUsing exception ctaching as a validation method...?
Hi everyone. I'm trying to write a program that calculates commissions. When my program asks for the total sales of the salesperson, I have code that validates the number is above 0. I want to catch...
View ArticleI have done with RNGSERVICEPROVIDER, is it correct?
i have done following code to generate secure random number. is it correct and efficient and good enough?? Public Sub secrand() Static r As Random = Nothing If r Is Nothing Then Dim seed() As Byte =...
View ArticleRandom Num Gen broken
So working on a Random num gen and stumbled into a problem using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Random_gen { class Program { private const int...
View ArticleFind the mode of an array?
Hey, I have a statistics class with this method in it. The purpose of this method is to find the mode of my array that I made in the driver class. It creates an array with 100 slots in it and each slot...
View ArticleLearning c++ by yourself.~
SO first i read and did examples on http://www.cplusplus.com/doc/tutorial/ I made sure to understand all concepts. Next i went through every chapter on http://www.learncpp.com/ Now i am on...
View ArticleJButton action listener issue. Slider values being displayed in fields
So I have a program that is due tomorrow and I have held out as long as I can trying to figure out what is wrong with my code. First and biggest issue that has had me stumped for quiet a while is my...
View ArticleError in compiling Java calculator
Making a calculator in GUI using stacks. I am getting this error Exception in thread "main" java.lang.NullPointerException at java.awt.Container.addImpl(Unknown Source) at...
View Articleproblem: While loops with multi-conditions
The program got stuck at these "while" loops, I tried many forms but still can't run. #include <iostream> using namespace std; // Function of reverse class Odometer { public: void odometer() {...
View ArticleTwo Dimensional Vectors (and the 'find()' function);
Hey guys, You can use the "find()" function to find if a value exists inside of a vector as such: (find(vector.begin(), vector.end(), valueToBeFound) != vector.end()); How does one perform this search...
View ArticleImplement turns in a game
I created a chess like game for my final project in my Object Orientation class. Everything is 90% done...game loops and commands move pieces etc... Only problem is there are supposed to be 2 players...
View Article