132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for stevenaseron

Cashier 1.0 is a C++ program that displays on the screen item codes with corresponding item description and price (at least 10 items). It asks the user to enter the code of the item purchased by a customer. Then, its description and price are displayed on the screen too. Also, …

Software Development visual-basic
Member Avatar for cgeier
0
220
Member Avatar for and12

The assign was a game called FortuneCity The prof wanted us to follow the MODEL - VIEW - CONTROLLER implemention. The MODEL contains only functions that can be used in the game. It has NO GUI stuff in it. The VIEW contains only contains the GUI interface. The CONTROLLER allows …

Software Development gui java
0
63
Member Avatar for akulkarni

i tried the following code but not getting the desired output. I need to extend Applet class along with dialog class.how do i do that? [code=JAVA] import java.awt.*; import java.awt.event.*; import java.applet.*; /*<applet code="YesNoDialog" width=400 height=400></applet>*/ public class YesNoDialog extends Dialog implements ActionListener { private Button yes=new Button("Yes"); private Button …

Software Development java
Member Avatar for quuba
0
134
Member Avatar for Laidler

i am currently working on a GUI for a program. i have created 100 jpanels which i have set opaque and colored blue. All of these blocks get an error which says that an identifier is expected for the lines which set them opaque and colors them, heres an example: …

Software Development gui java
Member Avatar for Laidler
0
91
Member Avatar for Zibo

Hello. I'm trying to write an application, which after pressing a key does a particular action. The thing is I need the application to receive key events even if JFrame isn't itself focused (is iconified). I've read somewhere that it cannot be done - is that true? If it is …

Software Development java
Member Avatar for quuba
0
2K
Member Avatar for qkslvr1621

Code compiles and runs correctly, just need to have the 'total' keep adding to itself after the do you want to continue question. Right now it clears it everytime after it asks that question (Hopefully that makes sense) [CODE]#include <iostream> using namespace std; int main() { double length =0; char …

Software Development c++
Member Avatar for Protuberance
0
105
Member Avatar for JameB

Hello, I am new to Java programming and I just got the NetBeans IDE. One problem that I've been having with Java is the input. [code=java] package learning; public class Main { public static void main(String[] args) { int num1 = 0, num2 = 0; cin >> num1 >> num2; …

Software Development ide java java-netbeans
Member Avatar for JameB
0
152
Member Avatar for osan

Hi, I am using Cimage library to do a Sobel algorithm. Here is the code [code=cplusplus] CImage * image1; image1->Load(".\\tempSnapShot1.bmp"); CImage* returnImage = new CImage(); Sobel(image1,returnImage);[/code] The Sobel function is [code=cplusplus]void CI90ControllerDlg::Sobel(CImage* image,CImage *returnImage) { returnImage->Create(image->GetWidth(),image->GetHeight(), image->GetBPP(),0); double GX[3][3],GY[3][3]; int sumX = 0; int sumY = 0; int SUM = …

Software Development algorithm c++
Member Avatar for Dave Sinkula
0
290
Member Avatar for Dan08

Hi there, I'd like to know if is there a way to check my e-mail and send e-mails with python. I am trying to do that in Window Vista, and I've tried some codes with smtp, but I couldn't find a solution. Can anyone help me out with this, thanks …

Software Development python
Member Avatar for Dan08
0
253
Member Avatar for no1zson

Realized something today by accident. I am asking for a dollar amount in my program, and checking to make sure it is a valid amount above $0. What I am not checking for is a character response. I have tried some stuff, and nothing seems to work. Can anyone look …

Software Development c
Member Avatar for no1zson
0
174
Member Avatar for osei-akoto

I want to use to dimensional arrays to draw a graph. How do i go about it. I have never use it before. Please

Software Development c
Member Avatar for yellowSnow
0
116
Member Avatar for jake43

How to compute surface area of an object? Write a program that computes the surface area of an object. The user will choose a circle, rectangle or triangle. The program will prompt the user for the values needed (radius, 2 sides or base & height), then show the answer. Requirements: …

Software Development c c# c++
Member Avatar for serkan sendur
0
207
Member Avatar for DaBunBun

So I was looking over someone elses code, and the main is unusual, no type. its just: #include <math.h> main(int argc, char *argv[]) I've come up with 2 theories: 1) It defaults to int? 2) #if/#endif directives somehow negate the need for int? Have no experience with this though, so …

Software Development c
Member Avatar for Salem
0
135
Member Avatar for nessa203

I thought I'd set myself a challenge as I've been programming in Python a little while now (nothing too heavy, mind you!) and make a 4-in-a-row game which I could play against the computer or another person, on a grid which i specify how big. I though I had the …

Software Development python
Member Avatar for woooee
0
464
Member Avatar for ChiboSempai

So I'm working on a GUI program in Java, and I'm having problems dealing with some text fields i have. The text fields are resizing themselves the same size of the window, making them much larger than I wish. [IMG]http://i6.photobucket.com/albums/y201/ElChibo/tioex-2.jpg[/IMG] I would like all of the text labels to be …

Software Development gui java
Member Avatar for BestJewSinceJC
0
128
Member Avatar for darkyere

Ive know started up programming again. My last try was in delphi where my best project was a security screensaver. Ive know decided to start up programming again and my choice this time was java whit netbeans and my project would be to rewrite the Security screensaveer and add any …

Software Development delphi java java-netbeans
Member Avatar for BestJewSinceJC
0
138
Member Avatar for etm9413

Hi all, I got the following XML C# string: [CODE=XML] <Grocery> <Food> <Fresh Food> <fruit>BANANA</fruit> <meat>CHICKEN</meat> <desert>CAKE</desert> </Fresh Food> </Food> <Food> <Fresh Food> <fruit>APPLE</fruit> <meat>BEEF</meat> <desert>PIE</desert> </Fresh Food> </Food> </Grocery> [/CODE] I want to remove the Fresh Food tags to obtain the following: [CODE=XML] <Grocery> <Food> <fruit>BANANA</fruit> <meat>CHICKEN</meat> <desert>CAKE</desert> </Food> …

Software Development apple xml
Member Avatar for DdoubleD
0
196
Member Avatar for xyzt

Hello, I was just trying to write some simple codes to learn C. I wrote 3 functions, create a list,print a list and free a list. but i get segfault while printing the list. (by the way, list is not a list datastructure. it's just an array) In create_list, I …

Software Development c
Member Avatar for Tom Gunn
0
149
Member Avatar for crackerjacker

so basicly what i want to do is get a list of the open windows, like all of the tabs in the taskbar. thanks for your time!

Software Development visual-basic
Member Avatar for vb5prgrmr
0
136
Member Avatar for manutd4life

Hello can some1 help on how to create a subform in vb.net, cause i dont have any idea how to do it. Please help

Software Development vb.net
Member Avatar for Piya27
0
87
Member Avatar for nkarvi

Hi everyone! I have an application, where a user inputs some text in a RichTextBox. I want to add a spell check, so first I have to store the words from the rtb. How to do it? Thanks

Software Development
Member Avatar for nkarvi
0
134
Member Avatar for gisairo

how do you create a conversion table in C++

Software Development c++
Member Avatar for mrnutty
0
78
Member Avatar for seakayaker

Hi, I am new to OOP and I have ended up in a situation that might force me to abondon some of the flexibility I had in mind in my project. Before I do so, I figure I'd ask here to see if there is an easier fix for me. …

Software Development c++ oop
Member Avatar for seakayaker
0
129
Member Avatar for k.vijayakumar

i have 26links.when i click on "a", a grid is visible with footer row having textbox and addbutton along with words related to "A".But when i am entering words with other words also it is taking.when i click on addbutton, it should say u should enter word starting with "a" …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
108
Member Avatar for picass0

i trying to write a code which will read from user input of the percentage of some words to be appear. [B][U]example[/U][/B] user will input 50 5 when the program runs. 50 is the total number of runs and 5 means of the total runs it will have 5% of …

Software Development java
Member Avatar for harsh2327
0
88
Member Avatar for k.vijayakumar

i have skinid for label.In my grid, i have several columns and i took labels in itemtemplate for that columns.i have several grids in project.how to apply for all columns for all grids where i use label thank you

Software Development vb.net
Member Avatar for steven.culshaw
0
85
Member Avatar for Pgmer

Hi all, i need to select the paragrah from the current cursor position. any ideas?

Software Development vb.net
Member Avatar for Pgmer
0
109
Member Avatar for NargalaX

Hi all, I was wondering how I would use a single text box for multiple things eg. In one text box I would type 'createfile file.txt' or something like 'stopprocess process' etc. How would I do that? Thanks

Software Development
Member Avatar for sknake
0
110
Member Avatar for ajijacobm

Hi,:) I'm now doing a project on c# sql project.I have a database problem,:'( when a user gives the input dynamically through the front end ,the user data can be view through data grid view .but it is not getting stored in the original database.I have tried a lot to …

Software Development c c# c++
Member Avatar for ajijacobm
0
113
Member Avatar for raghavnyk

I am writing an windows application in VB.Net to automate the internet explorer using Visual Studio 2005. There is a website with list of orders. I need to accept the orders automatically whenever they arrive. There are 2 pages in a websiteand they will refresh at regular intervals. In the …

Software Development vb.net visual-studio
Member Avatar for raghavnyk
0
110
Member Avatar for SoulMazer

Ok, I am writing a client for the "instant messaging" server I just wrote. The client is in all Python, and the GUI is made with Tkinter. Anyways, my first question is this: is there a way to make a scrollbar widget automatically scroll to the bottom? Second, in a …

Software Development client-server gui python tkinter
Member Avatar for SoulMazer
0
4K
Member Avatar for SoulMazer

Hi, so in order to make my problem more clear, I shall just make a simple example of what I am trying to do. I will start with a little code: [code=python]from Tkinter import * master = Tk() msgbox = Text(master) msgbox.pack() mytext = raw_input("> ") msgbox.insert(END, mytext) master.mainloop()[/code] Now, …

Software Development python tkinter
Member Avatar for SoulMazer
0
547
Member Avatar for deepas

IN y application, i have a date shown in textbox control which is extract from database(previously saved in MM/dd/yyyy format).Now i have to compare that date with another date that user inputs from datetimepicker control(custom format MM/dd/yyyy).Now i have to compare this two date and throw some message accordingly after …

Software Development c#
Member Avatar for sknake
0
112
Member Avatar for gilmarP

Hi, Hope you can help me on this. I have 4 different application develop in different languages(c/c++, c# and java), all of them already done and stable, I need to integrate those 4 application into 1 using c#. Is this possible? Can anyone gave me a hint or a technique …

Software Development
Member Avatar for gilmarP
0
110
Member Avatar for tomtetlaw

I am doing Narue's Introduction to Assembly, and when I run my program, nothing happens. This is my code: [code=asm] [section .data] hello: db 'Hello, world!', 10, 0 ;15 bytes nl: db ' ', 10, 0 ;3 bytes [section .text] global _main, _print_nl, _print_msg, _return extern _printf _print_nl: push nl …

Software Development assembly
Member Avatar for tomtetlaw
0
166
Member Avatar for chanlichin

hi, the below coding of inserting data into database MS Access. So , may i ask what is the meaning for the coding i bold. Why the maxrow>0 , the message will come out? thanks. [code] con.Open() sql = "SELECT * FROM summary WHERE line = '" & cbLine.Text & …

Software Development vb.net
Member Avatar for Piya27
0
115
Member Avatar for lolwtf

HI experts, I created a crystal report that works great, however I need to have a different page that always shows up at the end of the report. I cant figure out how to create a new report that does this. Thanks in advance.

Software Development vb.net
Member Avatar for kvprajapati
0
88
Member Avatar for just_looking

Hi, I have written an FTP application that is working with no issues. It uploads one of 4 files to various printers on my network. I maintain a list of IP addresses. The 4 files are printer configuration files, that contain either 1 or 3 lines of code. Very simple …

Software Development printer vb.net
Member Avatar for GeekByChoiCe
0
112
Member Avatar for gretty

Hello I have a program I am trying to make which takes in a word pattern (eg; d?ll, h?l?o, go?dby? etc) & searches an 'array containing different words' to find any words in the array that match the input word pattern. So for example; if I input 'd?ll', the program …

Software Development algorithm apple c++
Member Avatar for VernonDozier
0
441
Member Avatar for goody11

Hi, I was wondering how you could change the head bar of a window in windows API. This is the line of code that I want it to change: CAPTION "Spanish Conjugation Quiz"

Software Development api c++ windows-api
Member Avatar for chiwawa10
0
67
Member Avatar for Hoaxygen

I've been trying to compile several C++ tutorial files that include the standard Microsoft header files, such as 'windows.h' to create a basic window. I'm fairly new to this C++ business, but I have a bit of experience with writing console applications on C. The problem is that the command …

Software Development c++ gui visual-basic visual-studio
Member Avatar for Hoaxygen
0
306
Member Avatar for goody11

I'm trying to load a bit map but the picture won't come up. It compiles just fine. I'm not sure if this makes a difference either but I am trying to load a bitmap into a dialog box. Here's the code: The .cpp file: #include "windows.h" #include "resource.h" HBITMAP g_hbmHang …

Software Development c++
Member Avatar for goody11
0
180
Member Avatar for filoupython

Hello, I have created a telnet server in python. Maybe you wonder why to create a telnet server while Windows has one? Because the windows telnet server does not allow to interract with the desktop. If you try to start a GUI app, it will start and run but will …

Software Development gui http-protocol python user-interface
Member Avatar for Dan08
0
746
Member Avatar for ddanbe

Hi all, has anyone any idea why I get an InvalidOperationException in this case? [CODE=c#]Dictionary<char, bool> dict = new Dictionary<char, bool>(6); dict.Add('A', false); dict.Add('B', false); dict.Add('C', true); // this works dict['A'] = true; // foreach gives an InvalidOperationException foreach (KeyValuePair<char, bool> KV in dict) { dict[KV.Key] = true; }[/CODE]

Software Development
Member Avatar for ddanbe
0
111
Member Avatar for monq

help please... i'm into vb6 developing and it's my first time to incorporate a barcode reader into my system.. can someone give me a hint on how to do it.. the codes would be much greater... i'm going to use a handheld scanner...

Software Development visual-basic
Member Avatar for Ole Raptor
0
172
Member Avatar for poliet

Hello! I want to use static_cast<int> on a void* member Variable in another class. (class aMessage). aMessage class has a public variable void* pVar. While using static_cast on a local variable is running smoothly, I get a compiler error trying to cast it on the aMessage->pVar. pVar is being declared …

Software Development c++
Member Avatar for poliet
0
220
Member Avatar for willygstyle

Hello all, I'm trying to run a simple client/server socket progaram from a refrence of the net to get my feet wet a bit with network programming. I can connect fine but can't seem to send data from the client due to the fact python is saying its of type"str" …

Software Development client-server python socket-programming
Member Avatar for willygstyle
0
193
Member Avatar for scranton

I borrowed some code for a windows file browser from the internet. It creates a tree of all folders starting from 'Desktop' like a good file browser should, but there's a bit of a problem with 'my network places'. As it is it shows all folders under 'my network places' …

Software Development api web-browser windows-api
Member Avatar for scranton
0
80
Member Avatar for Stefano Mtangoo

Hi, I want to track changes done to wxListCtrl as user Updates it (via my custom dialog of course). I will be querying and saving updates from and to database. the problem I have in thinking how to track changes and enable/disable save button as well as update the database …

Software Development python
Member Avatar for Stefano Mtangoo
0
109
Member Avatar for rahul8590

there are many key words in java cryptography and none of them is been recognized in my system. Is there any way i can implement java cryptography...?

Software Development java
Member Avatar for rahul8590
0
122

The End.