199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! … | |
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)) { … | |
What are the differences between both and which one should i consider for the different kinds of java-based apps? | |
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 … | |
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 … | |
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 … | |
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 … | |
[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: | |
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 … | |
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 … | |
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'); … | |
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 … | |
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" … | |
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 … | |
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 | |
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 … | |
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. … | |
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 … | |
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' … | |
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 … | |
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 … | |
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() … | |
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++ … | |
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 | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 = '" … | |
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 … | |
I have uploaded a case which i have to draw the ER diagrams for a database. Can anyone help me please! i m desperate :( | |
python 2.4 how do I say... [ICODE] if x is divisible by (random number) then: [/ICODE] in python coding?!? Thanks!!! | |
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 | |
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 … |
The End.