199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JavaGr33nh0rn

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; …

Member Avatar for JavaGr33nh0rn
0
262
Member Avatar for peymankop

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...

Member Avatar for JamesCherrill
0
125
Member Avatar for 44strong

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?

Member Avatar for JorgeM
0
325
Member Avatar for jhilmil123
Member Avatar for jeansantos

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 …

Member Avatar for tinstaafl
0
321
Member Avatar for rev_ollie

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 …

Member Avatar for rrashkin
0
221
Member Avatar for Tinnin

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", …

Member Avatar for Tinnin
0
144
Member Avatar for firebird102085

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 …

Member Avatar for mrnutty
0
1K
Member Avatar for Lin2013

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 …

Member Avatar for otengkwaku
0
141
Member Avatar for Ashenvale

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 …

Member Avatar for Ashenvale
0
142
Member Avatar for mjsmitten

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()** …

Member Avatar for pritaeas
0
128
Member Avatar for iciaguevara

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; …

Member Avatar for edensigauke
0
198
Member Avatar for AzizTitu

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....??

Member Avatar for deceptikon
0
244
Member Avatar for vivek221

hi memmbers can anyone suggest me how to run mail() function of PHP on localhost??? I want to check my inquiry page??

Member Avatar for AARTI SHRIVAS
0
163
Member Avatar for akasekaihime

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: …

Member Avatar for Reverend Jim
0
249
Member Avatar for thewilf

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 …

Member Avatar for thewilf
0
245
Member Avatar for mjsmitten

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? …

Member Avatar for mjsmitten
0
272
Member Avatar for Papa_Don

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 …

Member Avatar for Reverend Jim
0
183
Member Avatar for IT_Techno

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

Member Avatar for Ketsuekiame
0
214
Member Avatar for lttleastig

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 …

Member Avatar for lttleastig
0
197
Member Avatar for Ralphael

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.*; …

Member Avatar for stultuske
0
974
Member Avatar for jLamp

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 …

Member Avatar for pritaeas
0
103
Member Avatar for devianleong

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 …

Member Avatar for Webville312
0
736
Member Avatar for bLuEmEzzy

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 …

Member Avatar for Webville312
0
273
Member Avatar for cyberdaemon

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 …

Member Avatar for cyberdaemon
0
192
Member Avatar for HasNor

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 …

Member Avatar for HasNor
0
221
Member Avatar for waqas.zafar.125

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 …

Member Avatar for ravenous
0
155
Member Avatar for Vijaysurya

$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 …

Member Avatar for Vijaysurya
0
218
Member Avatar for rexmatthew

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. …

Member Avatar for diafol
0
214
Member Avatar for vizz

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 …

Member Avatar for diafol
0
1K
Member Avatar for <M/>

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 …

Member Avatar for tinstaafl
0
224
Member Avatar for techinvest

How to display image or picture from database to crystal report.In database i have only picture name.n picture are store in folder.

Member Avatar for techinvest
0
203
Member Avatar for ganges

what is the driver and url for oracle 11g and kindly suggest me suitable jdbc jar file for oracle 11g

Member Avatar for radhakrishna.p
0
3K
Member Avatar for iciaguevara

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 …

Member Avatar for ~s.o.s~
0
246
Member Avatar for timwhelan

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 …

Member Avatar for lambing
0
175
Member Avatar for uknown2

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’, …

Member Avatar for bguild
0
2K
Member Avatar for surendrak223

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..

Member Avatar for Whatever123
0
543
Member Avatar for jeffcogswell

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 …

Member Avatar for lambing
0
488
Member Avatar for ralph.d.abernathy.1

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. …

Member Avatar for tinstaafl
0
3K
Member Avatar for monching
Member Avatar for emaellie

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 …

Member Avatar for emaellie
0
249
Member Avatar for Torres_1991

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 …

Member Avatar for Airshow
0
109
Member Avatar for Superfreak3

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 …

0
113
Member Avatar for chocolatte.lavista

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' …

Member Avatar for tinstaafl
0
283
Member Avatar for TheBrick

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 …

Member Avatar for TheBrick
0
1K
Member Avatar for HunainHafeez

how to develop a gannt chart like this , i mean same like this, having time slices in bottom, like in the attached image. ![gant_chart__cut](/attachments/small/3/gant_chart__cut.png "align-left")

Member Avatar for ddanbe
0
189
Member Avatar for abhi10kumar

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 …

Member Avatar for broj1
0
157
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for broj1
0
223
Member Avatar for happygeek

...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 …

Member Avatar for LastMitch
0
693
Member Avatar for cussel

> 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', …

Member Avatar for LastMitch
0
276

The End.