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

How to check if a groupbox contains any checked checkboxes?

Let's say I have a group box that contains several checkboxes. I want to check if any are checked and if so alert the user. For example, If (chk1.Checked = True) Or (chk2.Checked = True) Or...

View Article


RunTime Error - Bidimensional matrix structure

Hello everyone. I'm trying to create a program that solves a linear equation system in C. To do that, initially,I created a structure named MATRIX. This structure has the pointer to the line pointer...

View Article


Java Textfield ONLY NUMBERS

Hey, i wanted to create a Textfield where it should only be possible to put numbers from 0-999 into. Could anybody help me with this? I already tried it with a formattedtextfield like this:...

View Article

anagram in c

hello, i have created a program in c trying to check if two strings (size 30) give by the user are anagrams of each other but up till now i have the following code and can't find my way out ... PS: in...

View Article

Online databases

My game has high scores and I need a way to store the high scores online so everyone can access the global high scores from in game. Originally I was going to use Mysql but I thought that it would be...

View Article


how do i save data on inkcanvas into a text file?

i have to save the data written on inkcanvas by the user into a text file and then perform operations on the data saved.

View Article

Parsing string from Capture File

I'm extracting the payload header hex values from a capture file and then the parse the mutation string into another method. Is this possible? PcapPacketHandler<String> jpacketHandler = new...

View Article

Populate a listbox from a database using php

Hi all, I am just wondering how would i populate my listbox in this code with results from my database. <html> <body> <a href="home.php">Home</a> <a href="insert.html">Add...

View Article


Sudoku Backtracking Slowed Down

hello, i would like to slow down this backtracking solution by using Thread.sleep(1000); but with my code it only waits 1000 at the beginning of the method and then suddenly it is solved. i want it to...

View Article


transfering from one form to another

I am using VB express 2010. My question is this. I am creating a game similar to the old D&D games. I have a store on form1 in list box fashion. I have another form that just lists all of their...

View Article

PHP form that at submit opens on same page

Hi all, Thank you for taking the time to look at my issue. I am a student and am having a a problem. I have a form that a user fills out, on submit, the form should display on the same page. I have...

View Article

Data from Form1 to Form2

I've got variables in Form1, and i want to use them in Form2, how can i do this??? Thank You.

View Article

Image may be NSFW.
Clik here to view.

How to implement Polymorphism into my inheritance program?

Also how would add display method in each class. So the display method will display all of the data members for the class it is defined in. I tried to use the display method...is it correct? By the way...

View Article


Image may be NSFW.
Clik here to view.

[C++] If condition is never true (but it should be)

Gonna try and keep it short and clear ('cause I thought I posted this, but accidentally didn't, so I have to retype). Anyway, I have this if condition which never seems to be true, but should be! It's...

View Article

JavaFX 2.X disable Button.

I am looking all over the internet and i cannot find how to disable the button in JavaFX. Maybe there is a special Property that i should be searching for and not a method? Not sure. In Swing it was...

View Article


Program Crashing and can not figure out why

So we were giving an assignment to write a SplitList function using an array based unsorted list and pointer based unsorted list. My problem is with the pointer based code. When I run the code (using...

View Article

Searching a database with a ComboBox (VB 2008)

Public Class Form1 Private Sub btnsear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsear.Click If (txtname.Text = "") Then MsgBox("Invalid Search") Else Try Dim newsql...

View Article


Mysql Query Builder

My project i'm trying to build is in the title, looking for a class that will dynamically build me a complex mysql SELECT query conforming to this... http://dev.mysql.com/doc/refman/5.0/en/select.html...

View Article

Texture movement when score hits 200

Ok so this may seem like a basic programming question, but i'll go for it anyhow. I'm programming a 2D space shooter in XNA and i want a texture i created to slide in from the side of the screen then...

View Article

Image may be NSFW.
Clik here to view.

SQL Fiddle

Just wanted to mention this site I came across SQL Fiddle for testing SQL statements (MySql, MSSQL, PostGre, etc.). We can build a schema using the Text to DDL button, which seems to work well. I...

View Article
Browsing all 51036 articles
Browse latest View live


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