64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Violet_82

HI all, I was wondering if anybody can help me to understand this exercise: "A small airline has just purchased a computer for its new automated reservation system. Write an application to assign seas on each flight of the airline's only plane (capacity: 10 seats). Your application should display the …

Member Avatar for Violet_82
0
7K
Member Avatar for dottomm

Hello and thanks in advance to anyone who can help me with my array problem. I've always struggled with arrays, and now I Need to understand how I can use them to solve my latest problem. I've created a test scenario to recreate what I'm trying to do in real-life. …

Member Avatar for dottomm
0
178
Member Avatar for Robert Storm

The Class will create a program to store the name and the grid position of 6 common minibeasts. The Students from Calibre Academy will write a program to store the position of each common minibeast. The Software will. Allow one of six minibeasts to be selected from a menu. Enter …

Member Avatar for Ancient Dragon
0
208
Member Avatar for hwoarang69

i created a game in applet and i want to put it on a site. the problem is that my games has alot of classes. how can i use applet tag to up it online? java.php <html> ... <applet code = "Main.class" width = 900 height = 400> </applet> ... …

Member Avatar for hwoarang69
0
190
Member Avatar for cdoggg94

Basically we have a lot of people that want to view our site that use work computers and don't have the option to upgrade their browser. Most likely its an old version of IE. All I want to do is detect if they are using something older then say IE …

Member Avatar for cdoggg94
0
246
Member Avatar for fedaa91

hi i have this small problem in my code which is that when i run the code it enters to the wrong condition i mean in the if clause where i enter "download" it executes the body of the upload even though the first if clause condition meet and the …

Member Avatar for fedaa91
0
153
Member Avatar for New-Reign

I am currently working on a hotel booking system. There are 4 rooms types, 3 have 5 rooms and 1 has 10 rooms. I have everything working apart from the ability to check which are booked or not. The SQL I used to create the tables is listed below; CREATE …

Member Avatar for New-Reign
0
4K
Member Avatar for tony75

Hi I’m working with an old python exercise is to implement the caesar cipher, a simple encryption technique. Description of the methods can be found on the web (wikipedia) http://en.wikipedia.org/wiki/Caeser_cipher and the additional document. In short, each letter is replaced by another letter (like a is replaced by b, b …

Member Avatar for tony75
0
443
Member Avatar for vizz

I need help to create **Process monitoring program.** (services, system, and user-run processes) If any **software/Process** wants to run, this program display it's details and ask user to **allow or block software/Process.** Also display List of All Running Processes with it's address(process related with perticular software) with **stop/block process** option. …

Member Avatar for NathanOliver
1
394
Member Avatar for dustin.mcalister.58

Hello, it's me again, and I'm stuck again. I need to enter the highest and lowest temperatures for seven days, which the program will then store in two columns, with the average of each column stored in the bottom row. I got it working and everything, except that it'll only …

Member Avatar for RvSon
0
202
Member Avatar for delta_frost

I have this simple first multiprocessing code in pyton,but I encounter a BSOD when running it.Can anyone please point out what is wrong with it ? import multiprocessing def cracker(): print "Hello" return procs = [] for i in range(8): p = multiprocessing.Process(target = cracker) procs.append(p) p.start() for p in …

Member Avatar for delta_frost
0
597
Member Avatar for gyno

Is it possible to install two IDE like say Netbean and Eclipse on same system without the two disturbing each other?

Member Avatar for jwenting
0
232
Member Avatar for mical700

Histo.java import java.util.*; // Scanner import java.io.*; // PrintStream class Histo extends Object { static PrintStream theScreen = new PrintStream(System.out); static Scanner theKeyboard = new Scanner(System.in); public static void main(String args[]) throws FileNotFoundException { final int MAX_SCORES = 5000; // define nameArr as an array of String objects String[] nameArr …

Member Avatar for peter_budo
0
326
Member Avatar for somjit{}

i want to sort a list of two dimensional points based on their polar angles with respect to a particular point. this will a part of a bigger code to find collinear objects from a set of points. the method i thought of for doing this is is: 1. create …

Member Avatar for somjit{}
0
544
Member Avatar for anukavi

Hi , Working on VC++ 2012. "error LNK2005: "class std::basic_ofstream<char,struct std::char_traits<char> > Createonly_logs" (?Createonly_logs@@3V?$basic_ofstream@DU?$char_traits@D@std@@@std@@A) already defined in UtilityFunctions.obj I have defined a text file (for writing the output) under LogFiles.h #include <fstream> using namespace std; ofstream Createonly_logs("E:\\MyProj\\MTEST\\CreateFile_logs.txt"); I have created three .cpp under the project and all these cpp uses …

Member Avatar for anukavi
0
120
Member Avatar for Papa_Don

Hello Group, I'm beginning to understand the connections required to return information from your database. I'm now trying to return multiple lines from the database that have the same "prefix" within the part number. As my example, I have two records within my database that both start with "AO0025". I …

Member Avatar for Papa_Don
0
221
Member Avatar for solomon_13000

I am attempting to load an 3 icon image but my code doesn't do so: package com.proxy; import java.awt.Component; import java.awt.Graphics; import javax.swing.ImageIcon; import javax.swing.JFrame; public class ImageIconProxy extends ImageIcon implements Runnable{ static final ImageIcon ONE = new ImageIcon("/IFDesign/images/green.jpg"); static final ImageIcon TWO = new ImageIcon("/IFDesign/images/yellow.jpg"); ImageIcon CURRENT = ONE; …

Member Avatar for solomon_13000
0
363
Member Avatar for HunainHafeez

i am providing todo list feature to my users , on my website, users put their task and select time to do it, e.g. Hair cutting, 28-03-2013 06:00 PM now want to send them email or sms as soon clock hits 05:45, so how it would be ? how would …

Member Avatar for JorgeM
0
116
Member Avatar for Shodow

Warning: Cannot modify header information - headers already sent by (output started at E:\xampp\htdocs\freeelec2\deliveryupdate.php:179) in E:\xampp\htdocs\freeelec2\deliveryupdate.php on line 222 <?php include('conn.php'); session_start(); if (!isset($_SESSION['Username'])){ header('location:index.php'); } // $tror=$_GET['tror']; ?> <html> <head> <title>Delivery Update</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.validate.js"></script> <script language="javascript" src="js/cal2.js"></script> <script language="javascript" src="js/cal_conf2.js"></script> <script type="text/javascript"> function Price(data) { …

Member Avatar for Shodow
0
581
Member Avatar for Qazinix

I am working on my first Client server program. The client will have to connect to the server however there is no way to know what the server ip will be so this needs to happen dinamically, at least the first time the program runs. The clients will receive strings …

Member Avatar for Qazinix
0
324
Member Avatar for rc_new

im trying to convert my date from MySQL to a textbox.text and its giving the msg unable to convert MySQL date/time value to system.datetime dim tempdate as date TempDate = dr.Item("dob").ToString txtDate.Text = TempDate.ToString someone please help

Member Avatar for rc_new
0
530
Member Avatar for Jake.20

Greetings can someone give me tips on how to solve this? When i'm searching for a data on the datagrid to edit it doesn't display the data to the corresponding text boxes. The textboxes is bound on the datafields I have these fields Combobox - Searchbox textfields Student ID Student …

Member Avatar for Jx_Man
0
218
Member Avatar for krutikasharma

There are a 10 words in statement.i want program in 'C' to find out how many words have the same number of letters

Member Avatar for Moschops
0
106
Member Avatar for dirtydit27

Hello, I'm currently working a project for class and I've gotten stuck. I am suppose to write a program that will read a csv file and create a text file with information from this csv file. So, far I have code that prompts for the file name and gives a …

Member Avatar for dirtydit27
0
467
Member Avatar for Violet_82

Chaps, I was wondering what this.id (and for that matter this.whatever) is in jquery and how to use it. A few quick examples are here: <!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <img title="hat.gif"/> <script> $("img").attr("src", function() { return "/resources/" + this.title; }); </script> </body> </html> and another one: …

Member Avatar for Violet_82
0
157
Member Avatar for Violet_82

Hi all, I am slightly confused about passing functions to the addClass method. This code is taken from the jquery.com site http://api.jquery.com/addClass/: <!DOCTYPE html> <html> <head> <style> div { background: white; } .red { background: red; } .red.green { background: green; } </style> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <div>This div should …

Member Avatar for Violet_82
0
230
Member Avatar for siaosituimoloaublood

Okay, here is my problem. The instructions are I would have to store the minimum points and grades in a five row two column array. The procedure should display the grade corresponding to the number of points entered by the user. Minimum Points Maximum Points Grades 0 299 F 300 …

Member Avatar for siaosituimoloaublood
0
110
Member Avatar for techyworld

Hi can someone explain me this code? actually i need to write another function like this but without passing any parameter, then what should I insert in data? the code is using the parameter id in data but what if i dont have any parameter? server.prototype.GetSpeed=function(id){ $.ajax( {url:"marks.php", data: {id:id}, …

Member Avatar for radhakrishna.p
0
170
Member Avatar for ImZick

Hi guys can you help me out. i want to display the item in my textbox but how can i do that i tried to search tru web but nothings working for me. it is something like this "SELECT Department FROM Table1 WHERE Department = " & .Textbox1.Text & "" …

Member Avatar for Reverend Jim
0
161
Member Avatar for dirtydit27

Hello, I'm a newbie to python and I am having a very hard time trying to solve a homework question that I have. Here it is: Given a list of items, write a program that generates a list of lists of the following form: [a,b,c,…,z] → [[z], [y,z], [x,y,z], … …

Member Avatar for Lucaci Andrew
0
297
Member Avatar for kingk110

I was trying this sample found in the website: [Custom Checkbox](http://www.daniweb.com/software-development/csharp/code/217338/custom-checkbox) when I add the CustomCheckbox from the toolbox to the form directly and build the project it take lot of time to be build and cause the visual studio to not respond. Do anybody have an idea about the …

Member Avatar for kingk110
0
453
Member Avatar for dendenny01

My Program contains 4 arrays and I want to sort the array in such a way that if one array is sorted the other array should follow it Example: unsorted array name code salary date John 52 6500 15 Suzzy 10 1500 20 Mike 20 1451 16 Sorted array(according to …

Member Avatar for Adak
0
233
Member Avatar for lewashby

I'M trying to output a message if the PHP query on the MySQL database come back empty. But when I uncomment this line `//echo "No result found for entry";` not only does it fail to output this message when there is no match but it also fails to load the …

Member Avatar for Geffory
0
212
Member Avatar for dualzNZ

hi all i am developing a small application that will allow the user to paste in admin logs which will then be converted into xml data. The code works fine in VB.net but i am trying to convert it into C# as the application is written in c# i am …

Member Avatar for dualzNZ
0
178
Member Avatar for reedone816

I have limited knowledge in coding. can anyone tell me what is worng with my code? the firstrow result in the database is not updated, but it is updated in datagridview. For i As Integer = 0 To DataGridView1.RowCount - 1 DataGridView1.Rows(i).Cells(11).Value = "true" Next SmsdDataSet.AcceptChanges()

Member Avatar for reedone816
0
433
Member Avatar for dustin.mcalister.58

This is a bit of homework I have to do for my C++ class. I was suppose to add 11 as the pay code and 23 as the pay rate, but during the debug test when I type in 11 it doesn't display $23 like it's suppose to. What am …

Member Avatar for dustin.mcalister.58
0
129
Member Avatar for nova4005

Hello everyone, I am sure the dice game has been discussed numerous times on here. I am hoping to get some feedback on my take of the dice game. This was a homework assignment and I have completed the requirements. I am just wanting to see where I could have …

Member Avatar for JamesCherrill
1
238
Member Avatar for Shodow

on dropdown change i would like to put the price on the textbox "price" base on the selected value in dropdown function Price(data) { document.getElementById ("productprice").value = data.value; } <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" …

Member Avatar for Echo89
0
197
Member Avatar for Counterpartz

Hello, I'm writing an application that computes the variance and average from a list of integers. Here is the assignment info: Create a function that accepts a list of integers and computes the average and variance of the list. The variance is computed using the following formula. The list of …

Member Avatar for Counterpartz
0
310
Member Avatar for mical700

Write a program that (using an array) analyzes student performance on an exam using the information from such a file. The program should input the name of the text file, and then display the worst score, the best score, the average score, the standard deviation, and a histogram -- a …

Member Avatar for JamesCherrill
0
124
Member Avatar for mjsmitten

Hello, I have urls like this: http://site/search/region,state and http://site/type/mytype I need to extract the last part and echo this. I used code below and for the first url it returns "region,state" (but I only need the last part). And what if behind the url is another character like a slash …

Member Avatar for mjsmitten
0
159
Member Avatar for gilbert.jacob1

I'm a .Net Developer and I just want to seek opinions about Avaya IQ Data Export SDK, I'm trying to create a website that will reflect real time data from Avaya and I just want to make sure that Avaya IQ Data Export will help me solve my problem, I …

Member Avatar for gilbert.jacob1
0
123
Member Avatar for UKnod

I have a problem with retrieving data from access databse. I make the connection and retrieve the data no problem. But when the data changes from another use of the database, I cannot get the new changed data without reloading the complete programme. Even repeating the load functions does not …

Member Avatar for UKnod
1
189
Member Avatar for piers

Hi, I am trying to create toggle buttons for a page with profiles in. I have around 60 buttons on the page and want to try not to define the click function 60 times: $(document).ready(function(){ $(".button1").click(function(){ $(".1").toggle(); }); $(".button2").click(function(){ $(".2").toggle(); }); $(".button3").click(function(){ $(".3").toggle(); }); $("p").css({display: "none"}); }); So I was …

Member Avatar for piers
1
1K
Member Avatar for subrata_ushasi

Hi , I am struggling for two to make test payment through paypal sandbox but after entering user and password simply received this image attached.I want to pay through paypal using paypal's sandbox for testing and retrund to my website (localhost) giving confirmation in "confirm.php" , here is my paypal …

Member Avatar for subrata_ushasi
0
4K
Member Avatar for akkbkht

Hello. I am going to create a website for a hospital where I will store the following data; * Patients Data * Physicians Data * Medicine Data If I am going perfect then first of all I will have to create a database in SQL Server. Then Tables (Patient, Physicians …

Member Avatar for akkbkht
0
729
Member Avatar for Djmann1013

Hi, I am trying to store individual lines of a .txt file in a ComboBox, here is my code: Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim FILE_NAME As String = "history.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim Line As String = …

Member Avatar for Djmann1013
0
153
Member Avatar for sirlink99

Hello Everyone. I am making a sudoku solver for an assignment, and I ran into a problem of my 2D Integer array not updating. The input consists of a 9x9 puzzle with 0s for the missing values. I read this input and then place it into the 2D array. during …

Member Avatar for sirlink99
0
276
Member Avatar for mariozeph

Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I …

Member Avatar for mariozeph
1
454
Member Avatar for Shodow

The End.