VB.Net Exception
In getting an exception at 'myConn.Open() could anybody help me. Thanks for your time Dim strConn As String 'This declares or creats the connection string strConn =...
View ArticleProblem unpainting squares to reveal underneath
The Code separated with lines of asterisks is where my issues begin, i can paint over the existing mines and numbers showing how many mines are near that square, is there a method in java that anyone...
View ArticleBest way to line up numbers?
#include <stdio.h> //library for using input/output in the function #include <conio.h> //needed to use getch() command int main() { int x, y; //variables chosen to use in my function...
View ArticleTrying to conceptualize a way of coding for my game
First off I'm using Jpanel to create a game with an interface and playing field with around 30 - 40 hexes. Each hex is a label / image and has a 3 methods that are listeners for exit / press / click....
View ArticleCount frequency of numbers in a phone number using ArrayList
I'm trying to write a program that will count the frequency of numbers in a phone number using ArrayList. The phone number must be input as a String. I think I have it right, but the counts are coming...
View ArticlePrototyping Classes in C++
Hello, I was wondering if it was possible to prototype classes in C++. Rather than have everything above the main function, I`d like to organize it better and put certain classes below the main...
View ArticleTrouble with bash script
I have to write two scripts, one in bash and one in dos. My dos one works perfectly but I'm having trouble with my bash one. The assignment is to make a script that takes a command line argument (from...
View ArticleTrying to do an affine cipher in c++
I'm in the process of writing an affine cipher code that uses the ax+b form, and I found it is 5x+8. I'm attaching my code. The comments are me commenting out what I was testing and what have you. I...
View Articleretreiving data from database inside a loop
the below function is used to retrieve priority value according to the corresponding input strings.. but the priority value that is displayed is the the same as the value obtained for the first input...
View Articlelearning image reconstruction using C++
Hi, I am a beginner of image reconstruction and C++. I would like to know how could I learn to reconstruct image using C++ and also how to get sinogram using C++?
View ArticleListView Index Issue
I need to get the name of the item that is select on a listview control onto my clipboard. But every time the code executes this error appears. "InvalidArgument=Value of '1' is not valid for 'index'....
View ArticleSQLite help. Inserting a variable into database
I am trying to use and understand SQLite syntax to use in my C program. I need to figure how to insert a pre-existing variable into my database. For example "insert into MyTable values (MyVariable)"....
View ArticleFixed-time-step & variable-time-step, which one is best here?
Me and a group of 12 class mates are working on a project and they have decided to use fixed-time-step and I wonder which of these that works best for a turn based game without and physics. We are...
View Articlesmallcap program with checkbox
hello i want to change the text in textbox1 to smallcaps or uppercase as soon as i check the checkbox with caption smallcaps or uppercase how can i do this please reply
View ArticleHow to run a php file?
Hi everyone!! i am new to internet programming which is focus on php. i have a php file and i need to open it in a macromedia dreamweaver... but unluckly i cant open it.. i downloaded a macromedia...
View ArticleC# RDP ActiveX Control (Cannot Instanstiate Advanced Settings)
Hi All, I don't usually post in forums since I almost always find a solution on google somewhere. However this time I'm at a complete loss. So here's the problem: I have created a program (C#) that...
View Articlehow to store a character/string from the user in an array?
i declared it just the same as an integer nor double but it errors on converting i think. my problem is on how to store character/string from the users input in array.
View ArticleC++ Debug Asserion Failed using delete function
Hi all, I created a Queue<T> class in c++, when I call the destructor and trying to delete the array I get the error: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) this is a short of my code:...
View Articlewhats does movsx instruction do?!
Hi guys...! I have searched on the net about this question but i could'nt find a good help...! However, in the follow source i can not understand what does movsx do?!!! Who can help me?! and describe...
View ArticleProgram does not create an interface
I am trying to write the beginnings of a GUI, but when I run what I have so far it does nothing?? />/> Here is my code so far: import java.awt.event.*; import java.awt.*; import java.util.*;...
View Article