132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for getack

Hello All! I am making a simple four-in-a-row style game where 2 players can play against eachother. This is part of an AI course I'm taking where we should demonstrate the machine (the AI) playing against the player. The game part of the game and the gui are completely separated. …

Software Development gui java java-netbeans java-swing
Member Avatar for rfq
0
3K
Member Avatar for oldSoftDev

Hey guys, I am setting my viewmodel as datacontext in my xaml but I override it to my view to make few functions work however to achieve the visibility on some grids and I have a property in my VM can I override my datacontext back to my VM? If …

Software Development vb.net
Member Avatar for pfaux12
0
188
Member Avatar for ishtine18

[B]i'm having a problem in retrieving .wav file in ms access in my code in c# it says that the wave header is corrupt! can someone help me with this? thanks :)[/B] [code]cmd = new OleDbCommand("Select SOUND from SOUND where TITLE like" + "'" + textBox1.Text + "'", conn); dr …

Software Development file-stream
Member Avatar for aniperiye
0
1K
Member Avatar for riahc3

Hello I feel stupid for actually asking this but how do I ping a IP address in Java? I have this code [code] try { // Google.com if (InetAddress.getByAddress("173.194.35.133".getBytes()).isReachable(1000)==true) { //Boolean variable named network network=true; //Ping works } else { network=false; //Ping doesnt work } } catch (UnknownHostException e3) { …

Software Development dns java
Member Avatar for riahc3
0
984
Member Avatar for shubham123

**hi ... i am new in java swing. i am using netbeans. i've two frame named jFrame1 & jFrame2. jFrame2 contains a jTable. jFrame1 contains a jTextField & a jButton. while user input a value in jTextField and press JButton, jFrame2 will appear and output (from mySQL database) will be …

Software Development java java-netbeans java-swing
Member Avatar for mKorbel
0
142
Member Avatar for noobies

Hye all, I had a difficulty in codes a ball collision in java. Is there anyone could help me to code it. Here the requirement: 1) There will be two balls in the same size. 2) They move randomly at constant speed until they meet each other. 3) Once collided, …

Software Development java
Member Avatar for NormR1
0
196
Member Avatar for M09

Hello I have an experience in programming previously, and now i want learn C . how can i learn it, i means where i can learn it . in fact i am looking about sources to learn like books,web sites, and vedios. and i hope you Heuristic to the good …

Software Development c
Member Avatar for M09
0
267
Member Avatar for Exelio

hi all. Is it possible to display an image in all buttons in a datagridview(Windows Forms) button column? if yes, can you help me how to do it? Thank you, Regards Exelio

Software Development
Member Avatar for sachinmuley
0
347
Member Avatar for shilpanayar

how to transfer all items of a list box to another list box in vb? i want coding of dat.../ plz help...

Software Development vb.net
Member Avatar for Jx_Man
0
126
Member Avatar for poolet25

Well I have build a program until now with an MySql database. The programs add records for the customers and the products of the company(Its works perfect).. I am trying to build now the Orders the last part of my project but I have a little problem.. First of all …

Software Development mysql vb.net
Member Avatar for poolet25
0
179
Member Avatar for Shardendu

I was told to make a stopwatch program..but i am unable to figure out how to take come out of loop and pause it and again go back into the loop if resumed ( i tried the pause button on the keyboard and it works) but i have to take …

Software Development c++
Member Avatar for NoctiS17
0
305
Member Avatar for YiJun

Hi! I'm a newbie at java and I need help with an inventory program for a school project. I planned the inventory program for the user to keep track of their inventory in MMORPGs. I want the user to be able to add, delete, update, sort the items, also be …

Software Development java
Member Avatar for YiJun
0
2K
Member Avatar for DanOath

I am supposed to write a method to display a pattern as follows: ________1 _______21 ______321 _____4321 ____54321 ___654321 __7654321 _87654321 987654321 (underscores are simply placeholders to show alignment on my post they are not actually part of the printout) My program works and prints the aforementioned code correctly, however …

Software Development java
Member Avatar for zeroliken
0
401
Member Avatar for triumphost

It reads in the whole file.. thing is, it crashes right after it hits the last line in the file.. the file is 115 lines long.. it prints all 115 lines but for some odd reason, it crashes right after :S If I remove the blank line at the end …

Software Development c++ file-system mathematics
Member Avatar for triumphost
0
250
Member Avatar for talhatanveer

I am getting errors on installing Visual Studio 2008 on Windows 7 machine. On digging down deeper I found that "Microsoft Visual Studio Web Authoring Component" is not getting installed which is a pre-req for VS 2008. I further drilled down and searched different forums over the internet, they mostly …

Member Avatar for talhatanveer
0
939
Member Avatar for zifr

how can i write a program, which accepts the starting address (in BX) of a text (terminated by a “%”) stored in data segment and replace all lower-case letters by their upper-case counterparts. Non-alphetic characters will remain as is.(8086)

Software Development assembly
Member Avatar for spixy
0
6K
Member Avatar for guy40az

I need to define a two dimensional array and assign values. I was wondering if there is an easier way in vb.net to do this other then how I have it below. some of my other arrays have over 700 elements in them. Dim L1(8, 2) As Double L1(0, 0) …

Software Development vb.net
Member Avatar for vasim jada
0
175
Member Avatar for bubbleT

Hi I'm new to XML file. I have the following format XML file and I only need to read the value for data name = "A2" in VC++. How to read the value using the XML DOM methods without looping all the nodes? My xml file is as follows: [QUOTE] …

Software Development c++ xml
Member Avatar for bubbleT
0
809
Member Avatar for spowel4

I need to create a service that will call a batch file. Here's the catch though - once the service calls the batch file, the command window that the batch file runs in must be visible on the desktop, it cannot run hidden. So far nothing I've tried results in …

Software Development
Member Avatar for viljoed
0
241
Member Avatar for TheFearful

Hey, I am working on a project and I want to know how to return a class object that is a Character Array. I am having trouble with it and can't find out any way to do this. Thank you for taking the time to help (:

Software Development c++
Member Avatar for triumphost
0
230
Member Avatar for Thermalnuke

hey here is what i got.... i get an error after my while statement that i need a ; after my while but that dosent make any since, cause there shouldnt be any ideas???? suppose to be an easy loop statement if the string does not contain @ then keep …

Software Development java java-swing
Member Avatar for Thermalnuke
0
97
Member Avatar for frivolous

i want to read mp3 file and extract its features which i will use further for identifying mood of song. can u help me in extracting feature of mp3 and which feature will b most appropriate for mood identification?? thank u

Software Development java
Member Avatar for zeroliken
0
298
Member Avatar for jackmaverick1

I've got a wall in my 2-D game. I've got everything except the not-allowing-you-into the wall part. I know I can use the intersect method on some Rectangles to know if they intersect, but I need to know where they intersect so that I can kick them out when they …

Software Development java
Member Avatar for NormR1
0
121
Member Avatar for xiiopao

good day guys.., just want to know more about method signatures.., can anyone here give me some samples or method signatures that could be helpful in hotel reservation program and flight reservation program.., i don't really have a code just need sample method signatures thanks guys =)

Software Development java
Member Avatar for NormR1
0
183
Member Avatar for Hypnos_16

I'm trying to write a program that allows a user controlled character to move around a maze. That problem i'm having is having it determine when it runs into a wall. I have a code done up to handle it. I'm just running into some errors i need help cleaning …

Software Development java
Member Avatar for NormR1
0
275
Member Avatar for pseudorandom21

Can I use a DLL embedded in an executable (as a resource) without writing it to the disk? (Windows)

Software Development c++
Member Avatar for pseudorandom21
0
1K
Member Avatar for pseudorandom21

I'm attempting to transfer some OpenCV images over the network, I've been trying to put them into a format I can easily encrypt and transfer, but I'm almost certain it's not going to work properly. Essentially the IplImage is a structure but it has a pointer that points to some …

Software Development c++ data-structure image
Member Avatar for pseudorandom21
0
771
Member Avatar for arty.net

Hi guys, i have a tricky problem with this wxgtk gui and thread nesting. As you can see i'm trying to collect data through a buffer ( self.data= dict() ) through the main gui. I need to get the data from the ComboBox and the three textfields then i need …

Member Avatar for arty.net
0
161
Member Avatar for george8

Hi everybody >> Thanks to this forum >> I need your help please .. My problem in the Combo Box and SQL query .. I have three comboboxes linked to an Access 2007 database first one "Department" second one "Year" third one "ClassRoom" in third combobox I need display the …

Software Development microsoft-access vb.net visual-basic
Member Avatar for george8
0
215
Member Avatar for bibiki

Hey there, I am trying to build an application that listens to my mouse. once I click on my panel, it reads the x, y coordinates of the point I clicked on. Second time I click the panel, it reads the x, y coordinates of this other point and draws …

Software Development java java-swing
Member Avatar for NormR1
0
154
Member Avatar for petrovitch

I've been running a python script successfully on Linux for about a month. Recently, I got a message that says "can not execute", "No such file or directory". I can type python and it runs on command line, but my script will no longer run on the daemon. It has …

Software Development python
Member Avatar for woooee
0
71
Member Avatar for coolbits

I want to create a struct array and get the max number of books written by particular author...The problem is that i can't get the number. I am not finished up yet with the code,but i don't know why i am not getting anything when calling the Max function.Please advise! …

Software Development c++
Member Avatar for coolbits
0
147
Member Avatar for soo5Lo6k

Hi, I am programming some console application that updates itself periodically from Internet. (windows.h + pthreads for win32) I want to do something like: [CODE] MAIN FUNCTION: create thread launch updater THREAD: infinite loop - starts the main application, exits if application ended normally but when it was killed by …

Software Development c
Member Avatar for Ancient Dragon
0
1K
Member Avatar for xtinab

For a project I'm doing for class I have to make a virtual method in a class. A subclass will inherit the virtual method and instantiate it in a separate .cpp file. The problem I'm having is that I need the class that has the virtual method to instantiate its …

Software Development c++
Member Avatar for Ancient Dragon
0
222
Member Avatar for rigoalhn

I need help with this assignment. I got some done for the input validation but im having problems to understand classes. Ill provide the code below. Design a class called Date that has integer data members to store month, day, and year. The class should have a three-parameter default constructor …

Software Development c++
Member Avatar for Ancient Dragon
0
3K
Member Avatar for zingwing

By using an if statement how could i get a character to detect end-of-file. i was thinking something like this: [CODE] char a = '\0'; int count = 0; if(a == EOF) { count++; }//endif [/CODE] but it doesn't seem to detect the end-of-file. Any idea would be appreciated. Thanks …

Software Development c
Member Avatar for Ancient Dragon
0
146
Member Avatar for mohy93

i need help with this program, i need to give the user 20 chances to guess, and they should be asked if they want to playagain.(by playing again i mean generating a new number with 20 new chances) after playing for how many times i should count the number of …

Software Development c++
Member Avatar for WaltP
0
215
Member Avatar for pattmorter

So I was doing some code for input validation on my homework program and i have the correct code to make sure a number entered it correct but I thought, what if they enter a letter. We aren't required to make sure that the user entered a number but how …

Software Development c++
Member Avatar for WaltP
0
179
Member Avatar for IDC_Sharp

I'm trying to install Visual Studio 2010 on Windows 7 64-bit and I keep getting following screen: [url]http://imgur.com/C0bJv[/url] I tried to install also Visual Studio 2008 with similar result. Any idea what could it be?

Software Development visual-studio
Member Avatar for thines01
0
570
Member Avatar for AaronDickey

I'm having some issues with this code: [CODE] Imports System.Data.SqlClient Public Class loginForm Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load '--Connection string to POS database Dim loginFormConnection As New SqlConnection("SERVER = localhost\SQLExpress; DATABASE = POS; INTEGRATED SECURITY = true;") '--Check to see if Windows Point …

Software Development sql vb.net
Member Avatar for Begginnerdev
0
406
Member Avatar for Denden17

Employee Record Hello, Ive just wanted to get the idea for my problem. Im making payroll system now. I just wanna know what is the way of tracking the record of employee when i save theyre info in payroll. Like if the employee got paid in these date lets just …

Software Development vb.net
Member Avatar for Begginnerdev
0
145
Member Avatar for ringo_tech

hi there, i have a simple code of voice chat found it in Java Developer Solutions [URL="http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html"]http://javasolution.blogspot.com/2007/04/voice-chat-using-java.html[/URL] i tried to add simple GUi consists of a text where i can enter the server ip and a button click it to connect (calls CaptureAudio()) but when i try to use this …

Software Development gui java
Member Avatar for ringo_tech
0
104
Member Avatar for needjavahelp

I need help with a java program i have to make a program which allows users to draw free hand on a screen, i have no idea how to do this and i need to also understand the code that I use. I also need to put buttons to the …

Software Development java
Member Avatar for jbennet
0
132
Member Avatar for Barbarrosa

Does anyone know how to close a file? I saved an image... then when i try and save the image to the same filename.. or delete the file after i saved it... i get an error which states that the file is being used by another process. Has anyone come …

Software Development file-system
Member Avatar for DanOrtega
0
1K
Member Avatar for bloodbender

Hi guys, Is there a way to confirm your answers for simplifying boolean algebra OTHER THAN truth tables? AND = * OR = + p * q * r + p * r is simplified into just p * r, which of course is the correct answer, but how can …

Software Development java
Member Avatar for stultuske
0
171
Member Avatar for 4evrmrepylrning

Hi all. My new job involves writing scripts for people in other departments. I'm pretty much on my own with this and I'm still a beginner with Python(I think my brain is still in PHP mode and I'm still struggling with this object oriented approach). Here is what I have: …

Software Development python
Member Avatar for Gribouillis
0
148
Member Avatar for LFCDay123

I have been given an assignment where a company requires an application that displays coffee usage information for the managers. I've been given sample data for last years monthly usage amounts in kilos which are: 400.5, 450, 475.5, 336.5, 457, 325, 220.5, 276, 300, 320.5, 400.5 and 415. I need …

Software Development data-structure visual-basic
Member Avatar for thines01
0
123
Member Avatar for gogs85

How to each file that is saved (savedialog) to direction, example : C:\Example\example.pdf

Software Development pdf
Member Avatar for gogs85
0
71
Member Avatar for RDane

Why do I always get the error Student_Id do not have a default value? Is there something some with my code? Cant I do 2 PreparedStement and execute it together? [code] private void cmdaddMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cmdaddMouseClicked // TODO add your handling code here: //String sql = "INSERT INTO student (Student_ID, …

Software Development java
Member Avatar for javalover
0
474
Member Avatar for ASPLOST

In my program I have a hint button for a puzzle that randomly selects a textbox, populates it with a number, and changes its background color. The issue is that the hint button works correctly for the first 2 hits, but after that the previous textboxes that were colored will …

Software Development puzzle
Member Avatar for thines01
0
99

The End.