199,114 Archived Topics
Remove Filter ![]() | |
hi I m gettting this error java.lang.NoSuchMethod , i hv tried but not able to get the answer, I m using one method that is in diffrent class and that class has public static void main(String[] args) { } Plz provide me wih solution. Jitender | |
hey guys this is my program ,every thing works great but i want to to make aloop which makes the program play again,idon't know how to do that for multi methods program can some one help me. i know i have to create string and use that to loop the … | |
Hello to all. They are new of the forum. I am trying disperatamente a activex that me it concurs to record laudio using the modem or the audio card. I tried something of professional. I hope that someone to help me in this deprived of hope search. Thanks :sad: :?: | |
I have an image being displayed in a Tkinter window. I need a way to add letters to the image in certain spots depending on what is done by the user. Example: if button 1 is pressed, the peoples names appear over their heads, but I can't just switch the … | |
ok, i am going to *attempt* to make a tic-tac-toe kinda game... he is what i got so far.. PLEASE help it out!(i will update the code sometimes).. [CODE] #include <iostream> using namespace std; int main () { int line1; int line2; int line3; int line4; int line5; int line6; … | |
I am trying to replace all characters in text with char [*]. It only displays the first four. If i type anything after 6 digits it displays 5 [*]. Could anyone help me?. Look at the function twoplayer(w). Thats the one i am concerned with now [CODE=c] #include <iostream> #include … | |
Hi, I have been trying to learn how to create web services for last few weeks. In the process I learned about xml, mySQL, JDBC, servelets, and javabeans. At this point, if you give a specific task such as 'get price for a certain item from the database and display … | |
Hey everyone, I have a question on one of my homework problems. I'm in basic structured programming; C++. The question states the following: The root of the quadratic equation ax^2 + bx + c = 0, a ≠ 0 are given by the following formula: [U]-b +/- √b^2 – 4ac[/U] … | |
I cannot figure out why I am getting these two errors error C2504: 'arrayListType' : base class undefined error C2143: syntax error : missing ',' before '<' [code] // Jon Wayman // class that is derived from arrayListType template <class elemType> class unorderedArrayListType: public arrayListType<elemType> { public: void insertAt(int location, … | |
Hello I need help. I need to write a program that changes all upper case letters to lower case letters and all lower case letters to upper case then the vowels with an *... it would look like this normal= UppER loweR caSe output should be this.. *PP*r L*W*r C*s*.. … | |
![]() | I just wanted to ask what is [INLINECODE]bioskey()[/INLINECODE], what does it do, and how to use it? |
[COLOR=#0000ff]1 [/COLOR][COLOR=#941edf]import[/COLOR][COLOR=#000000] java.util.*;[/COLOR] [COLOR=#0000ff]2 [/COLOR][COLOR=#941edf]public[/COLOR][COLOR=#941edf]class[/COLOR][COLOR=#000000] CALC[/COLOR] [COLOR=#0000ff]3 [/COLOR][COLOR=#000000]{[/COLOR] [COLOR=#0000ff]4 [/COLOR][COLOR=#941edf]public[/COLOR][COLOR=#941edf]static[/COLOR][COLOR=#941edf]void[/COLOR][COLOR=#000000] main (String[] args)[/COLOR] [COLOR=#0000ff]5 [/COLOR][COLOR=#000000]{ [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000] much;[/COLOR] [COLOR=#0000ff]6 [/COLOR][COLOR=#000000]System.out.print([/COLOR][COLOR=#00cb00]"\nEnter the number of numbers "[/COLOR][COLOR=#000000]); [/COLOR] [COLOR=#0000ff]7 [/COLOR][COLOR=#000000]Scanner input=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#000000] Scanner(System.in);[/COLOR] [COLOR=#0000ff]8 [/COLOR][COLOR=#000000]much=input.nextInt(); [/COLOR] [COLOR=#0000ff]9 [/COLOR] [COLOR=#0000ff]10 [/COLOR] [COLOR=#0000ff]11 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][]num=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][much];[/COLOR] [COLOR=#0000ff]12 [/COLOR][COLOR=#941edf]double[/COLOR][COLOR=#000000][]perc=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#941edf]double[/COLOR][COLOR=#000000][num.length];[/COLOR] [COLOR=#0000ff]13 [/COLOR] [COLOR=#0000ff]14 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][]den=[/COLOR][COLOR=#941edf]new[/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000][num.length];[/COLOR] [COLOR=#0000ff]15 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000] total=0;[/COLOR] [COLOR=#0000ff]16 [/COLOR][COLOR=#941edf]int[/COLOR][COLOR=#000000] total1=0;[/COLOR] … | |
Hi guys need a little help for my homework, any help is greatly appreciated. :cheesy: Qn 1. pointers i have a problem with passing pointers to functions code is as follows: [code] //function declaration void computeProduct(product *pProduct,int *pBest); //function call computeProduct(product *pProduct,int *pBest); //function definition void computeProduct(product *pProduct,int *pBest) { … | |
Hi I have a problem with session_start when I click Back key in browser: First I Run Az1.php then I press the "ok" key and I go to az2.php then I click "az3" Link and I go to az3.php but when I click Back in my browser for back to … | |
I have read that iterators are used to traverse through the elements of container classes. If I wanted to use iterators to move through elements of a 2d vector, how am I going to declare it and use it? Maybe what I said was not too clear, let me rephrase … | |
Hi all I am new to C++ and have a few questions if that is ok. I would like to get into good habbits early (i.e., using switch instead of 12 if else statments) and was wondering if anyone knew right off how to get a timer to time the … | |
Hi, I'm just starting to learn about x86 assembly and was surprised at the seemingly small amount of registers. The 8 general purpose registers you always read about /use eac, ebx etc. . are they the only GP registers on a processor or are there others that depend on the … | |
Hello, I have a simple script with 2 buttons positioned vertically within a sizer on a panel. A button-click event attached to the top button changes the height of the top button. However, even though the height of the top button changes, the height of the bottom button does not … | |
I am tring to use HTML tags checkbox and textbox along with PHP. When the checkbox is not checked,the textbox is disable.But when I checked the check box,the textbox should become enabled. How can i do this? Here is My code:- [code=html]<html> <head> THIS IS TEST <title> TEST </title> </head> … | |
Hey buddies.., I m developing some project using java swing... in that I got a problem like......if i use timer thread in label means i couldnt perform any other action in that panel like button click event and all.... it becomes too slow in action.... | |
i dont have any code yet because im not sure of the best way to go about doing this. 1. i have multiple dlls that i want to statically link to my program 2. when my program starts i want all the dlls to do their own intialization 3. i … | |
Hi! can somebody please tell me how to avoid floating point overflow error? Mine is a very big program that uses double data type. Is there any way in which I can roundoff double numbers to upto certain digit? | |
Hello, I was looking around for some tutorials about how to backup my database in my hard disk using [B]SQL Server 2000 Enterprise Manager[/B]. Can someone explain me in a friendly and step-by-step method? (screenshots preferred) Thanx so much in advance | |
Hi all, I have this code [CODE]Option Explicit Private Declare Function RegOpenKey Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal hkey As Long, ByVal lpSubKey As String, phkResult As Long) As Long Private Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hkey As Long) As Long Private Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal … | |
Ok, I'm writing code for Tic-tac-toe game and I'm almost done I just can't get it to stop when Player 2 wins. It works fine when Player 1 wins or if there is a tie. I know it's short notice, but can anyone help me before tomorrow morning. I would … | |
I am looking for a flash gallery similar to the one on Madonna.com The link is [URL]http://www.madonna.com/taggingproject.html[/URL] Can you help me with that? Thank you so much! | |
this is a program which will help you to find the roots of any given function.... and please note that i have made comments on the lines which compiler gives an error. actually it compiles really well. i think it is something wrong in the values which are assigned to … ![]() | |
Hi everyone, I'm new to PHP and I am trying to get to grips with the PHP scripts that have been created for my website. One of my pages is a list of destinations and one of the places is Cote d'Azur. When it publishes the destination on the dynamic … | |
Hello , When im trying to compile this code it goes well,but when i run the prog i just get a flash of the cmd ,please can you tell me what i doing wrong?-im using the compailer of dev c++ [code] #include <stdio.h> #include <stdlib.h> #define _WIN32_WINNT 0x0501 #include <windows.h> … | |
I am trying to use an iframe in my application [COLOR=Red]mainpage.jsp[/COLOR] <HTML> <BODY> <form name="form2" method="post" action="action.jsp"> <input type="text" name="name" value=""/> <input type="submit" name="submit" value="submit"/> <iframe src="ifream-page.jsp" frameborder="0"> </form> </BODY> </HTML> [COLOR=Red]ifream-page.jsp[/COLOR] <HTML> <BODY> <input type="text" name="address" value=""/> </BODY> </HTML> But when I press the submit button I can only … | |
I am trying to follow the tutorial on making the whack-a-monkey game, but it keeps giving me this error message: [QUOTE] Traceback (most recent call last): File "C:/Documents and Settings/Christopher/My Documents/pygame/examples/examples/monkeystuff.py", line 128, in -toplevel- chimp = Chimp() File "C:/Documents and Settings/Christopher/My Documents/pygame/examples/examples/monkeystuff.py", line 66, in __init__ screen = pygame.display.get_suface() … | |
![]() | I decided to evaluate a Java game and I chose the famous snake game (actually "snake pit") , since I am just a begginer at these things I need some help :sad: ! What are the typical Java characteristics in this game?? ([COLOR=red]How can I recognise that this is a … |
Hey again, I was hoping someone here could look at my code and tell me why I'm not receiving the correct output. Here's what I'm supposed to do:Write a program that asks a user to enter an integer, say n,then list all the numbers that are less than or equal … | |
I'm a rank beginner with Javascript. The offending page is at [url]http://www.longerstrongerliving.com/stresscalc.htm[/url]. On loading the page, there is an "Expected J" at line 13, character 25. After putting a numeric value in each of the text boxes for the 17 questions, there is an "Object Expected" error, line 148, character … | |
Hi I have found the following code for Redirecting the user to loginpage on Session timeout : /////////// Protected WithEvents body As System.Web.UI.HtmlControls.HtmlGenericControl Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load body.Attributes.Add("onLoad", "window.setTimeout(""window.location.href='login.aspx'""," & (Session.Timeout * 60 * 1000) + 5000 & ");") Response.Write("Wait for session … | |
how to connect a table in oracle to VB.net. kindly give me the sample code. | |
What do you guys use and why? I've always used Dreamweaver and Firefox to write/debug. Any other suggestions? ![]() | |
I am runnig a web sevice over a ssl . And when i call the web services say me this error. [B]The underlying connection was closed: Could not establish trust relationship with remote server[/B] [B]I changed the namespace.[/B] [B]I have the framework 1.1[/B] [B]i have the https before the call … | |
Hey guys, I need help... I need to write a program that converts uppercase to lowercase letters in java, in netbeans 5.0, and i have no idea how to do it. Thank you, i would apreciate your help. | |
Hello, I have a script to read remote file. The script goes as follows, [code=Perl] #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp);[/code] This script runs fine on my windows machine. But the same script when I run in UNIX, after changing the … | |
I am currently programming in Linux using the g++ compiler. I was trying to make an open function that would open a file and store its contents in a 2d vector. I was successful at doing the said function. I thought I was done with it, but I realized that … | |
![]() | I decided to evaluate a Java game and I chose the famous snake game (actually "snake pit") , since I am just a begginer at these things I need some help :sad: ! What are the typical Java characteristics in this game?? ([COLOR=red]How can I recognise that this is a … |
Hi, I am using CDONTs for sending email using ASP. I need to send a HTML form that takes values from a MS SQL Server database. How do I send this big code of form using ASP? I am using the following code to send the email [CODE]<% Set myMail=CreateObject("CDO.Message") … | |
Hi everyone, I am still fairly new to Oracle and SQL. I have two tables with the same information in them. Table1 has the same columns as table2. The differnce between them is the date column. Table1 has 2005 records while table2 has 2006 orders. I am trying to write … | |
Hello All, I am a PHP newbie and have all my resources set up( by that I mean PHP,Apache server etc all working fine) I have an html file and a PHP script to handle the inputs from the html form. However when I hit submit to send the data … | |
Hello, i am creating a simple website for a friend. There is a download page that waits 3 seconds bafore redirecting the user directly to the file. I dont want to make a redirect page for each file. so i figured i could put this in the url: [HTML]download.php?dlurl=URL OF … | |
Hi, I am building three websites. The first site has a mysql database with necessary contents for two other sites. The two websites should show the content stored in the first site's database, is it possible without using xml? or is xml the best way or is there any other … ![]() | |
Hi - I'm the new kid on the block. glad to meet you all. I'll start with a problem. Can anyone please help me? I'm looking for a free script to hide ALL media players when an end user activates a hyperlink to play short pieces of music on my … | |
Hello all, I am new to javascript and cross-browsing. I have a XSLT generated HTML document which works fine ini IE and opera but have problems with firefox. I tried to debug with firebug but i have no idea what should i do next to fix the problem. I would … | |
can anyone pls help me why FIREFOX displays 'reference to undefined property' message for this html page? It works fine in IE. <html> <head> <title>Expandible row test in firefox</title> <STYLE type="text/css"> .collapsed { DISPLAY: none; } </STYLE> <script language="javascript" type="text/javascript"> //***collapsible rows function outliner(evt) { evt = (evt) ? evt … |
The End.