64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Papa_Don

Hi Group! I need to write the data from multiple TextBoxes (which I've moved to individual string names) into one text file (miscflds.txt). These individual strings will need to be written one on top of the other. To be clear, it will need to look like this: Item A Item …

Member Avatar for TnTinMN
0
618
Member Avatar for krystosan

why does this gives error `print "module {0}".format(key)` , i hope this is nt the python version problem...

Member Avatar for vegaseat
0
345
Member Avatar for needhelp88

Hi everyone, I have created an implementation of the game Tic Tac Toe using a board array that is 3 x 3. It reads in a turn from the user via the keyboard, and then the computer returns a move. I have written the computer AI to basically do the …

Member Avatar for needhelp88
0
372
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 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 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 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 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 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 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 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 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 <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 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 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 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 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 rouse

The non-profit that I am volunteering with would like me to write code that interrogates FaceBook and retrieve a list of all the individual who are their friends so they can send them an email of their next meeting. I would like to find out how to get the friend …

Member Avatar for kindo
0
211
Member Avatar for uknown2

I would just like to know what is the difference between a CONSOLE APPLICATION and Windows Application in netbeans??

Member Avatar for stultuske
0
221
Member Avatar for fsefsef23

I'm making a calculator that performs operations sequentially (from left to right, not precedence), using ASP.NET/C#, but I'm having trouble trying to get the loops going through the input box string in my code behind. Obviously to me the logic seems to make sense, but for some reason, I get …

Member Avatar for ddanbe
0
325
Member Avatar for singularity~

When I run my makefile I get this error: ** No rule to make target `videofeatures.cpp', needed by `videofeatures.o'. Stop. Here is my makefile CC = gcc CPP = g++ CFLAGS += BIN_DIR = ../bin INC_DIR = ../include LIB_DIR = ../lib INCL = -I$(INC_DIR) `pkg-config --cflags opencv` LIBS = -L$(LIB_DIR) …

Member Avatar for singularity~
0
310
Member Avatar for somjit{}

code for : Percolation using Weighted Quick Union Find Algorithm. this is a homework assignment. iv made the code do what its supposed to do, and it works perfectly. The only problem im facing now is to model the code structure according to the given API. when i try to …

Member Avatar for somjit{}
0
299
Member Avatar for MRehanQadri

If p is a pointer pointing a node to be deleted, then what's wrong in the following code: cout << "Do you want to delete this record? (y/n) "; if (getch() == 'y' || getch() == 'Y'){// Delete record. if (p == *ph){//If first node is to be deleted. *ph …

0
82
Member Avatar for LastMitch

Hi I am learning **PDO**. I already got my **PDO-DB** ready. The query works because it does fetch data when I echo out the data but I don't know how to echo out the data from the database to the dropdown list. I try to echo out this way (it …

Member Avatar for LastMitch
0
901
Member Avatar for Diamond3x

I am a beginner in C++ and trying to learn it. I have a problem with this program. #include <iostream> using namespace std; int main () { int FirstNumber = 0 ; int SecondNumber = 0 ; cout << " This program will help you multiply two numbers " << …

Member Avatar for asifalizaman
0
362
Member Avatar for ebc3142

I'm using this PDO query to fetch all the data I need from Value and dateid: $pdo = new PDO('mysql:host=localhost;dbname=contisec_portal', 'root', ''); $date = date("o-m-d"); $stmt = $pdo->query("SELECT stock_names.Value,stock_names.Fileid,date_header.dateid FROM stock_names,date_header WHERE SEDOL = '$stocksel' AND date_header.fileid = stock_names.FileID"); Does anybody know how I can sort the two columns into …

Member Avatar for ebc3142
0
155
Member Avatar for StefanRafa0

somebody know how to make the text which is in the text field on click to disapear ex: If saying "Search" when ill click on the text field the text to disapear and i can write ... Thanks ! :)

Member Avatar for bguild
0
439
Member Avatar for can-mohan

hi, I have doubt about virtual function behaviour in below code snippet. As per my understanding class derive2 didn't override the virtual function fun() , so it is obvious that its object can't be assigned to the Base class pointer *p and even individually we can't instanciate the object of …

Member Avatar for can-mohan
0
175
Member Avatar for Szabi Zsoldos

Hi guys, I'm trying to work on a form with jquery. I have a table with 9 cells, 9 inputs and 9 delete links. I want to delete de particular cell on which i've clicked delete, but cannot figure it out how. I am able to delete the first element …

Member Avatar for Szabi Zsoldos
0
249
Member Avatar for analys

Hello guys, I'm working on my code vb.net to save data into access database. I'm kinda lost right now. Couldn't find the solution to the error. it highlight on dbcommand.ExecuteNonQuery() as state as the title problem. Here's my code. Appreaciate the help. ` Imports System.Data.OleDb Imports System.String Imports System.Windows.Forms Imports …

Member Avatar for analys
1
2K
Member Avatar for boy.frenzy

I want to delete the contents from cell if the content of that cell are similar to the content of the previous cell of last column. i.e If the 10th cell of column 'A' & 10th cell of column 'B' have the identical content then I need to clear that …

Member Avatar for boy.frenzy
0
205
Member Avatar for helixkod

I have an xml file that I have to read in, convert all the carriage returns to \x0D and line feeds to \0xA, then call it into a function as a string. So for example my XML file is: <TEST> this is a string </Test> I would want a string …

Member Avatar for helixkod
0
1K
Member Avatar for MRehanQadri

We cannot use constructors if we want that whenever a pointer is declared, it should be NULL. Am I right Sir? if I declare student *head, *tail, where student is a class, can I make my pointers automatically make NULL using default constructor?

Member Avatar for Moschops
0
171
Member Avatar for ImZick

i need some help how can you save the item in my textbox to the access database? For example i have Firstname.Text Middlename.text Lastname.text if i click the add button it will save it to my access database and also if i want to edit it and update it, how …

Member Avatar for Reverend Jim
0
233
Member Avatar for nah094020

Ok so am writing a program that simulates a computer system.The cpu and memory will be forked making memory a child process and cpu athe parent and i will be using pipes to let them exchange informatino. I am really lost tough on what to do next, i have loaded …

Member Avatar for rubberman
0
263
Member Avatar for AleMonteiro

Hello guys, I'm in need of some thinking help. I want to build an auto-complete text input to find cars, but I want it to search for Car Models and Car Manufactor too. In example, if the user type 'For', the suggestions would be 'Ford - Car 1' 'Ford - …

Member Avatar for AleMonteiro
0
250
Member Avatar for sugarzzzz

I have a minelist[0,15] for a board 4 height and 4 width every elemnt in the board is a zero so it looks like [['0','0','0', '0'],['0','0','0', '0'],['0','0','0', '0'],['0','0','0','0']]now if I mines X in 0,15 it would look like [['x','0','0', '0'],['0','0','0', '0'],['0','0','0', '0'],['0','0','0','x']] now whereever the mines are touching it is …

Member Avatar for woooee
0
123
Member Avatar for Nakeo

Hello, So I am working on a programming assignment that plays a two player blackjack game. I have pretty much all the functionality of the game worked out. Everything was working correctly when I the cards where drawn by my paintComponent() method. However, as soon as I loaded .jpg card …

Member Avatar for tux4life
0
442
Member Avatar for AARTI SHRIVAS

interviewer ask me a quetion what is peer can any body tell me in terms of php what it means to peer?

Member Avatar for diafol
0
346
Member Avatar for wlhj1

I am trying to do a search on a datagridview from a string the operator enters into a textbox. I am searching the datagrid view on a sorted column of last names. I do not want to filter the datagridview. I would like the operator to be able to search …

Member Avatar for G_Waddell
0
1K
Member Avatar for anumash

I am writing a program to divide my entire database (which comprises of words(A-Z) and phonemic definitions of the corresponding word on the same line) into small text files that become manageable if they are to be read by an 8-bit microcontrolling unit. The database is sorted. Right now at …

Member Avatar for anumash
0
267
Member Avatar for ram619

Hi, this code is compiling successfully, but giving "segmentation fault" when I am trying to copy data to shared memory. Please tell me where I am wrong. Thanks a lot............ #include<stdio.h> #include<sys/ipc.h> #include<sys/shm.h> #include<sys/types.h> #include<unistd.h> #include<stdlib.h> #include<errno.h> #include<string.h> int main() { int id=-1, status=-1; char *check=NULL; char *p="you"; const size_t …

Member Avatar for ram619
0
431
Member Avatar for kozer

Please can someone help me and send me in the right direction. I am making a program that reads a text file and then out puts the data into a datagrid, the text file looks like this: [HRData] 84 73 0 -124 0 50 84 73 0 -124 0 50 …

Member Avatar for Ketsuekiame
0
858
Member Avatar for PriteshP23

I am beginner at AJAX. There are two Select Menus: Month & Year. The objective is to display data in the table **AFTER selection of YEAR**. Based upon selected values data should be displayed in the table. Thanks a lot in advanced. <!DOCTYPE html> <?php $year=$_GET["year"]; $month=$_GET["month"]; $year = array( …

Member Avatar for PriteshP23
0
606
Member Avatar for Webville312

Hullo, I have been browsing through the internet on how best I can send an email from my website; and it seems like most were directing me to PHPMailer. I added the php mailer folder onto my server, and now am attempting to test whether am email can really be …

Member Avatar for Webville312
0
5K
Member Avatar for rexmatthew

I've been getting problems with my formula to total the deposit and price. I'm getting and error on this line $total += $total + $deposit['deposit'] * $pamount['price_status']; Here's more but only an error with the total. $prod_refid=$_REQUEST['refid']; $productsql="select * from products where prod_refid='$prod_refid'"; $resquery = @mysql_query($productsql); $resproduct_fetch=mysql_fetch_array($resquery); $image_path="products/"; $thumb_path="products/thumb/"; $product_id=$resproduct_fetch['product_id']; $prod_refid=$resproduct_fetch['prod_refid']; $product_image=$resproduct_fetch['product_image']; $product_name=$resproduct_fetch['product_name']; $prod_country=$resproduct_fetch['prod_country']; $price_range=$resproduct_fetch['price_range']; $pamount …

Member Avatar for AARTI SHRIVAS
0
246
Member Avatar for AARTI SHRIVAS

the interviwever ask me one more question about soap in php can any budy tell me what is this i am really don't know about it?

Member Avatar for AARTI SHRIVAS
0
299
Member Avatar for danishbacker

How can i add expires header to images? i used the following in css file and php respectively [code] <?php -----------CSS------------------------------------------------------ ob_start ("ob_gzhandler"); header ("content-type: text/css; charset: UTF-8"); header ("cache-control: must-revalidate"); $offset = 48 * 60 * 60; $expire = "expires: " . gmdate ("D, d M Y H:i:s", time() …

Member Avatar for mlm2gether
0
3K
Member Avatar for ImZick

Hi i wonder how can i delete my data using access as my database? for example i want to delete Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source='" & ConAccessDatabase & "';") Dim cmd As OleDbCommand cmd = New OleDb.OleDbCommand("delete * from [" & EBU2DB_LOB & "] where Brand ='" & …

Member Avatar for ImZick
0
182

The End.