199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 | |
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" /> … | |
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 … | |
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. | |
I have add the two functions the add and subtract I have to now add the multiply and divsion functions can someone help | |
[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] | |
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 … | |
![]() | 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>"; … |
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") … | |
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 … | |
what is th use of converting an array list into an array ? | |
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. | |
Can i change winform tool 's property using c#??? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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/) | |
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 … | |
Hi all, I want to know the java code for transfering the multiple files between server nodes to server node. With advance thanks, CuteOrchid | |
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 … | |
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 … | |
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 | |
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'); … | |
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. | |
/* ############ 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 … | |
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 … | |
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.... … | |
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 ? … | |
![]() | 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, … |
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/) | |
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 … | |
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: … | |
How to insert Hindi and regional language in ms access data base by using vb.net code. | |
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) { … | |
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. | |
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...... | |
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 … | |
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. … | |
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 … | |
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; … | |
/* 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 … | |
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? | |
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)... |
The End.