199,113 Archived Topics
Remove Filter ![]() | |
import java.io.*; import java.util.*; import java.util.Scanner; public class cooperativeCanteen60 { static Scanner console = new Scanner(System.in); static Scanner sc = new Scanner(System.in); public static void main(String[]args) { //throws java.io.IOException { Scanner in = new Scanner (System.in); int type; int discountRange; int discount; int customerType; int number; int rtotal; int vtotal; … | |
Hi! I'm working on a notepad project and like original notepad i want the form title set by the name of the file that has been openned so how can i do that?! thanks... | |
Hello. I have resembling cms http://www.dunk.pro/ (PHP) How to increase speed, without loss of design? How do I know which classes in css can be removed? | |
i am printing the values using ajax. Can i store those value in database? | |
I have not found any answer on Daniweb neither on the web. What I need is a winform that send an e-mail using the Exchange Server on the local network are and authenticate with the current domain user without entering credentials. It is possible? I have this code? Can anyone … | |
Hi, I'm doing some more work on my sensor program - and it now has a GUI and graph which I'm happy with. I'm having a look at a WX python tree - which looks like a good control for what I'm looking for. The question I have is this … | |
Hi All, I'm trying to save an incoming email as a .txt document but I'm having some trouble with the VBA. My procedure is as follows: Sub ConvertToPlainAndSaveAs(Mymail As MailItem) Dim strID As String Dim objMail As Outlook.MailItem strID = Mymail.EntryID Set objMail = Application.Session.GetItemFromID(strID) objMail.BodyFormat = olFormatPlain objMail.SaveAs "C:\Users\Me\Documents\path\to\Test.txt", … | |
Hello All, First - I am just a beginner at this (just started studying C++ this semester) so I am lost somewhat sometimes and I think I am making good headway with my first array, but, I can not get it to return any output in my console window. I'm … | |
Question is Write a modular program (function) for problem given below. This program will let you enter the initial balance for the month, followed by a series of transactions. There is no limit on the number of transactions the program can process. A transaction takes the form of two input … | |
Hi! I tried creating a log-in screen that is connected to a database from the examples I've seen on the net. The thing is, I wanted to put a function where the user can only log in if the account is not yet expired. for that, I've put a datefield … | |
I have a function named **category_name()** which use in a while loop give me a different value everytime I echo it. I have another function named **query_item()** which is use in the same loop. I need to get result from first function in the second function. Can I use **call_user_func()** … | |
Someone try my code. And help me with the txtQty TextField. import java.awt.*; import java.awt.event.*; import java.applet.*; import java.text.*; import javax.swing.*; public class Cashier extends Applet implements ActionListener, KeyListener { private final double applePrice = 15.75, orangePrice = 13.50, pomeloPrice = 95.25; Panel topPanel, eastPanel, westPanel; Label lblTitle, lblQty, lblTotal; … | |
Is it possible to declare an array with a variable as its index value, so that the user himself/herself can enter the exact number of items required....?? | |
hi memmbers can anyone suggest me how to run mail() function of PHP on localhost??? I want to check my inquiry page?? | |
Hello, Good evening! I am trying to validate my atachments in my system. In my program, there is an upload button, what I am trying to do is to validate it by not copying and saving the upload file once it already exists in the database..... HERE IS MY CODE: … | |
Hi All, Hopefully a quick one but I don't think it will be :( I have a piece of software which is a data logger and plays sounds when users have been inactive for a period of time etc... The software also plays a type of audio file upon a … | |
I am inside a while loop. Different categories are displayed with their name and id in a list. Then I need to query each category and get a item title from there. This query is not working although the function osc_category_id/name is changing accordingly. Or am I doing it wrong? … | |
Group, The SQL Server (I'm using the edition that comes with Visual Studio 2010 Express) is different in every aspect form the database(s) that existed in the UNIX based program I work with over the last 15 years. There is much to learn and understand. With that said, I've connected … | |
Hi every one, I need to use System.Windows.Documents & System.Web.UI.WebControls namespace in my visual studio Windows Form c# project, they do not found in my refrance. i serched for long time on internet no more satisfactory in results. can any one helpe me Best Regards, IT_Techno | |
I have a website with a login page I want this page to verify the username and pass to another site and then display some details from that site on my site, soo my site would be like a gateway if you like Here is an example This site connectusc.herokuapp.com … | |
![]() | I am trying to play an mp3 file using the JMF java library and an mp3 codec with the following code but i am getting an error and don know the source package source; import java.io.File; import javax.media.Format; import javax.media.Manager; import javax.media.MediaLocator; import javax.media.Player; import javax.media.PlugInManager; import javax.media.format.AudioFormat; import javax.media.*; … |
Dear Friends, I have seen most of sites have a menu like this to show "Where are you now" with beautiful CSS. Now i wants to add the menu like this. But i don't know how should I search, coz i dont know the technical word. Home > Web Development … | |
Hi, how to add a checkout function to this code? In the picture you can see, I had call the member list and cart function together. I want it automatic execute INSERT INTO query when I click the checkout function. I already make a cart and member list and both … | |
Hi guys please help; so I have this Login in my webpage when I'm doing it on my pc(vista and wamp) there is no error I can Login/out, but when it is hosted on the server(ubuntu and xampp) I am getting this error :( Warning: session_start() [function.session-start]: Cannot send session … | |
Good day, I want to get the latest value of the newly inserted record in my label.. The value that i want to get is not the primary key. Here is my code . //for saving _patientInformation.firstName = txtFname.Text; PatientInformationBL _patientBL = new PatientInformationBL(); if (_patientBL.addPatientInfo(_patientInformation) == true) { lblMsg.Visible … | |
Dear experties, I have a problem to remove semicolon at last value, but not working. This script working if I change the ';' to comma ','.. What is the problem actually? Please help me.. > if(isset($sw11)) $symp39=$sw11.";"; else $symp39=NULL; if(isset($sap_rel)) $symp40=$sap_rel.""; else $symp40=NULL; if(isset($subject)) $symp41=$subject.";"; else $symp41=NULL; if(isset($module)) $symp42=$module.""; else … | |
hey guys ! i have been given an assignment as pasted below : You will be given two files. Grid.txt will contain a grid of letters (as shown below) j q v r l k u v e r s i o n l d v k e r n … | |
$sXML = new SimpleXMLElement('<deletepicture />'); foreach($planspaceImages as $img) { $xImg = $sXML->addChild('img'); $xImg->addChild("id", $img["id"]); $xImg->addChild("album_id", $img["album_id"]); $xImg->addChild("personal_id", $img["personal_id"]); $xImg->addChild("name", $img["name"]); $xImg->addChild("description", $img["description"]); } //$this->picfilepath = sfConfig::get('app_deleteduser_rootdir'); $sXML->asXML("pic.xml"); i want to this xml data store in dynamic filepath$this->picfilepath = sfConfig::get('app_deleteduser_rootdir')."\\".$personId; the above code generated pic.xml in my project web directory,but i … | |
Hello, I have a problem that I'm pretty sure I already got done before but I got lost since I didn't note down my changes with my code. My problem is that I need my displayed calendar to move fluidly showing the next 4 months and the previous 4 months. … ![]() | |
I have created movie database. I have list of **Genres,** <ul> <li><a href="movielist.php?id=<?php echo"$id";?>"><?php echo"$genre";?></a></li> </ul> In **table movies**, movie have multiple geners. How to fetch same movie if multiple geners available (e.g. The Expendables 2 appear in **Action | Adventure | Thriller** these three geners). **How to display movie … ![]() | |
I have a snippet of code and for some odd reason I can not print it. int[] answer = new int[15]; for (int i = 0; i < answer.Length; i++) { answer[i] = Console.ReadLine(answer); } It says that I can not do `Console.ReadLine(answer);`. How would I get this snippet of … | |
How to display image or picture from database to crystal report.In database i have only picture name.n picture are store in folder. | |
what is the driver and url for oracle 11g and kindly suggest me suitable jdbc jar file for oracle 11g | |
This is the output: https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn1/541619_462450913826230_932486202_n.jpg This happens when I input "1" in the quantity textfield. (The quantity textfield turns null after inputing a value) But when I put "1" in the quantity textfield and click Oranges, it overwrites the Apples. https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-ash4/299813_462450910492897_2137805386_n.jpg WHat i wanted to happen is that it'll tally … | |
Hello, I learning javascript and trying to reverse engineer something I found on a site to understand it. Here is a link to the full script... http://jsfiddle.net/WHQKA/ I have gotten to understand most of it so I know what is going on and can learn from it. However this line … | |
Hi, I am trying to do a hotel system where i have written up this code, however i was wondering if the there was a way to make the main program simple. So what im trying to do is the code that ‘Views All rooms’ and ‘Adds customer to room’, … | |
I have to access a java swing application which is on server machine from a java web application Please help me. I have to send few attributes tu Gui apps and in turn retrieve result from that.. | |
A minor update to the 1.6 version of jQuery was just released today. After a big outcry of version 1.6's changes to the way properties work, the jQuery team quickly released version 1.6.1 to make the new techniques more compatible with the older functionality, hopefully preventing sites from breaking. The … | |
Hello all. I wrote a program that gives me 100 random values from the range between -100 to +100. How am I supposed to find the minimum, maximum, and average of the values that will be listed when I run the program? I appreciate the help anyone can give me. … | |
Hi, Using button, How to undo the last click event? | |
Hi guy, I have been teaching myself how to write C programming code, right now am learning the Round Robin Sheduling algorithm, below is the code that i have managed to write, its the basic but i could do with your help or your direction with how to do the … | |
Hi all, I am trying to create a website where there are three images on the screen. The user needs to choose one of the images. The image they select needs to be recorded either in a text document or into a mysql database. For example Image 1 Image 2 … | |
Hi there, Years ago I posted in an InstallShield forum to see how I can detect if a patch has been applied on a particular machine programmatically. We have an update utility that will fire a Myapp.msp if it is detected in a particular folder. What is happening is that … | |
hello guys ! I need some help.. "assume that the process happen in some restaurant. there are seat1 until seat10 in the restaurant. the customer(user) need to enter the seat number to select the seat that they want. the seat that have been selected by customer will remark by 'reserved' … | |
Hello, I'm having a play with Qt and can draw what I want, perform transforms, more the origin with a translation but would like to know how big the area I have to paint on is and is it possible to control this. I've read the entries for things like … | |
how to develop a gannt chart like this , i mean same like this, having time slices in bottom, like in the attached image.  | |
I integrated Login with FB and Twitter; but I'm getting error when I click Login in Facebook link check at http://delhicertificates.in/ Warning: Cannot modify header information - headers already sent by (output started at /home/delhioia/public_html/index.php:7) in /home/delhioia/public_html/facebook/index.php on line 12 /home/delhioia/public_html/facebook/index.php ----------------------------------------------- <?php //Always place this code at the top … | |
Hi guys, Trying to implement a return module in magento but got a strange problem. I'm passing values from a while loop into another page with values. Everithing is working well but my first elements of a `produs` and `sku` are empty and I dont know why .... The line … | |
...and the Microsoft AJAX Library, err, and the ASP.NET AJAX Control Toolkit. Yep, Microsoft has not only finally come up with an official name for the AJAX technologies which until now have been known collectively as ‘Atlas’ but has also split it into three individual products. All are expected to … ![]() | |
> hey guys,.how to get all word in first index in array below and index 2 futhermore get last word,.. $arr = array( array( '3'=>'repsol kawasaki honda ktm', '4'=>'kawasaki honda ktm bmw', '5'=>'honda ktm bmw ducati', '6'=>'ktm bmw ducati yamaha') , array( '13'=>'sdad dasda sdadad dasdads', '14'=>'dasda dasdad sdasdas asdas', … ![]() |
The End.