199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NickRx

[code] <script language="Javascript"> window.onresize = function (){ alert("Thanks for resizing!"); } </script> [/code] Is there any reason this gets sent twice to IE? Is there anyway I can make it so it will wait until the user is done resizing before it sends it(IE problem)?

Member Avatar for macgurl70
0
129
Member Avatar for drjay1627

Hello, Is there any way of checking all elements in a queue without calling pop(). [code] while(!q.empty()){ cout << q.front() << endl; q.pop() } [/code] this is essentially what I have done. There is a bug in my program and I'm trying to check what is wrong. I don't want …

Member Avatar for vijayan121
0
129
Member Avatar for nocookies92

I'm trying to create a string array, but the compiler keeps giving me an error message on the lines I assign a value to each index of the array. Here's the code: [CODE]String[] greeting = new String[4]; greeting[0] = "Why, Hello there!"; greeting[1] = "Welcome."; greeting[2] = "blah blah blah"; …

Member Avatar for nocookies92
0
124
Member Avatar for aditya027

class Superclass { void display() { System.out.println("Super"); } } class Sub1 extends Superclass { void display() { System.out.println("sub class1"); } } class Sub2 extends Sub1 { void display() { System.out.println("Sub class2"); } void display2() { System.out.println("Second method"); } } public class reference { public static void main(String[] args) { Superclass …

Member Avatar for aditya027
0
124
Member Avatar for NicAx64

hi, I am using mingw32-gcc-3.4.2 inside a windows XP Professional SP3 computer. For my project I uses libcomctrl32.a library.The compilation goes without an error. and linking too.But the problem is it crashed on the runtime.Then I add the -g option and debug it. Here is the stack trace that I've …

0
114
Member Avatar for lwaterfo

Hello, I am wondering, is there any way to create a form inside of a php page? If so, how? thanks, -l.

Member Avatar for lwaterfo
0
161
Member Avatar for daredevil786

*ptr++ and ++*ptr are they representing the same expression if not then how they are different according to precedence ?

Member Avatar for Adak
0
101
Member Avatar for johndoe444

I created a php script: [ICODE]#!/usr/local/bin/php <html><head><title>PHP Test</title></head> <body> <?php print( "Hello World<br />"); ?> </body></html> [/ICODE] created an htacces file [ICODE]AddHandler cgi-script .php DirectoryIndex index.html index.php [/ICODE] changed the permission [ICODE]chmod 711 hello.php chmod 644 htaccess [/ICODE] This does not work: [url]http://xyz/~username/hello.php[/url] By making the hello.php to hello.txt the …

Member Avatar for itanum
0
348
Member Avatar for kirennian

Take for example, the number 74.38145. The user inputs how many decimal points they wish to have displayed via the sprintf_s function. I can't for the life of me figure out how to best do this. I know how to display the float to a set number of decimal points: …

Member Avatar for kirennian
0
285
Member Avatar for watery87

Hi guys, i compiled a program but i have this vague error message that occured. Searching through google.com states that it might be due to many problems such as invalid pointers, etc, etc. Im a fairly new person to C prog, so i would like to seek your advise on …

Member Avatar for watery87
0
314
Member Avatar for jiraiya

Hi everyone, I'm having a little problem I'm sure someone can help me with. I'm trying to read in 10 png images and save them in an ArrayList as BufferedImage objects (I think this is the right way to go about it but if not plaease say so). Here is …

Member Avatar for jiraiya
0
2K
Member Avatar for kevin025

i have a crystal report and now with using crystal report viewver want to display it on page .. I want to display the crystal report when the page is loaded .. so i have placed a crystal report viewver in the page and wants to put some codes in …

Member Avatar for kevin025
0
109
Member Avatar for rahul8590

i did go thru a google search and found some functions .. but those results where horrifying , i guess i am using a wrong method of finding time . [code] def test(): "Stupid test function" L = [] for i in range(100): L.append(i) if __name__=='__main__': from timeit import Timer …

Member Avatar for Beat_Slayer
0
850
Member Avatar for new_programmer

I want detailed explanation about static int var; final int var; static final int var; Please explain it in the memory implementation level. If there is any mistake in these please explain. __________________

Member Avatar for masijade
0
427
Member Avatar for titan5

I have written a program which checks whether the entered list is a circular list or not. I am successfully able to make the circular list. But as soon as I call the check_circular fucntion my program hangs. Can anybody find the error please? And yes the programs hangs when …

Member Avatar for titan5
0
103
Member Avatar for prathoven

Their is difficulty in changing the name of the columnheader of list view constantly by using the loop in button click method...Is their any way to change the textname by using loop??? :S

Member Avatar for prathoven
0
3K
Member Avatar for seularts

Here is the code that counts all the image files from a group of folders in the binary folder. The problem is that when it counts the file, if i have 1 file in the first folder(88x31) and another one in a second folder (120x60) it will count 3 instead …

Member Avatar for rch1231
0
180
Member Avatar for dexter1984

[CODE=cpp] while (j < i) { cin.ignore(); cout << "Please type enter to display: "; cin >> enter2; if (strcmp(enter, enter2) == 0) { cout << "ID: " << students[j].ID << endl; cout << "Name: " <<students[j].name << endl; cout << "Address: " <<students[j].address << endl; cout << "Telephone: " …

Member Avatar for ponce_jelie31
0
87
Member Avatar for sanz
Member Avatar for Adak
0
2K
Member Avatar for VJTechno

Hello Friends, I was reading about the orthogonality and it's advantages. Then heard something like "Java is an Orthogonal Language". Can anyone explain me what do we mean by a particular programing language being orthogonal? If I am using Java for development of my application, does it imply that my …

Member Avatar for VJTechno
0
607
Member Avatar for simranjit kaur

ah i am I.T 2nd yr student making my project in core java.Can any one tell how to make event in mind fiddler game (e.g kbc). can any one give me codification in making my project get started.plzzzz results needed...

Member Avatar for peter_budo
0
133
Member Avatar for siddhc

Hi, I made a simple Form1, with Text.Box1 (starting value=1) and Text.Box2 (starting value = 100000), as shown in the attachment : I wanted that, when the Form loads,value of Text.Box1 keeps on increasing by 2 and value of Text.Box2 keeps on decreasing by 3. I wanted to achieve this …

Member Avatar for GeekByChoiCe
0
153
Member Avatar for hansan

Hello, [LIST] [*]I want to protect my external javascript(and css also) from outside people, who steal my javascript. [/LIST] [LIST] [*]but this is impossible using client-side language. [/LIST] [LIST] [*]so can anyone tell me a method to [B]hide external javascript(and css) by using sever-side language???[/B] [/LIST] thank you

Member Avatar for pres-pnoy
0
223
Member Avatar for anurag.kyal

I have a forked child process running which executes a system command killing the child using os.kill(child_pid, SIGKILL) stops the child process but the system process continues ! Can something be done to stop the system process also? A part of the code is something like this: #Child child_pid = …

Member Avatar for jcao219
0
159
Member Avatar for arsenal_fan

There is an array of odd and even numbers. Now, sort them in such a way that the [B]top portion of the array contains odd numbers, bottom portion contains even numbers. The odd numbers are to be sorted in descending order and the even numbers in ascending order[/B]. If the …

Member Avatar for griswolf
0
95
Member Avatar for Jaydenn

I'm making an application which searches all the lines of my text files in a directory, and writes the specific search match to my output box. The only problem is I need to split a string like this: [CODE]character-item = 0 996 1500000[/CODE] How it works: You search for the …

Member Avatar for Jaydenn
0
124
Member Avatar for trpsjt2008

Hi How To Make This Faster [CODE] Private Sub MonMove() For A = 0 To (Cnt - 1) MyControlArray(A).Location = New Point(MyControlArray(A).Left _ - 1,MyControlArray(A).Top) Next End Sub[/CODE] first i make A Hundred of PictureBox Later I use Array How To Make it Faster ,When It Appear More than 20 …

Member Avatar for trpsjt2008
0
119
Member Avatar for surk23

My program has 8 JButtons and 1 JTextField. Each button should change the text in the text field to something different. I started out having an action listener for each button but i would like to link all the buttons to just 1 action listener and have it recognise which …

Member Avatar for tong1
0
1K
Member Avatar for deven_a76

HI, I have a requirement where I need to compare the data in different database(tables having same structure/schema). I know manually I can execute the queries in each database, compare the results and it is done. As this execution is repetitive in nature, how I can automate this. Thanks In …

Member Avatar for deven_a76
0
107
Member Avatar for creeps

I've written the following binary search algorithm and it worked on [i]my[/i] tests. I want to know if there is something I'm missing, as this is the first time I try to write it, so give me a case in which it would fail, and I'll try fixing it. I …

Member Avatar for Adak
0
149
Member Avatar for emmas4impact

Hello i will like to have an explanation to this task: Make a midlet (called "NetworkSettings") that has List (IMPLICIT type called "mainList") as its main view. "mainList" contains following items: "Encryption", "Basic data" and "Summary" (actually items will describe views). When user selects one of those items from "mainList" …

Member Avatar for emmas4impact
0
223
Member Avatar for freshfitz

I need to create a file to use as a template in coldfusion, so I need to insert cold fusion code to a sql database table using cold fusion or create a file with cffile? Every thing I try to use,it doesn't work because I think it is reading the …

Member Avatar for samaru
0
190
Member Avatar for cristi08

Example of GRAND TOTAL, TOTAL1 TOTAL2 TOTAL 3 SUBTOTAL 1, SUBTOTAL 2 SUBTOTAL 3 How many chairs we have in our village? Grand total chairs in houses =total chair in house A + total chair in house B Total chair in house A = TOTAL CHAIR IN ROOM 1 + …

Member Avatar for cristi08
0
158
Member Avatar for Garrett2011

Suppose we've got two integer and character variables: [CODE]int adad=12345; char character;[/CODE] Assuming we're discussing a platform in which, length of an integer variable is longer than or equal to three bytes, I want to access third byte of this integer and put it in the character variable, with that …

Member Avatar for r.evrard
0
214
Member Avatar for rtllz

hi, i was wondering if someone could help me make a number generator. By that i mean have it start from 0 then go 00 then 000 and so on until lets five zeros(00000) and after that make it change the last number by 1. Any help would be appreciated, …

Member Avatar for mrnutty
0
126
Member Avatar for Suzie999

Hi. So far I have been moving along relatively steadily with my learning of C#. One thing I havently really bothered with yet is try and catch. The reason I havent looked into this is I dont really know in what cases I would need to use it. So my …

Member Avatar for Suzie999
0
194
Member Avatar for Manny7

Hi there, I solve a problem with append the values into the value atribute of input. If I click on some html element, I need this text of element put into the input as its value. The problem is that I don't know, how to put several values into the …

Member Avatar for Airshow
0
95
Member Avatar for qqwushi12345
Member Avatar for deeapk_kapdi

Hi, I am a beginner in Python. I have created 1 script in notepad++ and trying to execute the script from command line but it's giving an error. I have set the PATH of Python in the environment variables also. Can anyone send me the complete steps for executing the …

Member Avatar for TrustyTony
0
9K
Member Avatar for Rameshkeerthi

Hi, I'm getting trouble while implement the code of image rollovers. Please find the below code. [CODE] <a href="http://www.quackit.com/javascript/image_rollovers.cfm" onMouseOver="/pix/smile.gif" onMouseOut="/pix/nosmile.gif"> <img src="/pix/nosmile.gif" width="100" height="100" border="0" name="jack"> </a> [/CODE] My actual intention was image rollovers by using the onMouseover event handler to swap the first image with the second image. …

Member Avatar for peter_budo
0
108
Member Avatar for aripurwahyudi

i have write a javascript code in dreamweaver mx 2004 : here is the screenshoot of my page : [IMG]http://i576.photobucket.com/albums/ss210/aripurwahyudi/albumin-correction-formula-view.jpg[/IMG] Summary for the picture is : input in : Body weight, actual albumin, target albumin, is a number : decimal and or absolute number i need this tabel work if …

Member Avatar for aripurwahyudi
0
149
Member Avatar for therobot

I've got a small project that I'm working on, and the core *.exe that I'm building has a decent amount of dependancies. I keep this, right now, in a folder of all the includes and a *.lib file for all the implementations. My question is, is there a way to …

Member Avatar for Ancient Dragon
0
90
Member Avatar for Buolbear4444

How hard is it to learn Objective-C for iPhone Apps if you know C++, C and Python already? Is it better to use that rather than just C++ code when writing Apps? If so, why? I want to start iPhone Development and recently got an iMac for my Birthday. How …

Member Avatar for papanyquiL
0
136
Member Avatar for PaKmAn

So I have to create a multiplication table but it has to be the size of a number I enter from 5 to 31. I think I understand creating a multiplication table without an input, but how do I do it when it has to be a specified size? [code] …

Member Avatar for Ancient Dragon
0
119
Member Avatar for alertsfortrader

I am new to PHP so please explain to me like you would to a child ^_^. I am trying to write a simple php script and keep getting this error: Parse error: syntax error, unexpected T_STRING in /home/alertsfortraders/www.addictedtotrading.com/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 14 [code=php] <?php $wpusername = $_POST['wpusername']; …

Member Avatar for Zagga
0
1K
Member Avatar for UzuNarU

Hi everyone. I am trying to figure out if it's possible to write a PHP or JavaScript that changes the background image every time the browser refresh button (or F5) is pressed. I haven't seen it done this way, however I have seen it done for banners and other images. …

Member Avatar for UzuNarU
0
213
Member Avatar for mayursharma

hello...i m makin a calculator which inputs a expression n gives the result. suppose i hv entered an expression( e.g. 12 + 3*5 -7) into an string variable .now if i want to check the string from starting index that it contains an integer or not ,then what is the …

Member Avatar for jon.kiparsky
0
174
Member Avatar for Xufyan
Member Avatar for jenzilla

Hi.. I've been trying to get this to work for hours now but I'm not understanding what to do. Basically I'm creating a quiz on python with 5 questions. I have a function that is only for the quiz. Another function is to display the highest quiz score. I want …

Member Avatar for Beat_Slayer
0
4K
Member Avatar for manzoor.ilahi77

Hi, can you pl help me on the submission of a form when submit button clicked the form content have to send as a mail.

Member Avatar for ApocDen
0
129

The End.