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

How to insert data from DatagridView to MS Access Database

Hello my friends, I made some application which fill an DatagridView with some data and I need the easiest way to make an ms access file and import all data from DatagridView in it.After that I will...

View Article


Make code recognize "wolf" object and run away from it

Hey i am running a wolf eat sheep tournament and i am in charge of writing the sheep player code. I am having trouble with just starting how to find the wolf object in my code. Right now i have the...

View Article


Why is this array all null?

Can anyone tell me why the array petArray is null when I try to print it to the console? import java.awt.BorderLayout; import java.awt.Component; import java.util.*; import java.awt.TextArea; import...

View Article

strings and loops?

hi. im trying to make a loop that will end when the user types in 8 numbers for the telephone number. a function will read in the telephone number itself and the loop will call that function. the...

View Article

linux c communication

Process (coordinator) process creates 10 jobs (pool of processes). Workflows waiting to be awakened by the coordinator perform a job and wait again. Coordinator transmits tag (integer) of the first...

View Article


Image may be NSFW.
Clik here to view.

Bubble sorting multi-d arrays

Please help me with this!!! I've looked every where and tried everything but I cannot figure out how to sort by zipcode, the last element of my array. If someone can just explain how to choose which...

View Article

Sleep alternate

Hello all, I have a thread that I use a loop and i put the sleep method into it to incriment the process to where I need it: while(MODE == 3 && !GAMELIST.isEmpty() && sv.getKeepGoing())...

View Article

Seperate Compilation

Hi, I am trying to separately compile a program in C++ using UNIX and pico editor, however I am constantly getting errors. Here is my code. Any help would be appreciated. Header File #ifndef...

View Article


GridBagLayout text not appearing on top left corner of the frame

I cant see the text appearing from top left corner... how can i modify the code to do this JFrame frame= new JFrame("frame name"); frame.setVisible(true);...

View Article


make the main program send the original number back to function

hi. im not sure how the main program will send the original telephone number in my program to a second function. the first function just reads in the telephone number and the second function...

View Article

For..Next Nested Loop

I know that assigning x = store1Payroll is just setting it to 0. I'm trying to determine how I can use the store value to modify which label the amount goes into. Pretty stuck right now and would...

View Article

How do you place information from an xml file into a listbox?

Here is what I have. I would expect the xml file to appear in the listbox after the user selects a term. However the screen just goes blank. Any ideas? using System; using System.Collections.Generic;...

View Article

Lottery ticket verification.

Question? A lottery ticket buyer purchases 10 tickets each week; always playing the same 5-digit “Lucky” combinations. Write a program that initializes an array an array of 10 integers and then allows...

View Article


Checking if a Number is Entered?

I'm trying to check if a number is entered in a textbox. Yes, I know how to use IsNumeric, but that's not what I need. Let's say someone gives you a form that has something like First Name with a...

View Article

Java Employee Class and HR Class Programs

Hi everyone! I need some help with these two programs /: I have attempted both but I know that they are both incomplete. If somebody could help me with both programs it would be much appreciated!! Part...

View Article


Image may be NSFW.
Clik here to view.

Stacks in python (Postfix evaluation)

Hey everyone! I need some help to complete this code i am doing for my programming class. I a working with stacks and need to create a program that evaluates postfix notations. I have input...

View Article

Help on displaying select sums for summation

I finished the code, I'm just confused on how to display certain sums for the summation. I need to only display the "i"th term of S(i) = 2,3,4,5,6,7, and 10. I do not know how to target these numbers...

View Article


Deleting int value

Hi, this is my first post so forgive me if I goof up. I'm trying to write a sign in program and I need to get the value of the sign in code deleted so that it can be used again and recalculated later...

View Article

Image may be NSFW.
Clik here to view.

ArrayList to Array without affecting my program[functional] JAVA

Simple question yet somewhat complex for me to get it working. I want to get rid of my arraylist because I'm not suppose to use arraylist in my project. Background about my app, it's a polymorphic app...

View Article

singalton class for multiple JVMs

Hi, I want to know that ... how to create a singleton class in java for multiple JVM... Thanks Manoj Bansal

View Article
Browsing all 51036 articles
Browse latest View live


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