199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DemonGal711

Okay, I'm making a program that will let you traverse a maze where the beginning is the top right corner (coming from the right) and it ends in the bottom left corner (going to the right). We have a 2D array for the board and are using a stack to …

Member Avatar for stilllearning
0
130
Member Avatar for afg_91320

im gonna make a program that will create a 2d array that will have test data. its should have 8 rows and 10 columns and set seed of random generator to 11. (numbers should go from 0.0 to 99.9) the rows and columns should have random numbers and [I]must be …

Member Avatar for DemonGal711
0
78
Member Avatar for carlcarman

I am having some trouble and could use some help. I need a while loo that allows for an unlimited number of employees that uses a EOF sentinal value to control the loop. heres what I have so far, any help is greatly appreciated. I really dont understand this type …

Member Avatar for ~s.o.s~
0
102
Member Avatar for elearner

I am creating a website to load images by registered members. I created a database for registration details and thats working fine (still few errors). But now my issue is to upload images into database. i tried different ways still i am unable even to load data into database. Anyone …

Member Avatar for elearner
0
74
Member Avatar for kapil.tandon

hi , like i have to create a label and that label displays the total cost of a particulat think.like i do some activity A. related to acctivity A are following activities. A-a A-b A-c A-d what i hv to do is when user click on the label.it pops up …

Member Avatar for dickersonka
0
94
Member Avatar for mercedesbenz

I'm making a program and want to use an if statement to add a 0 to output if the numbers = 0-9. I know how to do an if statement like: int number=0; if (number==5){ cout << " whatever " << endl; } Is there any way to do somthing …

Member Avatar for skatamatic
0
79
Member Avatar for MsWang

Hello everyone I have a problem with the connection of MS sql with the windows application problem. All i need to do is to insert something to the database table. However i'm not sure how to connect the ms sql with it. I have some codes written out, but i …

Member Avatar for dickersonka
0
214
Member Avatar for grr

Recently, a primary key in my database got messed up somehow. I ran a script to reorder the users, but now every user has the wrong private messages. [CODE] -- -- Table structure for table `fusion_messages` -- CREATE TABLE `fusion_messages` ( `message_id` mediumint(8) unsigned NOT NULL auto_increment, `message_to` mediumint(8) unsigned …

Member Avatar for dickersonka
0
83
Member Avatar for christiangirl

How do you to take user input for red, green and blue(a number between 0 and 255) and make the background of the center JPanel that color. Heres the code on what ive done so far: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; /** * Write a description …

Member Avatar for christiangirl
0
2K
Member Avatar for pyth0n

Hi I am created a word guessing game. I have pretty much completed the game, but I cannot get it to do one thing. That is showing the users previous guess along with the new guess. For example, I want it to be like this Guesses Correct apple no blue …

Member Avatar for woooee
0
82
Member Avatar for Neo7

Hi everybody!! Here is the problem, I'm trying to develop a script that can help me with the raid creation, but, till now, I have been dealing for more than a week and I still didn't achieve any satisfactory results. :icon_cry: Here is the code to execute: # mdadm --manage …

Member Avatar for Neo7
0
190
Member Avatar for Deemar

I'm building an installer using Inno Setup and the programming is done via Delphi/Pascal for the custom dialog screens. It's almost done, I'm just wondering how I can disable some text boxes or other components dependent on other actions like the click of a radio button. Specific example: I have …

Member Avatar for House_of_Dexter
0
3K
Member Avatar for carlos_lopez_m

Hi everyone: I'm calling an Excel file from C#; now, because I Want to run automatically a Macro, I've added to my Workbook code, Private Sub Workbook_Open() the name of the routine I want VBA to execute as soon as the file is open. The problem is that C# is …

Member Avatar for carlos_lopez_m
0
146
Member Avatar for designingamy

Hello all, I feel a little dumb asking this... I'm trying to pass information from one page to another. I have this: [code] <a href="http://www.mysite.com?color=red&shape=round">Apple</a> [/code] Now that I do that, on the next page, what kind of code do I use to gather the color and shape information? Thanks! …

Member Avatar for designingamy
0
105
Member Avatar for gmaster1440

Code: [CODE]<?php define( "DATABASE_SERVER", "blah" ); define( "DATABASE_USERNAME", "blah" ); define( "DATABASE_PASSWORD", "blah" ); define( "DATABASE_NAME", "blah" ); //connect to the database $mysql = mysql_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD) or die(mysql_error()); mysql_select_db( DATABASE_NAME ); $sql = 'SELECT * FROM `users`'; $result = mysql_query($sql) or die ('Error: '.mysql_error ()); while($row = mysql_fetch_array($result)) { …

Member Avatar for somedude3488
0
238
Member Avatar for ndeniche

What are the differences between both and which one should i consider for the different kinds of java-based apps?

Member Avatar for Ezzaral
0
105
Member Avatar for gordo58

Hi, I'm new to php so I'll probably be posting a few queries along the way. The problem I'm having is I'm trying to print out an address in an HTML table with information taken from a database. The fields are Address1, Address2, Address3, Address4 and Postcode. Everything prints correctly …

Member Avatar for gordo58
0
110
Member Avatar for Alex Edwards

This makes me slightly curious... Why is there assembly code for the string class of C++? [code=asm] page ,132 title strlen - return the length of a null-terminated string ;*** ;strlen.asm - contains strlen() routine ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; strlen returns the …

Member Avatar for ddanbe
0
1K
Member Avatar for Duki

Hey everyone, I'm working with a login form in my application. The easiest way I can see to do the authentication is to query a user/pass database for any rows that match the given username and password. How can I send a query when the user clicks OK? Am I …

Member Avatar for toko
0
121
Member Avatar for dad45

Want to move files from one App (Delphi 6 App - my creation) to a new folder. That is the easy part. I then delete all files with the .dcu, dof & dos extenders. Compile same. Now, the program saves data files. However, the new data files are posted in …

Member Avatar for dad45
0
132
Member Avatar for afg_91320

[code] int table [10]; for (int x = 0; x < 20, x++) { cout << “Enter the next value: “; cin >> table [x] } [/code] is it at the cin line? and im not sure if a semicolon is needed. thanks:icon_cheesygrin:

Member Avatar for dickersonka
0
88
Member Avatar for Mark Red

Ok I have written a calculation form using textboxes as the sngvalue inputs everything works fine so no problems here, but I have tried countless methods to register when the decimal point has been entered or deleted from the textbox, as adding another decimal point raises an error, I am …

Member Avatar for Mark Red
0
180
Member Avatar for chris5126
Member Avatar for Taker

Hi i am tryin to write a recording class in java which i have done but i have to convert the recording class into a GUI i have done the coding for it but i want buttons that allows you to cyle to the nex and previous record detail if …

Member Avatar for Ezzaral
0
151
Member Avatar for justinmyoung

I'm trying to implement TableKit with my table. It works fine, except I'm struggling to update it dynamically. When I edit a table, it changes, but when I reload the browser it reverts back to the original data. The updated code goes to this php code: [CODE]<?php header('Content-Type: text/plain; charset=UTF-8'); …

Member Avatar for justinmyoung
0
97
Member Avatar for reno02

I have a script that needs to have the email acknowledgment sent to the email that the customer gives. However, when doing it, it doesn't work when I test it. Can anyone view this and let me know if I am mising something. I have changed a few things to …

Member Avatar for reno02
0
125
Member Avatar for pixelmeow

I have SQL code in my VB6 project for select, insert, and truncate. For example: [code=VB] strSQL = "SELECT CASE_IDENTIFIER" & vbCrLf _ & " ,DOCUMENT_TYPE" & vbCrLf _ & " ,DOCUMENT_NUMBER" & vbCrLf _ & " ,CASE_LINE_NUMBER" & vbCrLf _ & " ,DELETION_INDICATOR" & vbCrLf _ & " ,MASL" …

Member Avatar for pixelmeow
0
202
Member Avatar for FallenPaladin

Hi please can someone help? I have been pulling my hair out for days trying to understand how to open a XML data store in an application. I don't understand the basic principles, as i have opened it int a dataset using readXml, but then been unable to access any …

Member Avatar for Jugortha
0
143
Member Avatar for polo_coins

I asked in my studies build a "[B]sealed [/B]" class and I don't really understand it's differents from regular class and what different in syntax it has Thanks Sergey

Member Avatar for Jugortha
0
112
Member Avatar for mathijs

hey i'm currently working on a simple rpg in python. First i was gonna make it text-based but now i've read the wxpython tutorial and i want to try an create a GUI for it. My sister is gonna make some artwork for me (i'm not good at that kind …

Member Avatar for mathijs
0
602
Member Avatar for ahfan_85

I hv This Question here: User will be prompt for number of quiz that has been taken. User has to input their marks for each quiz. Your program will calculate the average of the marks. Find the lowest mark of those quizzes. Find the 3 highest mark of those quizzes. …

Member Avatar for ahfan_85
0
295
Member Avatar for andyT

Hello, I am having trouble determining why this C++ code breaks when using dynamic arrays with new / delete (C++ style), and why it does not break with malloc / free (C style). Specifically, when using Visual Studio 2003 and the new / delete commands, I am getting the error …

Member Avatar for andyT
0
180
Member Avatar for Dontais

I'm trying to run my program and when I enter say 3 it gives me a fatal error. It is suppose to calculate the avg of each value entered and output it. Would appreciate a little advise on this I'm stumped. The error says "warning C4700: uninitialized local variable 'sum' …

Member Avatar for seanhunt
0
164
Member Avatar for cmills83

Hi for some reason my script wont detect the opener window when the page is launched target blank from flash, but detects it fine when its launched from target blank html. of course this problem only exists in ie6 and 7. Does anyone have a fix, should I pass a …

Member Avatar for cmills83
0
98
Member Avatar for n8thatsme

Ok I have a simple question I have a header file that has the following code [CODE] void setPartDecription(string partDescrip); string getPartDecription() {return partDescription;} [/CODE] Of course I have other functions but these are the problem functions and they are public. In my main function I have this: [CODE] cout …

Member Avatar for seanhunt
0
164
Member Avatar for SQ89

The Question is Write a program that output the numbers 0 to 8 in three columns, where the width of each of them 3. The output should be as follows: 0 1 2 3 4 5 6 7 8 so what i've done so far is : #include<iostream.h> void main() …

Member Avatar for ddanbe
0
155
Member Avatar for kalou

I have not attend any programing before...this is my first time...an i`m doing C++.... I studying in Kampala-Uganda.....i`ve been trying to finds books for beginners but i`ve yet get one....internet access here is very cheap...can somebody help me with the best website where i can get informations about the C++ …

Member Avatar for zhouxuzhu1985
0
106
Member Avatar for asmit1987

Hi, I am doing a project in VB.net i wanted to ask you how can i retieve data from multiple tables in a single form. Plz help me with a code to solve my problem. Thank you

Member Avatar for asmit1987
0
106
Member Avatar for sarithak

Hi frnds... i dont know anything about OSCOMMERCE.. now i have interested to learn OSCOMMERCE..because of many companies asking about exp in oscommerce... i have been installed successfully in my system... but i didnt get any idea.. what is the usage & procedure to learning from basics.. plz provde some …

Member Avatar for TopDogger
0
132
Member Avatar for gpdrums

Hi All: I'm connecting to a db to populate a table. My code loops through the db without errors. The problem is in Firefox, my rows of data display as individual tables. Everything works perfect in IE. Any ideas what I'm missing? The table population code basically looks like this: …

Member Avatar for TopDogger
0
146
Member Avatar for murderotica

Hello there! Been doing some Windows Service lately and I have created a simple Windows Service application that monitors a folder and logs the activities on a text file. I have also created a controller to my Windows Service application. My question now is: Is it possible for Windows Services …

Member Avatar for Jugortha
0
217
Member Avatar for jk_bscomp

Gud day everyone!!! I hope you could help me with this one, I have a select form that looks like this, <select> <option>AAA</option> <option>BBB</option> <option>CCC</option> <option>DDD</option> <option>EEE</option> </select> my question is, how to transfer to a new page if the select is change coz the page i am working right …

Member Avatar for jk_bscomp
0
99
Member Avatar for Seamus McCarthy

I'm trying to append the end of the file treatments.txt but am unsure how to use the while loop correctly!! Any suggestions?? I tried boolean with the whiles aswell but can't seem to get it to work either. Like asking do you want to continue adding treatments and if yes …

Member Avatar for Seamus McCarthy
0
130
Member Avatar for vmars

Greetings: I am having trouble with reading the code in thread "Tutorial: GUI programming with wxPython" ([url]http://www.daniweb.com/forums/post623598-3.html[/url]) Where tut shows code: [code] import wx """Example with sizers for dynamic resizing.""" app = wx.App(redirect=False) window = wx.Frame(None, title = 'Sample GUI App', pos = (100,100), size = (400,500)) background = wx.Panel(window) …

Member Avatar for vegaseat
0
194
Member Avatar for locsin

I want to use find command for searching file in the database, but if I add "and" command i received error. It is possible to use and in Find command I try to this syntax but it is error .Open "Select *From salary'", strconek, adOpenStatic, adLockOptimistic .Find "empno = '" …

Member Avatar for aktharshaik
0
116
Member Avatar for ashercharles

hai this is how my project databse luks like different types of industries,with each company having many phonenumbers and email ids..ll industry will have a separate serial numbers but the point to be noticed is that for all industry the table fields are one and the same...nothing differs... wht should …

Member Avatar for dickersonka
0
78
Member Avatar for pikkas

I have uploaded a case which i have to draw the ER diagrams for a database. Can anyone help me please! i m desperate :(

Member Avatar for ronebenja
0
74
Member Avatar for iamoldest

python 2.4 how do I say... [ICODE] if x is divisible by (random number) then: [/ICODE] in python coding?!? Thanks!!!

Member Avatar for jlm699
0
102
Member Avatar for codered152

hi guys i need help with list collection in java can somebody give me some good example of how to iterate over list, also explain little bit. Thank you

Member Avatar for ~s.o.s~
0
100
Member Avatar for jeffrides

I am a begining programmer taking a college course in VB. I am trying to place a label into a form. The project is complete and the problem is with some 'pretty' additions I am trying to do. The label properties appear fine; the same as all the other labels …

Member Avatar for jireh
0
106

The End.