132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bharath54321
Member Avatar for mKorbel
0
130
Member Avatar for MeandJava

Hello everybody, My team and I have an idea of a product to develop. It's a kind of game we want to run in Actionscript. Unfortunately our hardware (buttons, lights, maybe sounds) works with Java can we combine those two or do we have too choose one of the languages? …

Software Development actionscript java
Member Avatar for peter_budo
0
148
Member Avatar for iShrne

Hii every One i create Doubly Linked List with all methods i need , but is still one question which i really did not understand it very well it said : write a method to create linked list from double linked list using the methods available in myLinkedList(which have the …

Software Development java linked-list
Member Avatar for JamesCherrill
0
153
Member Avatar for lucksoar

Hello, I was curious to know if there was some way to change a .py file to a .pbp file. I know that I can easily make an .exe file with py2exe, is there something like that for pbp?

Software Development python
Member Avatar for TrustyTony
0
288
Member Avatar for Despairy

we had an assigment a few months ago to build a sodoku solver recursively so here it is.... i hope noone was bored enough to build one already. [CODE]//////////////////////////INCLUDES////////////////////////////////// #include <iostream> #include <cstdlib> //////////////////////////////////INFO////////////////////////////// /* */ //////////////////////////////USING///////////////////////////////// using std::cout; using std::cin; using std::endl; const int N=2; //////////////////////////////////PROS////////////////////////////// int sodoku(int array[N*N][N*N], …

Software Development c++
Member Avatar for Despairy
0
104
Member Avatar for amateur¬

Right so what I'm trying to do is to take a text file i.e. in Notepad/MW from disk, encrypt it and transfer it to another computer where it will be received, decoded and stored on disk as a plain text file. I have to use the COM1 serial port to …

Software Development c++
Member Avatar for abhiattri.love
0
176
Member Avatar for computerbear

Hello, I have a program I am working on that is working, except for the output for the avg. I know NaN can occur when the denominator is a zero, but mine are not zeros. Here is the relevant code. [CODE] double avg6 = (grade6tot/cont6Count); // grade_tot's are declared as …

Software Development
Member Avatar for computerbear
0
126
Member Avatar for beejay321

so im trying to build a connect 4 gameboard using charecter arrays and it has to look like this O | O | O | O ------------- O | O | O | O ------------- O | O | O | O ------------- O | O | O | O …

Software Development c++
Member Avatar for WaltP
0
861
Member Avatar for PM312

Hi I have program where multiple forms remaine open at a time. I dont want user to move away from last opened form unless he closes that form. i.e last opened form should not lose focus by clicking on other forms unless active form is closed. How it can be …

Software Development visual-basic
Member Avatar for WaltP
0
570
Member Avatar for rbduck09

To anybody that may know and can help me. I am not looking for an answer to anything I just need to know to write this equation in C++

Software Development c++
Member Avatar for rbduck09
0
244
Member Avatar for ajinkya112

Hey guys, I have an application that connects to DB that is on a remote PC. Problem is after a couple of minutes or so, it starts throwing exception. 1. The specified network name is no longer available. 2. Connection was forcibly closed by remote host. 3. connection was closed …

Software Development
Member Avatar for abelLazm
0
172
Member Avatar for huBelial

I'm trying to create a program that will connect to my access database and perform a simple query. Then I want to put the data (image and other info) into active directory. But I keep getting this "Declaration expected" error when I'm setting up my connection. Can someone please take …

Software Development vb.net visual-studio
Member Avatar for fariid
0
194
Member Avatar for Nevillelajru

i have a form that edits contents in a database. everything is correct to my point of view but when i try to update a path of an image it gives me an error telling me System.Data.OleDb.OleDbException was unhandled Message="Incorrect syntax near 'C:'." Source="Microsoft OLE DB Provider for SQL Server" …

Software Development
Member Avatar for abelLazm
0
105
Member Avatar for bhagawatshinde

Hi Everyone, I have no idea about How to check Richtextbox vertical scroll bar is ON. Means suppose Richtextbox has 3 lines displayed perfectly but when 4 line is inserted vertical scroll bar is on Now i want to check at runtime the vertical scroll bar is available now... Can …

Software Development
Member Avatar for bhagawatshinde
0
1K
Member Avatar for ashvyas

HEllo, After dat RFID TAG detection program, now i want to move 1 step further. Like if TAG is Detected as 012234F13A Now weneva dis code is detected, it must fetch a name from Database For example, m designing a Library system From RFID There must be two fields, 1. …

Software Development visual-basic
Member Avatar for ashvyas
0
127
Member Avatar for Khoanyneosr

[CODE]/* Beginning Game Programming, Third Edition Chapter 3 Direc3D_Windowed program */ #include <windows.h> #include <d3d9.h> #include <time.h> #include <iostream> using namespace std; #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"d3d9.lib") //program settings const string APPTITLE = "Direct3D_Windowed"; const int SCREENW = 1024; const int SCREENH = 768; //Direct3D objects LPDIRECT3D9 d3d = NULL; LPDIRECT3DDEVICE9 …

Software Development c++
Member Avatar for Khoanyneosr
0
311
Member Avatar for jmcginny5

I have to write this program, and I am not sure exactly how to write the functions and where to put what. I have tried several times, and decided to start over from the beginnning. What i have so far is at the very bottom. Here is the prompt: Overview …

Software Development c++
Member Avatar for jmcginny5
0
3K
Member Avatar for MaddTechwf

I've been trying to figure out the easiest way to populate a menu to allow for easy updating in the future. I would like to add anything to a specific folder and when the program runs it would be populated by the contents of the specific folder. Is this possible? …

Software Development vb.net
Member Avatar for MaddTechwf
0
221
Member Avatar for madfase

Goal: drag-and-drop from one button to another button and have access to the following info from the original button: - Image - BackColor - Tag Problem: I can only implement one. If I try to implement all three I get null pointers. [code] private void button1_MouseDown(object sender, MouseEventArgs e) { …

Software Development c c# c++
Member Avatar for madfase
0
178
Member Avatar for krii017

i got a problem i have a registration and log in program the registration is fine but on log-in , the 1st entry on registration is the only accessible on log in i tried the 2nd and 3rd username with correct psw but it got an error heres my code …

Software Development c#
Member Avatar for krii017
0
160
Member Avatar for valestrom

Not sure what the exact title should be. But at a point in my text game. I want to have multiple selections. But whenever I put the code (shown below), compile the program, and run it I get this. It goes through my main menu, new game, all the stuff …

Software Development c++
Member Avatar for valestrom
0
302
Member Avatar for linezero

I have tried many ways to download the files in a listbox. non-seems to work. the listbox has url eg: [ICODE] [url]http://www.hahaww.com/2.pdf[/url] [url]http://www.hahaww.com/f1.pdf[/url] [url]http://www.hahaww.com/24.pdf[/url] [/ICODE] I want to download the files until ListBox.Items.Count = 0 which each file with number ording... for eg: 2.pdf will be 1.pdf f1.pdf will be …

Software Development file-system vb.net web-browser
Member Avatar for codeorder
0
738
Member Avatar for Frengerdany

Hi I have a problem with RSA encryption/decription of txt files, I have one method to create a pair of RSA keys and save them into a file, then i made two methods, one for encryt and one for decrypt, encrypt method works fine, but when I want to decrypt …

Software Development encryption java
0
147
Member Avatar for Suzie999

Hi I'm having some headaches trying to find how to get the process of a parent application that starts my C# console app. I've been trying a lot of things all day and come up short. The most likely candidate was this, except it does not return what I expect …

Software Development
Member Avatar for Suzie999
0
648
Member Avatar for jackmaverick1

Hi, I'd like to learn some basic graphics (2D) that would be easy to use and quick (So no OpenGL, or Direct X). Also, it NEEDs to have Linux portability. I've already tried Allegro and paintlib, neither of them could I install and they didn't look quite as easy as …

Software Development c++ image opengl
Member Avatar for jackmaverick1
0
158
Member Avatar for RagingRiver

I am having a problem with left alignment after adding a second JPanel. Both JPanels are using the BoxLayout with the first set to Y_AXIS and the second set to X_AXIS. If you comment out the add(twoPanel) it results in the desired left alignment. I don't understand why the alignment …

Software Development java java-swing
Member Avatar for Ezzaral
0
414
Member Avatar for tmcculloch

Program reads in a word and outputs the last character then a "," then the last 2 characters of the word

Software Development java
Member Avatar for steelshark
0
152
Member Avatar for peck3277

Hi guys, Could anyone show me the best way to run a function every 10 minutes for ever? Thanks guys!

Software Development c
Member Avatar for darkbreaker
0
74
Member Avatar for eskimo456

Hi there I am developing a grid system that would generate non-overlapping grid cells. Upon creating a grid I want to be able to check to see if the potential grid overlaps any other grid cells. If it does then clamp the new grid cell to the already existent grid. …

Software Development c++ linked-list
Member Avatar for eskimo456
0
148
Member Avatar for Labdabeta

I have asked this question before on a different forum without success. I would like to know how to do templated type conversions for a class. The syntax is getting me though. Here is what I want: [CODE]class Thing { public: template <typename T> T operator T(); }[/CODE] This would …

Software Development c++
Member Avatar for Labdabeta
0
99
Member Avatar for zachattack05

I've been struggling with this for a while. It's not so much a "problem" as it is an approach. I've been working on my client/server socket program and I've reached the point in my planning (which isn't very far in) where I really need to think about how the server …

Software Development client-server queue
Member Avatar for mcriscolo
0
355
Member Avatar for VBNick

Hi, if anybody has a second, I have a quick question: In the following situation, Container can contain any combination of the derived classes. If I wanted to go through "Container", for example, and delete all instances of the class DerivedC, how would I do that? [CODE] class Base; class …

Software Development c++
Member Avatar for VBNick
0
237
Member Avatar for Labdabeta

Quick question (hopefully), how do I save an SDL_Surface image to a file?

Software Development c++ image
Member Avatar for Labdabeta
0
447
Member Avatar for burntout

Im working on an app that takes two numbers(lower bound and upperbound)and determines all the prime numbers within the specific bounds, inclusive. [code] Public Class primeNumber Private Sub calculatePrimesButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calculatePrimesButton.Click 'declare variables Dim N As Long Dim LowerBound As Integer Dim UpperBound …

Software Development app-store vb.net
Member Avatar for Jx_Man
0
384
Member Avatar for visom

Hi, I'm making a code that calculates the number of days between two dates. If you punch in 1 for month and 5 for days, and you punch in 2 for month and 1 for day, it should say "27 days between these two dates". Right now the problem I …

Software Development c++
Member Avatar for Despairy
0
123
Member Avatar for ashley11

Hi, I have array1 and array2. I need to compare this two array. The number in array1 which is same in array2, it would not come out any output. If the number in array1 is different with the number in array2, then it will show out the number. Now my …

Software Development
Member Avatar for ashley11
0
101
Member Avatar for margeaux54

ı have a question. I know which data type and its specifiers . but ı do not know that for example "int" data type how many number takes or long integer how many number takes. ı calculated their bytes but still ı do not know when ı choose them. again …

Software Development c++
Member Avatar for Fbody
0
170
Member Avatar for josephP

This code how to find the smallest number. My question is now how to find the largest number? [CODE] int iSmallest = int.MaxValue; int iSmallestLocation = 0; int[] iArray = new int[5]; for (int i = 0; i < iArray.Length; ++i) { Console.Write("\nEnter a value: "); iArray[i] = int.Parse(Console.ReadLine()); } …

Software Development
Member Avatar for josephP
0
94
Member Avatar for stupid guy

hi all, m new to this site and m newbee to this java thing..i have a project dnloaded from somewhere ..and now i have some problem with updating the database ..following is the [CODE] cnt=cnt+Integer.parseInt(dis.getText()); System.out.println(cnt); cnt=cnt+ Integer.parseInt(ent.getText()); System.out.println (cnt); String str="update bikeinfo set stock =" + cnt + " …

Software Development java java-swing
Member Avatar for Ezzaral
0
131
Member Avatar for jamshed ahmed

hellow and hi! i am working on billing system first i want to define purpose of bellow code this code will multiply the qty and price and assign the value to total column and validated on enter key if i press enter key and value is price or qty is …

Software Development vb.net
0
104
Member Avatar for Khoanyneosr

[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …

Software Development c++ image visual-studio
Member Avatar for Khoanyneosr
0
271
Member Avatar for lxXTaCoXxl

Okay so a new problem presents itself to me. I have an intense source code that is currently about 5,000 lines long and is quite frustrating to manage. I want to learn how to use multiple source files, like with c++ you would use include. [CODE]// It says it's C# …

Software Development
Member Avatar for lxXTaCoXxl
0
178
Member Avatar for MrHardRock

Hey everyone I need to write a tic tac toe program vs the computer using an array. I have gotten almost all of it done but I am totally stuck on this error. Any help would be much appreciated, thanks in advance. My error being on line 221 and 222 …

Software Development java
Member Avatar for audiomatic
0
235
Member Avatar for huBelial

Hello, I'm trying to figure out how to put jpeg images from my access database into active directory. Can anyone suggest any helpful tutorials that might get me started because I really don't know where to begin? I'm currently looking at one particular tutorial but its not making any sense. …

Software Development vb.net
Member Avatar for huBelial
0
162
Member Avatar for Despairy

we just started studying about linked lists and i wrote a simple code to build up a link list. than post the sum of all the numbers inside the list my problem is that i need to delete all even numbers and i cant figure out what is wrong with …

Software Development c++ linked-list
Member Avatar for Despairy
0
4K
Member Avatar for prutudom

I try to develop the program with C# VS in Windows Mobile5.0 My application up and running, however when I scan the barcode and get the data from database it work fine. Once I keep scan the barcode for a while. Program stop working and sometime can be terminate as …

Software Development asp.net c#
Member Avatar for prutudom
0
745
Member Avatar for hansel13

[B]The Producer Thread[/B] What does a producer thread write to the buffer? Create 20 different files (named in0.txt, in1.txt, ... in19.txt). [Testing Hint: you want to be able to tell from the text which file it is from, so the contents should be aaaaaa or bbbbbbb etc..] Vary the length …

Software Development c linked-list queue
Member Avatar for funter
0
2K
Member Avatar for rp45

Hello, I just joined this web site and i'm new to programming and i'm stuck on this program, can't seem to finish it, after couple of days of trying to figure this program out, i realize i need help. The program is pretty much done i just don't know where …

Software Development c++
Member Avatar for VernonDozier
0
95
Member Avatar for a.muqeet khan

guys i made a program and it is working the prob is that it is not displaying the values to in float so guys plz help me in this regard #include "stdafx.h" #include<iostream> #include <stdio.h> using namespace std ; void reduce(int&,int&); class decimal { int numerater; int denominater; public : …

Software Development c++
Member Avatar for VernonDozier
0
191
Member Avatar for HASHMI007

[CODE]/* I made point class it has two objct x,y. i made saparate function for giving values to x & y object but when i run the it provide wrong answer. i enter firstValue=5 , secondVaue=6. the program shoul provide same answer same as like(5,6) but result show after excuting …

Software Development c++
Member Avatar for HASHMI007
0
112

The End.