64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ujjval dave

hi everyone, i have a problem in my php code.i hope anyone of you can help me in this problem. i have a problem for image uploading in particular folder. my code works but this will upload images in root directory called as 'upimg'. i want to upload images into …

Member Avatar for ujjval dave
0
183
Member Avatar for toll_booth

I'm trying to program Tic-tac-toe. When I run my program, the X's and O's pop up in all sorts of strange locations, and they don't "settle" into their proper positions until the very last move of the game. Here is my code: [code]'''Tic-tac-toe. ''' from Tkinter import * SQU_SIZE = …

Member Avatar for toll_booth
-1
140
Member Avatar for kjet1

I am trying to create a switchboard button in Access 2007 that will open a password input box as a security for a form. The switchboard button calls a macro which will then invoke a macro to run the following code: [CODE]Public Function Password() Dim stDocName As String Dim stLinkCriteria …

Member Avatar for kjet1
0
165
Member Avatar for Shadow101

Hi, I wanted to created a java file base on the given javadoc below. I am currently stuck on the embezzle method. First, i don't understand what's the "BankAccount" in 'public void embezzle(BankAccount other)' do or is. Second, How can i add funds from the other account to the other …

Member Avatar for Shadow101
0
115
Member Avatar for kadriirdak

Hi there, I do have a database and I am using sql command to insert data in it. Date field is set to datetime (03/01/1900 00:00:00) In the field either there is a date only or it is empty. What I want to do is: Insert current+2yrs date even the …

Member Avatar for kadriirdak
0
69
Member Avatar for timon_zed

Hello fellow Daniz, i working on a website and am trying to upload images but i keep getting an error stating that i have undefined functions in my code, could someone point me in the right direction here. My code is below. [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for timon_zed
0
139
Member Avatar for designershiv

Can anyHere my code: [CODE] <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': 17, 'month': 9, 'year': 2010, 'hour': 1, 'min': 0, 'sec': 0 } }); }); </script> [/CODE]

Member Avatar for hielo
0
148
Member Avatar for maichy

hi all, i am am working on a tax software that computes tax and gives the amount.since different goods have different tax percentages i would like when one customer buys goods with different tax percentage i can use the subtotal button to temporarily hold the tax value as he computes …

Member Avatar for jhai_salvador
0
280
Member Avatar for Syrne

So I'm looking to create a function that prompts the user to enter 'Y' for "Yes restart the program" and 'N' for No, do not restart. I know this should use the boolean operator, I'm just unsure as to how to implement it. I also know to encase the body …

Member Avatar for Syrne
0
7K
Member Avatar for tanuj863

I want to create an application for ad-hoc network. I have a little bit good knowledge of java But I cant decide from where to start. Please Help me to start

Member Avatar for tanuj863
0
83
Member Avatar for jackparsana

hi How to remove address from printout. and work with asp.net. how to remove address of the page. is any change setting in firefox? jack

0
100
Member Avatar for ryufire
Member Avatar for vegaseat
0
134
Member Avatar for jackparsana

Hi, Thanks for help me advance. I have problem with Print which is in out by asp.net code. print has address on top right side what i want to remove. but it not remove. how can i remove address for print-out. please help. thanks Jack parsana.

0
105
Member Avatar for Eagles36

This is the code for a fractions program that is to add and subtract(i know it does not subtract yet) I am having error messages that I dont understand. [CODE]// File Fraction.h #ifndef FRACTION_H #define hbg_cmpsc122 #include <iostream> using namespace std; namespace hbg_cmpsc122 { class Fraction { private: int num; …

Member Avatar for StuXYZ
0
178
Member Avatar for jackparsana

please help me to install fonts in my website. can i put fontfile in my server and use in webpage. thanks in advance. jack

Member Avatar for jackparsana
0
99
Member Avatar for chillipit

I'm having problems with a JavaScript function not firing and I can't figure out why not. I'm opening a pop-up window which needs to pass some variables back to the opening window. I've used this code elsewhere with no problems and I've copied it and changed some of the details …

Member Avatar for chillipit
0
893
Member Avatar for rapids79

I am trying to write a function that calculates the sine of a given angle. The code works fine if the angle in degrees is less than 100...once the angle becomes greater than 100..the result is a large value. I don't know what I am doing wrong. Can someone point …

Member Avatar for rapids79
0
137
Member Avatar for VernonDozier

So I have opened a file with the "open" command and I get a file descriptor. That means I have to use lseek rather than fseek, which is fine by me. But what if I want to know how long the file is or what if I want to know …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for qtbugfrmmo

[CODE]#include <iostream> #include <iomanip> using namespace std; void StartUp(void); void WrapUp(void); char ProgramName[] = "Assignment_3.cpp"; //Used to hold the program name void sentenceOne (); void wordOne (); void wordTwo (); void wordThree (); void wordFour (); void wordFive (); void wordSix (); void wordSeven (); void wordEight (); void sentenceTwo …

Member Avatar for qtbugfrmmo
0
149
Member Avatar for Nandomo

I am doing this silly program as practice but am having problems with the condition in the if loop... Please help me. The condition after the color question goes directly to its condition without accepting an answer. [CODE]// Add directories #include <cstdlib> #include <iostream> #include <sstream> #include <fstream> #include <iomanip> …

Member Avatar for Nandomo
0
128
Member Avatar for jessicaZ

Getting an error on line 302 (which is the one that starts: [I]If (Is_Object($GLOBALS[/I] ... ) Can anyone see the problem? [code=php] If (!Is_File($template_file)) $template_file = $this->get_default_template(); // Look whats the current post If (Is_Object($GLOBALS['post'])) $this->the_current_post = clone $GLOBALS['post']; // Use the template Ob_Start(); [/code]

Member Avatar for jessicaZ
0
114
Member Avatar for bangor_boy

Hello all, I am writing a toString() i know how to do the basics off this but what im looking to know is how to put a line break between each set of information to get this public String toString() { return "ball pos:" + this.ball + "keeper pos:" + …

Member Avatar for jon.kiparsky
0
86
Member Avatar for buster2209

Is it possible to write to the windows dos screen and display the results in a GUI? eg; [CODE] Console.WriteLine("ipconfig"); Thread.Sleep(1000); for (int i = 0; i < 5; i++) { textBox1.Text = Console.ReadLine().ToString(); } [/CODE]

Member Avatar for Diamonddrake
0
686
Member Avatar for ShadyTyrant

Recently I have been writing my own Python editor for fun. I have came pretty far but now I have some issues. My editor object is in my notebook but wont go to the bottom of my window. I can get it to expand across the screen but not down. …

Member Avatar for ShadyTyrant
0
105
Member Avatar for python_user

Hi guys, i have a problem here i have a situation where i need to save all the images opened using PIL I have no idea how to do without displaying images on screen one by one and saving them Can anyone please help how to save them without switching …

Member Avatar for python_user
0
5K
Member Avatar for NewOrder

the question is this. suppose that i have got rowstart=8 rowend=6 columnstart=8 columnend=8 b=0 [CODE] while(pieces[rowStart-b][columnStart]==null && pieces[rowStart-b][columnStart]!=pieces[rowEnd][columnEnd] && pieces[rowEnd][columnEnd]==null){ // CHECKS THE UPPER ROW. b++; }[/CODE]

Member Avatar for NewOrder
0
119
Member Avatar for Win Myat

I have a promblem with following case : i have a properties.txt that included: 10 Napier St. Palm Cove 350000 47 Darkien Cl. Smithfield Heights 265000 i want to write: On start-up, the program is to prompt the user for the property listings filename (the sample file provided is called …

Member Avatar for Dazaa
0
7K
Member Avatar for MichaelWClark

Okay My trial is running out on my VS2010 Pro in 22 days. I started shopping around and was in shock at the price of this software! It looks like the best I can do on VS 2010 w/MSDN (can't find one without) is $724. OUCH! I started looking more …

Member Avatar for Ezzaral
0
82
Member Avatar for N1GHTS

Hello, I have a problem with compiling my code... Platform: [b]Ubuntu Linux 10.04[/b] Compiler: [b]gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3[/b] IDE: [b]Netbeans 6.9.1[/b] My C program is required to exclusively deal with Unicode. I can use these functions just fine: [b][COLOR="Green"]wcscpy(), wcslen(), mbstowcs(), wcstombs(), snprintf()[/COLOR][/b] The problem seems to only be when …

Member Avatar for N1GHTS
0
613
Member Avatar for dschuett

I have a form that I use for people to contact me on my website. I have been using server-side php form validation which has been working as it should. I decided to implement java script client-side validation using the jquery validation plug in. Ever since I added the client-side …

Member Avatar for dschuett
0
296
Member Avatar for ryan461

I'm learning perl, been reading some pdfs and such which doesnt really help sink the info. So i decided to do what I did to help me with python, build something of a poker game. The cards are successfully dealt, now im working on splitting up the card terms to …

Member Avatar for mitchems
0
87
Member Avatar for gayanthi

Hi. I'm relatively new to VB and I have a question that needs an immediate response.Can anybody help me with this.... Suppose a sequential file contains the information shown below. I need help to write a program to use the file and produce a new list where the teams are …

Member Avatar for codeorder
0
184
Member Avatar for abdelhakeem

Hello all, I'm very beginner in x86 assembly language, I saw that there are many assemblers avaliable, but which one to start with, regarding that I want to program in 32-bit pmode but without using any external APIs (e.g: Win32 as in MASM)... Thanks...

Member Avatar for abdelhakeem
0
114
Member Avatar for mulevad

I am placing xml into a table in html and trying to sort based on a parameter, but my parameter's value is not being used. It uses the string "$sortkey" instead. Here is an xsl excerpt: [code] <xsl:for-each select="catalog/cd"> <xsl:param name ="sortkey" select="country"></xsl:param> <xsl:sort select="$sortkey"/> <tr> <td> <xsl:value-of select="title"/> </td> …

Member Avatar for iceandrews
0
173
Member Avatar for apautz22

I'm having a problem with my code. I am doing [URL="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=951"]Where's Waldorf[/URL] on the UVA site. I understand how I want to tackle this project, but am unable to get past a seg fault. My strategy is to pass the multi-dimensional char array of the search board to a function …

Member Avatar for apautz22
0
885
Member Avatar for Anon17

So I need to convert a hex string on my server which could contain any byte number from 0-255 into a byte to send it to my client. This works fine in most situations, but when converting to a byte with any hex between the range of 0x80 and 0x9F …

Member Avatar for Anon17
0
385
Member Avatar for doffing81

What do I need to do to make rules for user input? Say I want the user to choose a number 1-5. If they pick one, I want to go to the next step. If they don't I want to tell them that they have to pick a number between …

Member Avatar for snippsat
0
101
Member Avatar for JohnPhilipps

Good evening, I am trying to simply open a folder located on my local C:\ drive, to be exact just for testing purposes I am trying to open C:\temp folder. What I have is a JFrame with a single Jbutton and some code, however when I execute the button, nothing …

Member Avatar for ankurgecr
0
2K
Member Avatar for acerious

Hello DaniWeb, This is my first real assignment and am having problem with it. The program must accept a userID and pass from user. The program must also read the userID and pass from file and if it matches the one on file, the program must display success message. The …

Member Avatar for acerious
1
3K
Member Avatar for usustarr

I have a dynamic array which will be updated from a different test system. I am havign hard time with syntax. Can someone please help me here? Here is where I declare my vector [CODE]void TestSystem::Drive(U32 RunMode, U32 Options) { //U32 is unsigned 32 bit U32 condition; U32 i; U8 …

Member Avatar for usustarr
0
238
Member Avatar for mayursharma

Hello, I m makin database in which i hav 10 tables for each sem storeing student result. i hav link this with php...and giving access to students to see thier results and administrator to edit them olso. i hav a problem in updating the fields. Process: first i authenticate the …

Member Avatar for mayursharma
0
114
Member Avatar for CPT

I need to implement a function which ads elements to a single linked list: -if the head(first element) of the list doesn't exist(if head is NULL), then the added(inserted) element becomes the head(the the data entered is of string type) -if the head already exists, insert it after the last …

Member Avatar for Ancient Dragon
0
158
Member Avatar for uan_Blr

Hi PERL-fans, I have a problem with an array while coding a histogram: The data is in an array [code=perl]@data[/code] I initialise my histogram array like: [code=perl]@histo=();[/code] Then, I loop over the datapoints and at each point compute in which bin that point would be: [code=perl] for(my $i=0; $i<scalar(@data); $i++){ …

Member Avatar for uan_Blr
0
179
Member Avatar for AndrewSmith

Heyyyy... I'm trying to get some AJAX going on in my website. It works FINE in IE 6, but when I try it with Mozilla FireFox, nothing happens. Can anybody see anything wrong with the following javascript code? [code] function makeRequest(url, divID) { var http_request = null; try { http_request …

Member Avatar for intsam
0
2K
Member Avatar for packetpirate

I'm just starting to learn Java and I need help. I'm trying to draw a rectangle in an applet window and have it centered so that if the applet is repainted when it is resized, the rectangle will stay centered in the applet window. I know how to retrieve the …

Member Avatar for packetpirate
0
5K
Member Avatar for aaronmk2

I'm getting error: no match for 'operator>>' in 'std::cin >> aTable[i][j]' for [CODE] #include <iostream> using namespace std; const int NUM_ROWS=15; const int NUM_COLUMNS=15; typedef int TwoDimArray[NUM_ROWS][NUM_COLUMNS]; void printTable(int rows, int cols, TwoDimArray aTable); int main () { int rows, columns; TwoDimArray aTable[rows][columns]; cout<<"Enter rows and columns"; cin>>rows>>columns; for (int …

Member Avatar for Fbody
0
562
Member Avatar for niche1

mouseovers work fine in FF, c, o & s, but not in ie8. Why? [CODE] <!-- Based on changing temp11e.php code to produce html from b7b.php in this script code--> <!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 name="description" content="Save money" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> …

Member Avatar for niche1
0
274
Member Avatar for Pari13

Hi All, So much Helping Deniweb in during interuption in my code. Again for small query I hope it will give enjoyful result to Me. I want reguler expression which having "Only Numeric-Positive-Non Zero-and Must Non Empty" value. I have all ready Done expression "^[1-9]+[0-9]*$" giving result for Positive-Non Zero …

Member Avatar for Pari13
0
950
Member Avatar for ftl25

Hi guys, I need to write a piece of code which takes two strings (char arrays) containing hex values and perform an AND operation on them. (The aim is to mask bits from the first value). A Mask value of all Fs means that we don't want to mask any …

Member Avatar for ftl25
0
114
Member Avatar for challarao

Hi! I have been learning c language on linux for two months.Today I have changed to Windows and don't know how to ,where to write programs and compile them and execution.Please exlain me. (Windows-7,acer) Thanx.

Member Avatar for Auraomega
0
314

The End.