64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for OmniX

This is what happens: I have an input submit button. On mouse over text is changed from RED to WHITE. On mouse out text is changed from WHITE to RED. Simple eh? Well IE does it fine but FF makes everything change to RED border, etc. [code] jscript: function over(button) …

Member Avatar for OmniX
0
210
Member Avatar for tripjokers69

I have a two part assignment. Part one is to create a menu driven program using variables to do certain tasks. Part two is to convert the variables being used into 2 arrays. The code for part one is post below and works perfectly for everything that is required. My …

Member Avatar for tripjokers69
0
105
Member Avatar for edek

The program as it is generates: [ICODE]>Parent1 >Parent2 >In Child >Parent3 Successfull...[/ICODE] If I remove the comment from line 31 - just below "//THE PROBLEM:" so the "gets(buff);" is executed it gives: [ICODE]>Parent1 >Parent2[/ICODE] and... waits (both parent and child processes running - both waiting). I would like to be …

Member Avatar for vijayan121
0
261
Member Avatar for Littlen

Hi all Ive writing a simple j2me program to read from a file. Im running the midlet on a pda but im having trouble accessing the file. Im using J9 JVM on a Dell Axim, ive also installed the JSR-75 (which is need to access files), however im still having …

Member Avatar for Littlen
0
95
Member Avatar for Seamus McCarthy

Please help i'm trying to click on the screen just inside the box coordinates of (x,y) but it clicks everywhere on the screen!! [code=cplusplus] void cursorpoint() { #include "cursor.h" int x ; int y ; //x will have the x position and y will have the y position of mouse …

Member Avatar for Seamus McCarthy
0
147
Member Avatar for Kythas

I'm trying to parse through a large file (544,000+ rows). I'm pulling information from each row and creating a SQL statement with that information, and trying to remove duplicates. Here is my current code: [code=Python] try: fdata = open(vhdat).readlines() except IOError, detail: print "Error opening file. ", detail # Define …

Member Avatar for jice
0
134
Member Avatar for marceta

Hey guys, I'm working on a basic search engine and am really close to completion. I currently have a function that takes a string and compares each word and its synonyms to a webpage. My output at the moment is [("closeness" percentage of terms to webpage, webpage contents,(x,y),(x,y)...(x,y)] I am …

Member Avatar for jrcagle
0
176
Member Avatar for swingingstars

Hai... I'm new to Ajax.. I've seen many cool site pumped with ajax requests. How can I fill the content with ajax responseText ONLY after the page structure has been fully loaded? is it matters if the file is not an html? is .html file faster to render than .php? …

Member Avatar for swingingstars
0
180
Member Avatar for Adila

i got until here.. [code=java] public class ButtonListener implements ActionListener { public void actionPerformed(ActionEvent buttonEvent) { int delay = 1000; //milliseconds ActionListener taskPerformer = new ActionListener(){ public void actionPerformed(ActionEvent evt) { JFrame myFrame1 = new JFrame(); MySadFace sad = new MySadFace(); myFrame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); myFrame1.getContentPane().add(sad); myFrame1.setSize(400, 200); myFrame1.setVisible(true); } }; Timer test …

Member Avatar for Adila
0
217
Member Avatar for Google Spider

Hi, I'm getting seg fault in this [code] #include <iostream> int main() { char *p; *p='w'; std::cout<<p; return 0; }[/code] I'm sure it is due to the line [code] *p='w';[/code] I interpret this line as [QUOTE]Value at address p = 'w'[/QUOTE]. I would like to hear an explanation on why …

Member Avatar for Google Spider
0
137
Member Avatar for leedsy7

Can anyone provide me with code on how to Delete a row from a list box?? lstReorder.RemoveItem (index) I believe is the right code. However this does not actually do anything by itself. How do i tell the program what the index refers to? ie what the index is? for …

Member Avatar for Henry Schubel
0
1K
Member Avatar for lifeworks

Hi Busy putting together my first competent attempt at a PHP/MySQL website, its a real estate package of sorts. I'd like to bring up a brief description of each house (in the DB) initially and when the user clicks on the photo or name etc, they will be directed to …

Member Avatar for prethum
0
116
Member Avatar for mikeandike22

ok im new to PHP and sortof need to learn the basics for my job and i got the oreily PHP 5 book and in some of the examples i keep getting a parse error. here is an example [php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta …

Member Avatar for gcardella
0
146
Member Avatar for swingingstars

Hi... when i use mysql queries with php, is there any way to load my page faster? Can certain divs or tables that use mysql query being executed last? after the page fully loads?

Member Avatar for swingingstars
0
166
Member Avatar for hkarthik

Hi everybody, I am new to j2me. Can anybody tell me how to start working with j2me.

Member Avatar for Samudricka
0
107
Member Avatar for Scottmandoo

In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text …

Member Avatar for prethum
0
2K
Member Avatar for november_pooh

i write a program that it needed to get a couple string from string. e.g : November -> i want to get "vem" only... how i can do this?? any help will be appreciated thank you

Member Avatar for Jx_Man
0
90
Member Avatar for blufab

I am making dynamic changes to my current page's DOM with javascript, and would like to visually inspect the code that was rendered. Is there a easy way to do this? Off the top of my head I was thinking i would have to transverse the DOM and output all …

Member Avatar for swingingstars
0
76
Member Avatar for swapna7999
Member Avatar for swapna7999
0
76
Member Avatar for Moporho

I am trying to get my 2d array to total up values. It is laid out perfectly, but my values do not calculate. Is my math wrong? Please help?? [code] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main() { const int DAY = 7; …

Member Avatar for Moporho
0
146
Member Avatar for glfnfvr

I am trying to write a code that asks for a date in a user form text box and then takes that date and looks for it in a range. Once it finds that date I want to enter the data from the second text box in a cell on …

Member Avatar for glfnfvr
0
128
Member Avatar for WonderWomen204

Hey there. It's Erinn and I just have a quick question about my assignment that I am working on. I have everything right except for one part...don't u hate that...lol. Anyway, here is the code and assignment below. Sorry there is no code, but it's been a long day and …

Member Avatar for WonderWomen204
0
132
Member Avatar for godevars

Here's one I haven't been able to find an answer to. I have 4 arrays: @array1, @array2, @array3, @array4. I ran code to compare the values of 2 arrays to see number of values in common: [CODE]use strict; use warnings; my (%union, %intersect); foreach my $e (@array1, @array2) { $union{$e}++ …

Member Avatar for katharnakh
0
2K
Member Avatar for cmills83

I am still new to CSS, how would I add a drop shadow around the main conent of this page? [url]www.racexpressions.com[/url] I have been trying for a while but I can't seem to get it to work. Thanks!

Member Avatar for borith
0
261
Member Avatar for kushyer

I'm using Xubuntu, and I've found that I can't change text control foreground colors in WxPython, on this Linux. They change fine in Windows. They won't change in Xubuntu—it doesn't matter if I use Xfce, Gnome, or KDE; it's the same. It's always black (very problematic when you have a …

Member Avatar for kushyer
0
297
Member Avatar for phalaris_trip

I would like to create a specialisation of.. template <typename CEnemy_Ty> class CEnemyManager {}; ..for a class called CTank which is a CEnemy But by defining.. template <> class CEnemyManager<CTank>{} ..it means I have to copy+paste huge chunks of unchanged code, just to change say one or two functions. By …

Member Avatar for phalaris_trip
0
102
Member Avatar for buddha527

Hello, I need help adding two arrays of different sizes [i.e. 3005 + 305 = 3310 ]. I am sorry but I do not have any code to post because I am completely lost on how to even go about starting this, so any hints or help on what to …

Member Avatar for vmanes
0
2K
Member Avatar for aran87

hello ive used disabled="true" but this disables text from been inserted into a database i need a function which does'nt allow data to be entered into a textbox but still passes information to next page or a database what could i use?? thanks

Member Avatar for phper
0
76
Member Avatar for natd

I am having trouble reversing the words in a sentence. For example "a line of text" should be printed "text of line a". So far I can only print the last word, it is probably obvious but at the minute i just can't see how to do it. Any help …

Member Avatar for natd
0
812
Member Avatar for CodeBoy101

Hi I need an example of how threads are coded and implemented in Dev-C++, any help would be greatly appreciated. :)

Member Avatar for CodeBoy101
0
189
Member Avatar for demroth

I am currently working on a project in which I need real-world datasets to use with the Bellman-Ford algorithm. I would like directed or undirected graphs related to routing to use but havent been able to find any. Does anyone know where I could find such materials?

0
63
Member Avatar for wrichardson530

Hi all. I'm having difficulty making a log-in screen. i am using an adoc contorl called adoClerk, which contains only two fields and ClerkId and Password. The ClerkId is a autonum and password is text. I Have two text boxes that need to be read from this screen txtClerId and …

Member Avatar for choudhuryshouvi
0
212
Member Avatar for emilio
Member Avatar for emilio
0
84
Member Avatar for Nemoticchigga

Does anybody know where I can get some basic source code on the creation and use of threads (I know about threads, just never coded them, and reading up on them, some of the inputs into CreateThread are confusing)?

Member Avatar for Nemoticchigga
0
106
Member Avatar for D boss

hi guys, i am working on applets, below is a bit of coding i am working on, it compiles with out any problem, but when i run it i get an error msg saying: `"Exception thread "main" java.lang.NoSuchMethodError: main"` if any one can advice it will be appreciated a lot... …

Member Avatar for D boss
0
87
Member Avatar for cmhampton

I have a data layer class built with the dataset designer that I have added as a reference (compiled dll) in a project. When I run the app locally from Visual Studio, it runs just fine. However when I move it to the hosted server, I get "Type 'H2C2DataLayer.h2c2DataSet.topicsDataTable' is …

Member Avatar for cmhampton
0
133
Member Avatar for Noliving

I basically have the entire program done except for one little problem my maxDepth output is wrong! But the rest of the assignment is after your program gets the correct answers, add static variables calls, depth, and maxDepth to your class and add code to your implementation of Z to …

Member Avatar for Noliving
0
86
Member Avatar for Acidburn

Hey guys, I've got a class defined has the following: [code] class TData(object) : #Overriden constructor def __init__(self, oc, via ): self.oc = oc self.via = via [/code] now in a separate file I'm trying it iterate through that using recursion. [code] def search(critia, searchSpace, value) : print "Calling search …

Member Avatar for Acidburn
0
257
Member Avatar for alexhkleung

i want to frd the[COLOR="Green"][B] MainControl[/B][/COLOR] with the derived class [COLOR="Green"][B]food [/B][/COLOR] [B][COLOR="Green"] objects.h (abstract base)[/COLOR][/B] [CODE=C++] #include "maincontrol.h" class objects {...}; [/CODE] [B] [COLOR="Green"]food.h (derived)[/COLOR][/B] [CODE=c++] #include "objects.h" using namespace std; class food: public objects {...}; [/CODE] [COLOR="Green"][B]maincontrol.h[/B][/COLOR] [CODE=c++] class objects; class food; class MainControl { public: friend objects; …

Member Avatar for alexhkleung
0
123
Member Avatar for swapna7999

hi thanks for ur suggessions now i got mysql connection with vb but i need to use the mysql Queries in this application hope i wil get solution thank u very much

Member Avatar for swapna7999
0
843
Member Avatar for swapna7999

hi there thanks guys now im able to connect to the mysql database and know how to use select statement to access the the data in the database but what to do to view the data retrieved by the select statement

Member Avatar for swapna7999
0
79
Member Avatar for shreka

Hello, I have been asked to create a pascal program but I am finding it really difficult because I haven't dealt with text files or binary searches before. The program is supposed to read a Student ID and then the program should display the Student's details. All of the data …

Member Avatar for another guest
0
522
Member Avatar for Moporho

I am trying to solve a problem from a lab challenge. I can not get the program to compile correctly. Please look over and let me know where I need to be looking to solve this Use a two-dimensional array to solve the following problem. A company has four salespeople …

Member Avatar for Moporho
0
4K
Member Avatar for CaffeineCoder

OK, this should be easy (in theory) but I'm having issues with the java applet showing up in the HTML. The applet works when I run it within the IDE, but when I try to run the applet, a message in the bottom left of the applet window says that …

Member Avatar for CaffeineCoder
0
122
Member Avatar for mikky05v

this is simulated data on daily vehicle traffic crossing a bridge for one week. From Monday through Sunday the daily vehicle counts were {986, 818, 638, 763, 992, 534, 683}. Create an input file named cars_data.dat containing these numbers. Write a program that will read these values from the input …

Member Avatar for hammerhead
0
150
Member Avatar for Islandstone

I'm having trouble running my compiled program on other computers. The script is a wxPython GUI app that creates a task bar icon. The script works perfectly on my computer both standard, in the pdb and compiled. But on two other computers it gave two different errors. The first one …

Member Avatar for Islandstone
0
328
Member Avatar for kickinmhl

I am having this compatibility probelm with IE vs. Firefox. The below code works perfectly fine in IE but not in Firefox. Essentially it is a pair of radio buttons and an Iframe below it. I want the Iframe content to change when the radio button option is selected. the …

Member Avatar for ~s.o.s~
0
185
Member Avatar for Raptoricus

Hi I have been programming for about 3 weeks now and am really starting to get somewhere with it, but I have encountered a problem with this text rpg that I am making, the problem is I have made 3 header files being 1.character(contains character class) 2. monster(another class file …

Member Avatar for Raptoricus
0
126
Member Avatar for Yellowdog428

for some reason I cannot add integers in an array of structures. here is the code. [CODE=c++]#include<iostream> #include<iomanip> using namespace std; const int SIZE = 5; struct playerInfo { char name[30]; //Players name int number; int points; }; int main() { int total = 0; // to hold total points …

Member Avatar for Ancient Dragon
0
87
Member Avatar for b04e3ian

Hi there, I'm very new to programming, and I have this assignment where I'm supposed to create a 2D game in python. The character in the game is Homer Simpson, and I'm trying to get him to move within the maze thats already been created for me. I believe I …

Member Avatar for vegaseat
0
397

The End.