199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for suhasgh

Evil Nation A is angry and plans to launch N guided-missiles at the peaceful Nation B in an attempt to wipe out all of Nation B’s people. Nation A’s missile i will arrive in nation B at the time ti. Missile i communicates with its headquarters by unique radio signals …

Member Avatar for nerandell
-1
275
Member Avatar for krackhead

im taking a qbasic class and am having a very hard time on this program...here is the question: Using the ASCII table and the CHR$ function, write a program that prints the following output using a nested for next loop: A AB ABC ABCD ABCDE -------------------------------------------------------------------- heres what I have …

Member Avatar for limpstarfish.flavouredwater
-1
3K
Member Avatar for Akeem Amure

import java.awt.*; import java.lang.Math; import java.awt.event.*; import java.awt.Graphics; import java.applet.Applet; /* <APPLET CODE=draw.class WIDTH=600 HEIGHT=200 > </APPLET> */ public class draw extends Applet implements ActionListener, MouseListener, MouseMotionListener { Button bDraw, bLine, bOval, bRect, bRounded,bSelect1,bSelect2,bHeading; Point dot[] = new Point[1000]; Point start, end; int dots = 0; boolean mouseUp = false; …

Member Avatar for JamesCherrill
-1
1K
Member Avatar for cellus205

Im looking for an image viewer that supports most types of image formats, including PDFs, and has the ability to rotate/zoom, and draw on an image. I've been looking but to no avail. Does anyone have any suggestions on the best way of going about modifying a control so that …

Member Avatar for mikepeal
-1
251
Member Avatar for BadManSam

Hi, when I try to use a SELECT statement in php, I get an error: > Resource id #18 <?php include("include/session.php"); $get = mysql_query("SELECT value FROM settings WHERE id=2"); echo $get; ?> The file session.php contains the database credentials .etc and it's correct. But then when I try to echo …

Member Avatar for Derice
-1
421
Member Avatar for logicslab

Dear Friends, I am looking a small thing , I need a simple code to check the input whether it's prime , if not can enter same repeateddly upto get a proper value . Please provide a simple code snippet and help me Thanks, Anes

Member Avatar for logicslab
-1
377
Member Avatar for dean.ong.14

Notice: Undefined variable: result in C:\Users\User\Desktop\Desktop\htdocs\trip1.php on line 67 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in C:\Users\User\Desktop\Desktop\htdocs\trip1.php on line 67 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> …

Member Avatar for Assembly Guy
-1
8K
Member Avatar for nathanpacker

I need to create a very simple script with php. There is a form with only one input field, for the user's email address. They click submit, and the script sends an email to that address, while attaching a pdf file that I specify in the script. I've found many …

Member Avatar for dineshsjce
-1
2K
Member Avatar for ahmed.talha.16

Hello! can anybody please tell me the formula through which i can make the prime number program. I couldn't found the logic of it.

Member Avatar for uttkarshsing
-1
345
Member Avatar for blamp

I have add the two functions the add and subtract I have to now add the multiply and divsion functions can someone help

Member Avatar for irum.nageen.3
-1
474
Member Avatar for murtazamzk

[CODE]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim speech speech = CreateObject("sapi.spvoice") speech.speak(TextBox1.Text) End Sub End Class [/CODE]

Member Avatar for YogeshD
-1
3K
Member Avatar for Shft

Ok, so, I've been scrounging around the internet looking for a decent C++ Keylogger that is able to be hidden (Not showing a console window) and have been very unsuccessful, I need help building one or finding one that works PROPERLY. I use Codeblocks compiler, similar to Dev-Cpp. Any help …

Member Avatar for triumphost
-1
299
Member Avatar for JazzibAli

This is a part of addtobasket.php file i want to change the normal submit button with my stylish one but dont know how to do. here is code... ...require("header.php"); echo "<form action='addtobasket.php?id=". $_GET['id'] . "' method='POST'>"; echo "<table cellpadding='10'>"; echo "<tr>"; if(empty($prodrow['image'])) { echo "<td><imgsrc='./images/image_not_found.png' width='50' alt='". $prodrow['name'] . "'></td>"; …

Member Avatar for minitauros
-1
367
Member Avatar for Mapper99

Hi there, I have some code which quite nicely uploads PDF files to the server: [CODE] if((!empty($_FILES["uploaded_file"])) && ($_FILES['uploaded_file']['error'] == 0)) { //Check if the file is JPEG image and it's size is less than 350Kb $filename = basename($_FILES['uploaded_file']['name']); $ext = substr($filename, strrpos($filename, '.') + 1); if (($ext == "pdf") …

Member Avatar for wandi90
-1
288
Member Avatar for gudboi.ian

Can anyone help me making this Gasoline Meter Simulator? Here's the problem, Using .NET construct an application that will simulate Gasoline Meter. The users allows assigning the amount of gasoline per liter. The user can select whether by liters or by amount. If the user select liter, then he will …

Member Avatar for gudboi.ian
-1
414
Member Avatar for ganges
Member Avatar for buddareddy.java
-1
274
Member Avatar for DM Galaxy

I am creating the Notepad.exe app, So I want to know Some Codes here. Need Codes For: • Find, • Find Next, • Replace with., • Replace all with. Please Help me out by solving this thread.

Member Avatar for DM Galaxy
-1
367
Member Avatar for pardeepkhatri
Member Avatar for lewashby

I have a very small sqlite3 database with one row consisting of three columns but I can get the page to display the row to save my life. So far all I've been able to get the page to display is the first column of the one row that's in …

Member Avatar for lewashby
-1
1K
Member Avatar for EriCartman13

How do you rest your variable everytime your execute the program. [code]for x in range(1,100): running = True while running: guess = int(raw_input("Enter an integer:")) if guess == x: print "Nice" running = False if guess < x: print "Higher" running = True if guess > x: print "Lower" running …

Member Avatar for bumsfeld
-1
4K
Member Avatar for syasya

Hi , I need your help to provide me with some tips/guidelines about the process of developing online discussion forum. It would be best if you can provide me the name of the software too. I have class presentation next week about this topic and I am quite blur about …

Member Avatar for JorgeM
-1
7K
Member Avatar for sushilsth

this code in form load event... Dim sqlquery As String = "select * from frmStudentReg" Dim sqlcommand As New OleDbCommand Dim sqladapter As New OleDbDataAdapter Dim table As New DataTable With sqlcommand .CommandText = sqlquery .Connection = conn .ExecuteNonQuery() End With With sqladapter .SelectCommand = sqlcommand .Fill(table) End With For …

Member Avatar for ss125
-1
1K
Member Avatar for hirenpatel53

Dear all i have allready Created web application and used skin file for that application now i am planing to change look of my application for that need to change skin file but problem is i am not a good imaginative so need some sides which provides attractive skin file …

Member Avatar for Yoselin
-1
598
Member Avatar for gamingthinktank

Collision Detection using Bounding Rectangle method [Collision Detection using Bounding Box method with KineticJS and HTML5](http://www.gamingthinktank.com/2013/07/11/collision-detection-using-bounding-rectangle-method-kineticjs-and-html5-canvas-tutorial/)

Member Avatar for gamingthinktank
-1
328
Member Avatar for FrenzyMo

Create a program using JCreator that will accept student`s information. It should also accept his/her exam score for a specific quarter. Then the program must compute for the exam`s equivalent grade. Lastly all exam grades must be accumulated in order to get the student`s final grade. Prelims,midterm,prefinals 20% and finals …

Member Avatar for JamesCherrill
-1
510
Member Avatar for CuteOrchidd

Hi all, I want to know the java code for transfering the multiple files between server nodes to server node. With advance thanks, CuteOrchid

Member Avatar for CuteOrchidd
-1
256
Member Avatar for BadManSam

NB: I'm a beginner at php programming. Hi, I've been trying to add an 'Online' or 'Offline' plugin to my login system. To display the username you use thr following: $session->username In the database, I have a table for active users. When a user logs in, he is added to …

Member Avatar for BadManSam
-1
799
Member Avatar for Nebil

Hi guys, I wanted to do a simple calculation using vb.net.That is i would have some values that are used as an input read from excel in the calculation.the values may be changed or used as they are. In the vb side i would have some textboxes that garb the …

Member Avatar for Nebil
-1
7K
Member Avatar for BiplabDH

auto generate number in data base creates negative numbers in vb.net how to make it working perfectly.i am using vb.net using databindings please help me

Member Avatar for BiplabDH
-1
369
Member Avatar for maggoteer

I'm currently trying to modify 2 scripts to work together. I've gotten everything working except the script isn't passing any, or the incorrect information when it's trying to create a checkbox. Here's the code I have so far: if (strlen($q)>0) { $hint=""; for($i=0; $i<($x->length); $i++) { $f=$x->item($i)->getElementsByTagName('id'); $g=$x->item($i)->getElementsByTagName('item'); $h=$x->item($i)->getElementsByTagName('price'); $y=$x->item($i)->getElementsByTagName('keyword'); …

Member Avatar for stultuske
-1
253
Member Avatar for Dannjeru2013

Kambo company pays employee Gratuity on retirement that can be computed using the Formula Gratuity=(Salary*Fixed Rate*Number of Years Worked)+One month Salary. Formulate an algorithm that can be used to calculate the gratuity and write a c++ program that can be used for the computation.

Member Avatar for JasonHippy
-1
470
Member Avatar for faysal.ishtiaq_1

/* ############ Project Name : TIC TAC TOE ############ CODED BY ############ > Faysal Ishtiaq Rabby ############ ~ Student ID : 120909 ############ Khulna University, Bangladesh. */ #include "stdafx.h" #include<stdlib.h> int main() /* Declaring Variables */ char gamestart; char pos_input[]={'1','2','3','4','5','6','7','8','9'}; int gameloop, option_position,input,flag=0,player_number,rand_int,i; /* Variable Declaration Finished*/ printf("Press \"ENTER\" to …

Member Avatar for Unimportant
-1
379
Member Avatar for ??!!

1- Write a program that asks the user to input a number of seconds and displays the corresponding time in the form: hours:minutes:seconds. The total number of hours should not exceed 23. Example: if the input is 7275, the output will be: 2:1:15 Hint: if t is the time in …

Member Avatar for tinstaafl
-1
349
Member Avatar for elamigosam

Hi I am interested in a basic, and simple code for to check for a user and make sure he only has access to such pages, I am just starting to undestand PHP, if you can help me and not make it really complicated, it would rally help . tanks.... …

Member Avatar for pp0007
-1
322
Member Avatar for nitin1

I was looking for the find and replace algorithm which editor softwares are using. for ex: notepad. when i search something and then when i replace it , how exactly it works. I am aware of rabin-karp and KMP algos. but i am wondering if they are most efficient ? …

Member Avatar for rubberman
-1
707
Member Avatar for LobeRoni

Hi, I am new to this place and found this by searching for a log in system tutorial for a Visual Basic 2008 Express Edition. So far I have been able to put a code to have 3 users on: [code=Visual Basic]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, …

Member Avatar for sunilkumarasem
-1
2K
Member Avatar for gamingthinktank

Create Snake game using KineticJS and HTML5 Canvas [Tutorial Part 1: Snake game using HTML5 and KineticJS](http://www.gamingthinktank.com/2013/04/28/tutorial-part-1-the-concept-snake-game-using-html5-canvas-and-kineticjs/) [Tutorial Part 2: Snake Game using HTML5 and KineticJS](http://www.gamingthinktank.com/2013/06/03/tutorial-part-2-snake-game-using-html5-canvas-and-kineticjs/)

-1
323
Member Avatar for tossot92

I have script [(Here)](http://jsfiddle.net/8afkT/) that check the either specific font is installed or not on local computer. In both conditions it shows the alert box. Now I want some modification. Please help. I want that: * When specific Font is "NOT INSTALLED" show [this](http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/) CSS based lightbox rather then alert …

Member Avatar for Troy III
-1
275
Member Avatar for ??!!

Hey guys i'm new to this forum ;so here's the thing i need help with my code. I am required to : Add to the class EECE230Student a private static variable which is used to count the number of objects generated. For this purpose, you need to perform the following: …

Member Avatar for phorce
-1
254
Member Avatar for swathi sajja
Member Avatar for saleem.mukhtiar
-1
340
Member Avatar for pmark019

I have a JSP with a button. This button is disabled. How can I make the JSP keep on reloading until isCheck becomes true and it will make the button enabled? Here is my javascript: var usbAvailable = <%=CheckUSB.getInstance().getStatus()%>; function confirmSound(){ HyPAS.Sound.confirm(); HyPAS.LED.on(); location.href='ScanJobServlet' } function checkUSB(){ <%response.setHeader("Cache-Control","no-cache");%> if(usbAvailable==false) { …

Member Avatar for asmira
-1
2K
Member Avatar for gaurav_9

Hi I am migrating code from javascript to jquery. What would be the equivalent jquery of the following javascript. document.getElementById("#elementname").getElementsByTagName('tagname'); Cheers.

Member Avatar for Troy III
-1
2K
Member Avatar for Aadhya169

Hello members... How are you all ??? I just started the programming and want to learn C for that.. so please tell me the best book to learn the C from the starting... Thank you in advance......

Member Avatar for whitech
-1
298
Member Avatar for mathewshiby

hi friends, I'm Mathew doing my 2nd year MCA in The American College, madurai. now its fourth semester going on. In this semester i have to do projects in Java. i know java better upto swings. Could you please suggest me some topics and its details. you can send it …

Member Avatar for Meir David
-1
318
Member Avatar for Stachys

Hello, I am a 3rd year Computer Science major and taking a introduction to game design course. The project from this week is defined as follows: 1. Java game 2. Use the jMonkey SDK 3. "use an existing game engine and map to modify and create your own level" 4. …

Member Avatar for Stachys
-1
299
Member Avatar for lena1990

hi all, i have a program that insert arabic language to ms access when i create .jar file for the program and move it to another computer and run the jar file it store the arabic data in the ms access database like that ?????. note: you must know that …

Member Avatar for lena1990
-1
747
Member Avatar for J&#9788;E

i need help for an engineering class is this the correct syntax for this type of program to add two numbers together i need help at the line that says here this is for a c++ source file [CODE]// program #iomanip #iostream include namespace std; void main() { int number1,number2; …

Member Avatar for NANDHINI G
-1
751
Member Avatar for dxprogrammer

/* This is source code of function which solves sudoku, function returns 1 if solution exists and 0 if not exist. In case if solution exists, you have resolution in entry parameter of this function You can run this function in function main() eg. if(sudoku(T)) print(T); where print(T) is group …

Member Avatar for nitin1
-1
254
Member Avatar for sash_kp

While copying a code snippet from some sites and pdf,docs line numbers are also getting copied.I have to omit those line numbers in my text editor manually always. Any better way so that line numbers won't be copied?

Member Avatar for ddanbe
-1
298
Member Avatar for abra_ka_dabra

Can somebody explain me how to use Comparator class for sorting using Arrays.sort? I have a 2d array.. supoose i want to sort the array 4 by 4 (let us say) using column 1 of array(let us say)...

Member Avatar for JamesCherrill
-1
332

The End.