199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for llemes4011

Hello! I'm writing a fractal generation application. I have the fractal part down, but I can't seem to get the coloring right. What I want to do is, as the number gets closer to infinity, the pixel it relates to's color should get darker (Black relating to infinity, The other …

Member Avatar for ithelp
0
170
Member Avatar for pspwxp fan

K, so i decided that i'm fed up of VC++. It was throwing me lots of stupid errors. Anyway, i'd heard that Code::blocks is much better, and a bargain for 30 MB. Installed it and stuff with ease, and decided to test it with a helloworld program. Thing is, when …

Member Avatar for pspwxp fan
0
231
Member Avatar for jrosh

In my application an error massage comes when the required data fields are not filled. I did it as, [CODE] if(component.getSelectedItem().equals("")|description.getText().toString().equals("")){ JOptionPane.showMessageDialog(null,"Please insert required details \n ","Error",JOptionPane.ERROR_MESSAGE); } [/CODE] the problem: When I click "OK" when this massage pops up, it closes the entire window. How can I avoid it. …

Member Avatar for jrosh
0
153
Member Avatar for aumi

Hi, i need some help. i have an assignment on "Airline Ticket Reservations System". i have to submit it on 10th August, 2008. I tried but can't solve it. please help me. The question is given below : 1. Consider a new airline agency “BEST AIR” that launches recently in …

Member Avatar for ithelp
0
322
Member Avatar for newwin

When button is pressed from Forms of MS-Access, a file open dialogue box is displayed. I need the VB code.

Member Avatar for ntuthuzelojames
0
171
Member Avatar for themafia_69

Hey guys, I have started java for a uni class. I am now using object oriented programming. I have taken vb so i know what functions/methods are. however i am having a hard time coding some programs for an assignment. I will try to make this thread as descriptive as …

Member Avatar for javaAddict
0
177
Member Avatar for streetrodfanati

Hello Everyone, My mailer keeps sending duplicates & I can't find the problem in my code. I would appreciate it if someone could look it over & point out the problem. [code=syntax] <? if($action == "mail") { $success=0; $failed=0; $headers .= "From: Golden Planet Clubs PTC Admin <admin@ptc.goldenplanetclub.com>\n"; $headers .= …

Member Avatar for streetrodfanati
0
97
Member Avatar for badbloodyeyez

Hi, I would like to know how can I stop windows from logging off, restart or shutdown. I want to automatically pause these operations and then send a signal to USB port and then resume the shutdown, log off or restart operation. Is it possible you can help me write …

Member Avatar for Satishsr
0
122
Member Avatar for leesyy

hi, i am currently working on aptana studio nokia wrt plugin to develop a mobile widget where i need to retrieve data from database. i've created a java servlet in eclipse to connect and execute query to the ms sql server 2005 database. in aptana, i am using js file …

Member Avatar for jasstion
0
165
Member Avatar for ebumark

Good to be here. On my computer system, i want to use apache program so that i can make my computer a server. Now after doing that and as well installing PHP, it will be reporting error. i think the problem is on configuration. Plz can any body help me …

Member Avatar for nunomartinsinet
0
160
Member Avatar for Mongz

Hi guys, i created database backup, but now i want it to backup every time when the time is 00:00. Any help will be highly appreciated.

Member Avatar for shankarkotagiri
0
110
Member Avatar for No1unoin98

Ok i need some help with this JSP page that has some java in it. My assignment is to create a fictional webpage that requires a login or registration and that checks with the database to make sure that it will verify that no user with the proposed user id …

Member Avatar for masijade
0
214
Member Avatar for muralibobby2015

hi frnds.....when ever i select some lines that lines will automatically copy with out using 'ctrl+c'. so how to do?

Member Avatar for muralibobby2015
0
79
Member Avatar for neeraj20gupta

when i try to run the following code....----> [code=JSP]<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <jsp:useBean id="accountBean" class="banking.pac.AccountForm" scope="session" /> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <script language="javascript"> </script> </head> <body> <form …

Member Avatar for Kamalapriya
0
245
Member Avatar for NinjaLink

I am creating a diamond but I am having problem. Right now, my output prints out 2 triangles underneath each other (is not displaying in the post correctly). I want to flip the 2nd triangle around to create a diamond shape. However, when I try to mess up with counters …

Member Avatar for VernonDozier
0
96
Member Avatar for ewelinac

Hello. Is there a way to import data (numbers) in to a Java program which will do analysis on the data? Thanks! Evelina

Member Avatar for Jocamps
0
77
Member Avatar for Megabyte89

Every time I try to save data to my contacts database I get an error. The script runs fine, but when it come to clicking save I get this error. Traceback (most recent call last): File "C:\Users\Panic\Desktop\EminentGeekTechnology\Looking For Who\addnew.py", line 71, in OnSave self.database.execute('INSERT INTO contacts (fname) VALUES (null,?),' [fname]) …

Member Avatar for Stefano Mtangoo
0
486
Member Avatar for calypso&noname

Thanks ahead of time for reading, and any help you give. Basically I have a integer "numExs" that is initialized by user input. Then, I use a [B]for[/B] loop to output the appropriate number of X's, as dictated by the "numExs" integer. However, I get a C4700 warning that "numExs" …

Member Avatar for calypso&noname
0
265
Member Avatar for skylar

ok so i was recently playing a game called ZORK a lot of older people will know what that is if you dont its a text based rpg that is realy addicting and amuseing so i wanted to attempt to figure out how they could have done something like this, …

Member Avatar for lllllIllIlllI
0
101
Member Avatar for Ghost34

Private Sub cmdgo_Click() //txtsearch.text is where you going to input student number and the StudentNo is database field name or should i say it is table name the one that contains student number If txtsearch.Text = StudentNo Then Data1.Recordset.OpenRecordset //hmm... i made this cause it looks like its going to …

Member Avatar for picawho
0
123
Member Avatar for valkerye

I'm having an issue with a program that prompts a user for a date and then validates it. It requires a switch statement to validate the day and at least 2 Boolean variables. My problem is with either of those or possibly both. I'm honestly guessing both since I'm still …

Member Avatar for valkerye
0
103
Member Avatar for Dhaneshnm

I want a file uploader,that doesnt cause post back in asp.net 2.0. With some googleing i found that if i set traget of the form to an iframe on the same page,i can avoid post back.But when i try this the page is getting opened in new window.(ie7 is the …

Member Avatar for Dhaneshnm
0
817
Member Avatar for jhanthem

hello, I have to write a program that takes floating point numbers from another file and prints out the average. The problem is the other file submits three columns so I don't know how to do the average for the three separate columns. This code is terrible and I can't …

Member Avatar for csurfer
0
148
Member Avatar for hkBattousai

I have two buttons in my main window frame, named btStart and btStop. btStop is initially disabled. I want to write down such a code that , -when user clicks btStart, btStart will be disabled and btStop will be enabled, -when user clicks btStop, btStop will be disabled and btStart …

Member Avatar for suganyavasudev
0
838
Member Avatar for shahab03

so i have this following code which does this simple thing in mips mult $t0, $t1 $t0 = -763 $t1 = 29 when I move the values from hi and lo registers to $t2 and $t3 i get following values for each $t2 = -1 and $t3 = -22127 is …

Member Avatar for wildgoose
0
66
Member Avatar for D-P

Hi, I need this program to print ascii code that I entered to al. The problem is that it is always print the char of the value ; i.e If I type a, al=61. How I print just the '61' and not the 'a' ? Here is my code : …

Member Avatar for NotNull
0
1K
Member Avatar for assembly101

I am trying to find out if the Auxiliary carry flag only turns on when the 4th bit carries out from the 3rd bit or if it will turn on for the 7th to 8th bit aswell. This is what I did already: mov ax, 0Fh ; this is the …

Member Avatar for wildgoose
0
207
Member Avatar for CFROG

What could make a query run fine from the command line and return the expected results, but not return results when run through the page? I get no syntax errors, just a warning for the fetch_array. It all looks good to me, I'm stumped. I echoed all the variables immediately …

Member Avatar for CFROG
0
107
Member Avatar for haven_u

iam trying to extract a individual character. for example, during run time the user enters 110111 as input. can any 1 help me with the code to extract these input and store them in an array as individual elements.

Member Avatar for haven_u
0
157
Member Avatar for Artamos

First my skill levels: I was over the moon when a friend donated his Trash80 to me, complete with manuals, oh so many years ago.. I got a glimpse into the PC world and later embraced DOS programming..:) As windows came into the picture I left behind my 'boyhood' knowledge …

Member Avatar for Artamos
0
114
Member Avatar for Dewey1040

What i have to do is read a string into a vector, then cop that vector into an array of character pointers, then for each element in the vector i have to allocate a new character array andcopy the data from the vector element into that character array. Then finally …

Member Avatar for Zjarek
0
130
Member Avatar for lancevo3

Hey guys I am writing code that uses a dynamic casts then prints out some objects. What I am having trouble with is my code test as null when it isn't suppose to. Here is what I got and the dynamic cast code looks dead on to me. Maybe not …

Member Avatar for JasonHippy
0
100
Member Avatar for abchigley

I need a macro that will search an excel spreadsheet for a specific text. If the text is found than I need it to store a value from a neighboring cell then procede to search the rest of the sheet and in the end sum all the values found and …

Member Avatar for cguan_77
0
69
Member Avatar for gpss

Hi! Is it possible to refresh only a <script> and not all the page?! i have a <script> that displays google maps... and i show it on my page with other material.. i just wanted to refresh that script (google maps display), and not all the page... i did it …

Member Avatar for Will Gresham
0
117
Member Avatar for scrace89

I'm stuck trying to figure out how to find out which number in a range entered for a hailstone sequence has the longest length of numbers total including the starting number itself. This is what I have so far: elif choice is apart of a menu getValidInt() is a function …

Member Avatar for scrace89
0
299
Member Avatar for marshall31415

Hi, There is a lot of code - so I have attached the entire thing as a zip file. This is for a function plotter. Basically, I need to track the changes in the root window size so I can resize the canvas and redraw all the plots. I'm very …

Member Avatar for marshall31415
0
3K
Member Avatar for tnccjavaMatt

As discussed on this forum, I'm not looking for a quick answer, just an explanation on why what I have written is not working and a point in the right direction that will make this program work. Problem: Purpose of this program is to create a GUI that presents to …

Member Avatar for Jocamps
0
284
Member Avatar for mldardy

I am having trouble uploading any file to the path in the error message below. Does anyone have any idea what the problem is. I did some research on this and most sites say that the permissions need Read/Write access for the asp.net user. I tried this and I still …

Member Avatar for guru_sarkar
0
611
Member Avatar for Tvirusx1

Hello I am new to DaniWeb and this is my first Thread. I am currently trying to develop a bot for the Game DarkOrbit. I used WPE Pro and I found out that I could controll the Spaceship by sending specific Packets (I have some Packet codes already). Well heres …

Member Avatar for Tvirusx1
0
171
Member Avatar for realchamp

Hello! I was wondering if it were possible for me to have a PHP script which would send a line of charactors to my C++ program. The C++ program needs to run all the time to recieve the inputs from PHP. Both the C++ program and my webserver is on …

Member Avatar for realchamp
0
224
Member Avatar for leviathan185

Hi All, i am trying to write an application that will take an XML file that has been saved from an XLS spreadsheet and display the data. I will be ok with how to display the data i just dont know how to get the data from the XML. I …

Member Avatar for leviathan185
0
119
Member Avatar for neithan

[CODE] unsigned longitud; cin >> longitud; vector<char> palabra(longitud); for (unsigned i = 0; i < palabra.size(); i++, letra += 1) { palabra[i].push_back ('a') << " "; }[/CODE] The error i get: [CODE]error: request for member `push_back' in `(&palabra)->std::vector<_Tp, _Alloc>::operator[] [with _Tp = char, _Alloc = std::allocator<char>](i)', which is of non-class …

Member Avatar for neithan
0
143
Member Avatar for kpeeroo

I have an idea of the design but I want to know if it wont impact performance. I have a student form consisting of Qu like: - Do you have internet access - Relationship - Do you want to pay by cheque, credit card + other options - etc So …

Member Avatar for kpeeroo
0
118
Member Avatar for FallenPaladin

Hi there, please can some help with this very simple regex. I am coming from c# and trying to get up to speed quickly, so have been trying to create samples for my refrence, however can not get this to work [code] String aString = "0123"; Pattern intPattern = Pattern.compile("^[0-9]{3}"); …

Member Avatar for quuba
0
104
Member Avatar for lipun4u

I was trying to implement operator overloading in c-string in the following code [CODE=cpp]#include <cstring> #include <iostream> using namespace std; class string { char *st; int len; public: string():st(NULL), len(0) {} string(const char *s); string(const string & s); ~string(); friend string operator+(const string &s1, const string & s2); friend int …

Member Avatar for mrnutty
0
136
Member Avatar for Xentiago

Hi, was wondering if someone could point me in the right direction. I am currently making a php/html registration page for users in dreamweaver and I want them to check a radio button to confirm they have read the rules, like so. [code]<input type="radio" name="rules" value="radiobutton"> <p>I confirm I have …

Member Avatar for Xentiago
0
116
Member Avatar for DeadJustice

I'm having a small problem. I've created a binary tree that represents an n-ary tree using the left-child and right sibling syntax. I know that preorder on the binary tree gives you the same result as if the tree weren't binary. But, how do you change postorder and levelorder so …

Member Avatar for DeadJustice
0
184
Member Avatar for web3

How to limit access on my page to unregistered visitors? Like that they can't open forum or users profiles?

Member Avatar for Will Gresham
0
68
Member Avatar for miasuhyla

Write a class called Person.java that has instance variables matric number, name, date of birth, and gender. Use appropriate data types for these instance variables. Include constructor and set and get methods for all instance variables. [CODE]public class Q1L6{ class Person { String name; int DOB; int MatricNum; char gender; …

Member Avatar for Qzmo
0
146
Member Avatar for countrygirl1970

Hello everyone, I am having a slight problem in my function "startGame". My code works on Bloodshed and the code does compile. I am trying to refine the part on making sure that only a number gets input and not a letter or any other key gets input. I have …

Member Avatar for countrygirl1970
0
188

The End.