199,114 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, …

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 …

0
63
Member Avatar for jay.barnes

Good morning/afternoon/evening! I'm trying to run a MySQL query, but it seems to be ignoring the "ORDER BY" clause, most likely, I'm believing, because I'm using the "IN" keyword in my query (several times, as a matter of fact, along with a "LIKE"). Is there a way I can structure …

Member Avatar for wilch
0
447
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 …

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: …

Member Avatar for Laidler
0
91
Member Avatar for mevanga

Hi, everyone... I'm using ms access 2003 and i wanna know how to write a code in vba that will take initial days x add y days every end of month and store them as accumulated days. Pleases I don't know wre to start. Thanx in advance

Member Avatar for mevanga
0
133
Member Avatar for karin21

hi guys, i have working on this simple cart script,it goes like when selecting the product in combobox it will display the details of the product into the textbox, i can display the details but my problem is when i select another product the previous selected product was replaced.. what …

Member Avatar for karin21
0
157
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 …

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 …

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; …

Member Avatar for JameB
0
152
Member Avatar for jbisono

Hi i have a table which i was using with a datagrid using hyperlink to maintain a simple menu to browse a internal site. but now i decided to create a horizontal menu with the Menu Component of asp.net, i know there is a different way how to do this, …

Member Avatar for serkan sendur
0
132
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 = …

Member Avatar for Dave Sinkula
0
290
Member Avatar for mindfrost82

I have an Access database and I want to fill some text boxes with data from a table. I'm using the following method for an example: [code] Me.txtCompany.Text = dr.GetString(1) [/code] That works great. I have that in the PageLoad event. Then I want a user to be able to …

Member Avatar for mindfrost82
0
83
Member Avatar for Takkies

I have tried to get my php scrip to work but it doesn't. can someone maybe help me to get it working please. Here is my script: [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <?php if(isset($_POST['mail'])) { $email_to …

Member Avatar for tiger86
0
83
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 …

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 …

Member Avatar for no1zson
0
174
Member Avatar for socalfoolina

Hi, I would like to know if there is a way to keep the script as is but also [B]add[/B] a function to this script so that if a user clicks on another tab (div) the open tab will close on click? Please see code below: Thanks in advance! :icon_smile: …

Member Avatar for Airshow
0
134
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

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: …

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 …

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 …

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 …

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 …

Member Avatar for BestJewSinceJC
0
138
Member Avatar for jay.barnes

Hello! I was wondering if I could get some assistance with something that is probably easy for even an amateur javascript coder, but, I just can't seem to get after trying every iteration of code I can imagine. The deal is, is that I'm trying to put together a PHP …

Member Avatar for jay.barnes
0
172
Member Avatar for jammiedude

Hi i am wondering if anyone has a solution for sorting by postcode area. I wanted to be able to pick off either the First letter or first two letters and group by this. I have figured out how to group by the first to characters of the postcode using …

Member Avatar for sknake
0
856
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> …

Member Avatar for DdoubleD
0
196
Member Avatar for shine_jose

help please, i wish to know the code to redirect to an exsisting open web page from another web page(ie child page want to be closed and control want to be come to parent web form which is already previously opened)

Member Avatar for praveenkumarm
0
315
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 …

Member Avatar for Tom Gunn
0
149
Member Avatar for Kennedy_f

The Java programming language provides a mechanism known as exceptions (in the glossary) to help programs report and handle errors. When an error occurs, the program throws an exception. What does this mean? It means that the normal flow of the program is interrupted and that the runtime environment attempts …

Member Avatar for fuego2008
0
510
Member Avatar for Narayan15

Hi, I want to show running time. i dont want to show present time. Time should be running on php page. Please Please help me.

Member Avatar for fuego2008
0
392
Member Avatar for polo_coins

I wrote code below it open me a new window and show current time but I want it will show it in same window and chnge each second here is my code (i think I must use [COLOR="Green"]setInterval function[/COLOR] to change time each second but if I put the call …

Member Avatar for fuego2008
0
156
Member Avatar for phpbeginners

Is there anyone who can write a javascript/php code for refreshing the contents of only one DIV container on one page?

Member Avatar for diafol
0
345
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!

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

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

Member Avatar for nkarvi
0
134
Member Avatar for gisairo
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. …

Member Avatar for seakayaker
0
129
Member Avatar for mohankumar554

hi, how to auto increment the value in database table when the button clicks.i have created a table named register .when the user completes his registration we will generate the receipt based on the registration. so for every receipt we will generate the receipt no on that. when we click …

Member Avatar for mohankumar554
0
91
Member Avatar for robertmacedonia

Hi, I get this error when I try to access my project which I've just put up on a server - Compiler Error Message: CS0246: The type or namespace name 'DataSet1TableAdapters' could not be found (are you missing a using directive or an assembly reference?). The line it's complaining about …

Member Avatar for robertmacedonia
0
86
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" …

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 …

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

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?

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

Member Avatar for sknake
0
110
Member Avatar for sam023

i am making a table with dynamic increament of rows on click of button..!! i have used an autocomplete textbox in a row...!!! which is based on textbox id..!! . . as i know that id should be unique.. so how can i change ID then..? [code=javascript] function add(oRow) { …

Member Avatar for Troy III
0
183
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 …

Member Avatar for ajijacobm
0
113
Member Avatar for pandeyprashant

Hello Every one, please tell me how to use dotproperty file in jsp? like i m trying to code a login page and i want if any user input wrong or null value so on the same page msg should come like please enter correct username or something like that..... …

Member Avatar for pandeyprashant
0
206
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 …

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 …

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, …

Member Avatar for SoulMazer
0
547

The End.