199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have been assigned Blood Bank Management System as java oop project.So i was wondering i someone can give me a headstart on which classes and methods to implement first so i can modify them applying all the oop concepts first.This is what i have worked on so far. … | |
Hi ! I working on a site where i can contact potential employees through a skype button and either call or message them. I already implemented the button next to each employee on my list( code can be found on official skype pages). But if i press these buttons on … ![]() | |
I'm trying to load dxf files CAD into a database for searching. Some of these files are huge with hundreds of thousand of separate entites. I've separated the file into the following tables: * drawings * layers * style * entities * points * flags * floats * text The … | |
Public Class Form1 Dim intsum, intaverage, counter As Integer Private Sub btnAverage_Click(sender As Object, e As EventArgs) Handles btnAverage.Click For counter = 0 To lbNumber.Items.Count - 1 intsum += counter Next intaverage = (intsum / lbNumber.Items.Count - 1) lblAverage.Text = intaverage End Sub Private Sub btnSum_Click(sender As Object, e As … Programming vb.net visual-basic | |
I'm really liking the speed, simplicity and freedom of the Skeleton framework. Bootstrap and Foundation , in my mind are the slowest most complicated frameworks. But hey what do I know. Please, you guys tell me what HTML frameworks you like best? | |
I added "DISTINCT" in my code. but seems the output is still the same, it have duplicate records. Thank u :D (note: I changed the field names and tables here) SELECT DISTINCT b.field1, b.field2, b.field3, b.field4, c.field1, c.field2, c.field3 from tbl1 b inner join tbl2 c on b.logid = c.logid … | |
i need to get record based on maximum created date any body help me date in mysql database structure is varchar. date is 150921141206 any body help me | |
I'm not looking for others to do my homework, I just want help with getting an idea one what to do. My class was given an assignment and one of the questions is: Create a query that will show the order id, item id, price, sales tax and subtotal for … | |
Question: Trying more than two weeks but not getting corect program due date is already over.please hel me anyone For this project, the students are to use MS Visual Studio to program and run a simple multi-process console program using MPI in visual C++. The MPI libraries can be downloaded … | |
Hi, I'm not sure how to add two-digit input and three-digit output capacity to the program attached. ; Filename SubTest3.asm ; This program is designed to demonstrate the use of subroutines in ; programming. ; This file is phase 3 and introduces a multiply subroutine. ; Current support subroutines include … | |
Hi I recently started a new job and i've just been giving my first proper coding task. It is to write a method that will take a value and convert it to something else. eg. If the method receives Payment it will return 'P'. I'm just looking for the best … | |
Hi guys, I'm working at a website that, among the other things, the client has requested to be multilingual. The way I envisage it to work is this: if you browse the site from, say, Italy, you get the italian version (with the option to change the language to english … | |
Hello DaniWeb Community, I have a hover drop down menu, below this is another hover drop down menu.. Once you hover your mouse pointer to this drop down menu it show the list.. The problem is it overlap to the 2nd drop down menu. I want my list to be … | |
How would I implement the rand or the srand statement into this C Programming language. I have been reading about these 2 statements but I am a bit confused still. In need of assistance. I am a beginner in Programming.... #include <stdio.h> //Main header #include <stdlib.h> //Standard header tells the … | |
I'm trying to write a program that has a user input student names, their ages, their GPAs, and their graduations dates (i.e. 'F13', F for Fall, S for Spring, then the last two digits of the year). This information goes into a linked list, then the user can search a … | |
i do an export to excel in asp.net and one of the columns does hold quite a bit of data (4k) [directly below]. as you can see below it's tabbed and has multiple newlines. using string builder does keep the data together in one cell, however the formatting is gone … | |
Hi guys, I am trying to add a new component to my window by clicking on a clickable jLabel. Better said, with mousevent. Unfortunately, it does not work, at least for what i tried with. Can you help me here? My code: package test_1; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Cursor; … Programming java java-swing oracle | |
Hello everyone. I am fairly new to PHP. Because of this I try and learn as much as I can with each problem that I encounter. In this particular case I have been left high and dry by the developer of a simple CMS that I had developed for me … | |
Hello everyone, I am trying to use a popup script that I found online and am having trouble understanding how to convert what is displayed from content that is listed on the HTML page and called via a getElementByID() to a URL that then gets inserted into the popup. I … | |
Hey guys i need to get the database column into a 1 mentionable array. Here is my code. [CODE] $spreadsql = "SELECT `categories_id` FROM `".$TABLES['CATEGORIES_SPREAD']."` WHERE `products_id` = '".$_REQUEST['pid']."'"; $spreadquery = mysql_query($spreadsql, $connection) or die ('Could not execute SQL query:<br />'.$sql.'<br /><strong>'.mysql_error().'</strong>'); $spread = mysql_fetch_assoc($spreadquery); $array = array(); foreach ($spread … | |
Hi Guys, I have added a script to my website template and somehow it does not work. I think this could be due to a JS conflict but when using firebug, I cannot see anything abnormal. Here is the link: [Link](http://www.citylandlord.co.uk) My JS code is as follow $.noConflict(); $(document).ready(function ($) … | |
I am writing a python program on Windows using Python 2.7. Basically, it's a program that takes a 5-digit, negative & positive, number from user & spells it out in English using num2word & then speaks it out too. I have used espeak & pyttsx both but i'm getting errors … | |
I have added code for plus button, but how i write code for other buttons? My code is double total1 = 0; double total2 = 0; private void plus_Click(object sender, EventArgs e) { total1 = total1 + double.Parse(textBox1.Text); textBox1.Clear(); } private void equal_Click(object sender, EventArgs e) { total2 = total1 … | |
Good morning. Is it possible to use ajax to refresh data in a javascript array? If so, please guide me so I can find out. I am trying to build a flexible website where the user can move certain elements of the page dynamically, and have the changes reflected to … ![]() | |
array = [1, 2, 3, 1, 2, 4, 5]; for (var i = 0; i < array.length; i++){ for (var j = 0; j < i; j++){ //if (i != j) { if (array[i] == array[j]) { $('#result').append(array[j]+'Repate<br>'); } //} } $('#result').append(array[i]+'<br>'); } ## given output is 1 2 3 … | |
My assignment is to write a c++ program which does statistical analysis of a group of exam scores. Up to 100 scores may be entered. All scores should be validated within the range of 0-100. A (-1) will be entered to signify the end of data. Scores may be decimal, … Programming c++ | |
I have written a program in java using selection, bubble and merge sort and I have to print just the time it took to run the sort which works just fine, but how do I sort a sorted list? I want to see how much faster is it to sort … Programming java | |
I have issue with a php script i tried to use for file upload (ref: sitepoint 2015) ===index.html======== <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>form upload</title> </head> <body> <form action="control.php" method="post" enctype="multipart/form-data"> <p><label id="upload">Select file to upload: <input type="hidden" name="MAX_FILE_SIZE" … | |
page with form open in laravel 4.2 is not working. it throws this error Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException | |
Linux Mint I logged into phpmyadmin and set the password option to 'no password' and now I can't log in. If I enter the password I was using I get this error -> `#1045 Cannot log in to the MySQL server` and if I don't user a password at all … | |
I want to add 12 players in 1 transaction only. My codes here can only save 1 player. Here's my codes: Private Sub savebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles savebtn.Click Dim conn As MySqlConnection Dim myCommand As New MySqlCommand Dim commandB As MySqlCommandBuilder Dim data As MySqlDataAdapter … | |
I am very new to powershell and I am attempting to import multiple csv files into a SQL database. I have it working if I specify the file but I want to have it import multiple files from a specific folder. The way it's working right now, it will import … Programming shell-scripting | |
Dear members, Am learning C++ by Yashawant Kanetkar from his book "Let us C++", its been said his books are good for beginners who do self study like me, but I find some conflict of logic in this book, please help me clear those... The book says......the following code fragment … Programming c++ | |
<?php $array['key1']['key2']=array(); array_push($array,$array['key1']=>'one',$array['key2']=>'two') print_r($array['key1']['key2']); ?> can someone tell me if this is possible for multidimensional arrays? revise the code if I am wrong actually I am creating a site for billboards reservation ![]() | |
Hi , Below is the code of template smart point implementation. in below code snippet we are not allocating any memory in smart pointer constructer for ptr but still delete is called in destructor for ptr. Is it right way to implement the same ? can we delete the pointer … | |
I am trying to use a hash set to do a Monte Carlo analysis of the Birthday Paradox. Here is my pseudo code: Set number of collisions to zero Loop (10 to100 by 10) Loop: Generate a birthday. (use 1-365) See if it is already in the set. If it … | |
Hi, I am trying to build a scrapper and for that I am using mechanize to get the page source then beautiful soup to parse it. But yesterday I faced a very strange error the page source which I am getting is kind of binary, though from browser I can … | |
Hello, I am a little stumped here. I have a few tables I am trying to display data with. The first is tbl_pilot which holds data such as ID numbers that come from other tables. So my issue is tbl_pilot there are 3 airframe choices tblPilotAirframeChoiceID1FK,tblPilotAirframeChoiceID2FK,tblPilotAirframeChoiceID3FK. I am trying to … | |
Hi,i have a text file,how do i parse it in to second file to display only locations names and their average price? CARREG MAKE MODEL COLOUR LOCATIOn PRICE OWNERS MILEAGE 09-L-1258 OPEL ASTRA SILVER LIMERICK 12999 0 35000 01-D-7845 FORD FOCUS BLACK LIMERICK 1500 3 85000 11-D-7425 NISSAN ALMERA WHITE … Programming java | |
Please i need help in writing a code showing online friends on a chatting site ![]() | |
Hello, I am working on a moderately large web development system and have been charged with developing the server-side application for the web site. As a primarily local developer I have by far the most experience in C/C++. My favourite language is Ada, just to give you a sense of … | |
Hi Dw. I'm developing a software but now due to some complexity of the program I had to do some engine with C++ and I want to be able to call and receive the events from a service. Here's the C++ code that receives calls when an application tries to … | |
Hy there! I have prestashop 1.4.4.1 and i want to export database clients in CSV through Mysql. I want all the fields possible. Is possible to export their passwords also?I mean MD5. Can you please help me? Best regards, Florea Uwe | |
I have a Premium SEO Pack – Wordpress Plugin installed and with its Facebook planner, we are supposed to authorize app after providing the initial settings. I have provided all the settings correctly. Provided app id, app secret, app domain, site url (through add platform), settings->advanced->enabled browser OAuth login, provided … | |
hi i have a script that was made up for me a while ago it was working full but now its stopped can anyone see whats going off as the infprmation from the form is not echoing through to another page although its going to database heres database string to … | |
Hello, I have a question about the webBrowser control. It does work good to display webpages but it seems that the control have problem to display certain webpages. (I think it has to do with javascript on the webpage). When trying to display this webpage, it will not FULLY load … | |
In MySQL I have "users" table and one user for password and username exist. i need to change this password using basic HTML form. But when press the "Update Password" button every time given print out "The username you entered does not existThe new password and confirm new password fields … ![]() | |
1.if sum is 7 or 11 its a win. 2.if sum is 2,3or 12 it a lose 3.if sum is 4,5,6,8,9,10 it becomes your point 4.to win you continue to roll the dice until you make your point.the playwr loses by rollin a 7 before making the point. requirement:develop the … Programming c | |
Hello everyone you can create a pager, in this code Answer search found nothing Please can you help me with this <form action="Search.php" method="post"> <input type="text" name="Words" /> <button type="submit">Search</button></p> </form> <? $consulta = $_POST['Words']; if ($consulta == "") { } else { mysql_connect($dbhost,$dbuser,$dbpass) or die(mysql_error()); mysql_select_db($dbdatabase) or die(mysql_error()); $SQL … ![]() | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication22 { public partial class Form1 : Form { private double subTotal = 0; public Form1() { InitializeComponent(); } private void btmAddItem_Click(object sender, EventArgs e) { double numberOne; double numberTwo; double … |
The End.