199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thatnewbreed

I am having trouble populating elements from the following Yahoo RSS feed: [url]http://weather.yahooapis.com/forecastrss?w=12773400[/url] I need to show the current weather conditions when a button is clicked. Here is what I have so far. [CODE]<!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> <title>Current Weather Conditions</title> </head> <script language="javascript" …

Member Avatar for thatnewbreed
0
253
Member Avatar for zyaday

Why is this code not working???? [CODE] <c:if test ="${sessionScope.qCounter == 0}"> <!-- {((Quiz1) (sessionScope.quizVal)).correctAnswer(sessionScope.boxval)) == 'true'}">!--> <br><font size='3' color = 'red'>Your last answer was not correct! Please try again!!</font><br> </c:if>[/CODE] qCounter and quizVal are a session scope attributes I declared like . [CODE] HttpSession s = request.getSession(); s.setAttribute("quiz", new …

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for msman88

[CODE]<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AdNetConnectionString %>" SelectCommand="SELECT AdCampaign.ID As [ID], AdCampaign.CampaignName FROM Account INNER JOIN AdCampaign ON Account.ID = AdCampaign.AccountID WHERE (Account.EmailAddress = @EmailAddress)" DeleteCommand="DELETE FROM [AdCampaign] WHERE [ID] = @ID" > <SelectParameters> <asp:SessionParameter Name="EmailAddress" SessionField="EmailAddress" /> </SelectParameters> <DeleteParameters> <asp:Parameter Name="ID" Type="Int32" /> </DeleteParameters> </asp:SqlDataSource>[/CODE] In tge previous code. When …

0
69
Member Avatar for Alexpap

Hi all, I would like to ask a question. Is the way that we connect an Access 2010 with a C# application the same. Are we still using the JET ENGINE 4.0? Thanks in advance, Alex

Member Avatar for finito
0
94
Member Avatar for Kesarion

How can I get an RGBQUAD array of the pixels from a bitmap created from the screen(screenshot/printscreen).

Member Avatar for Salem
0
121
Member Avatar for Anigmalee

[CODE] Select Case (e.Index) Case 0 If Alarmlvl = 3 Then bwcolor = Brushes.Gold ElseIf Alarmlvl = 2 Then bwcolor = Brushes.Black ElseIf Alarmlvl = 1 Then bwcolor = Brushes.BlueViolet End If Case 1 bwcolor = Brushes.Gold If Alarmlvl = 3 Then bwcolor = Brushes.Gold ElseIf Alarmlvl = 2 Then …

Member Avatar for Anigmalee
0
219
Member Avatar for tanha

Hi everyone, I am using Ubuntu 7.10, and I have Java and MySQL installed with the command line as follow: 1. sudo apt-get install sun-java6-jdk 2. sudo apt-get install mysql-server and my JAVA and MySQL are working well, but now I want create connection between JAVA application and MySQL using …

Member Avatar for peter_budo
0
224
Member Avatar for gymangel812

I'm getting this error and I can't figure out why: "Parse error: syntax error, unexpected $end in C:\Program Files\IndigoPerl\apache\htdocs\process_menu2.php on line 160" thanks :) [code]<?php echo '<html> <head> <title>Uploading...</title> </head> <body> <h3>Uploading file...</h3>'; // Set up the database connection. require_once ('mysqli_connect.php'); //if name selected from drop down box if (isset($_POST['product_name'])) …

Member Avatar for rajarajan2017
0
170
Member Avatar for rahulr
Member Avatar for jephthah
0
108
Member Avatar for twampdawg

Alright Guys & Gals I have a stupid question. I've been in IT for 7 or 8 years working up to a network administrator. I'm thinking of making a slight change and moving towards programming. I've had little to no experience in programming so far. Basically I'd like to get …

Member Avatar for jephthah
0
141
Member Avatar for choragos

Hello all. I'm almost certain this question has been posted before, but I couldn't find it--I apologize if it's a repeat. Anyway, I'm having a peculiar problem using getline when reading to a file. I know exactly how the file will be formatted, except the presence of comments at the …

Member Avatar for choragos
0
349
Member Avatar for hr1212s

this code in c++ [CODE]#include <iostream> using namespace std; int main() { return 0; } struct X; struct Y; struct Y { X ox; }; struct X { Y oy; };[/CODE] gives error as:"field `ox' has incomplete type"

Member Avatar for Banfa
0
63
Member Avatar for Eternal49

Ok, Let me start off and say Im new to C. Im writting a subnet calculator, in my main function I am asking the user for a subnet mask and storing it in a char variable. Im then passing the variable to another function called "truncat", where I strip the …

Member Avatar for Eternal49
0
124
Member Avatar for Exaktor

I have a datagridview with data in it. I want to search the whole datagridview with a searchbox. This is the code I am using but it only searches the 'model' column not also the 'make' column. [CODE] DataView Dv = new DataView(); Dv.Table = partsDataSet.Tables["partsTable"]; Dv.RowFilter = " Make …

Member Avatar for finito
0
581
Member Avatar for andrew2325

I want to print one colum of the database, we'll call it foo, to a richtextbox, and then match the input in a textbox the user inputs to it. Any suggestions?

Member Avatar for finito
0
345
Member Avatar for ChargrO

Im working on this bit of code below, The only thing im worried about editing atm is the self.toggle() and self.hello(). Im currently getting this error TclError: unknown option "-menu" from this line of code self.config(menu=menubar), does anyone know how i could fix this problem?? [CODE] from Tkinter import * …

Member Avatar for Ene Uran
0
1K
Member Avatar for sksingh73

I am writing a php code in which i am trying to implement the following - I have made a exe program in c++ which takes a string input from the user and then displays the output; - Now in php, i am calling this program using passthru(), system(). like …

Member Avatar for pritaeas
0
102
Member Avatar for dinesh.isuranga
Member Avatar for hoofbeats95

Hello. I need to include an excel file in the installation project of an application. I've added it to the install project under application folder. I need to read that file into a dataset during runtime. The file needs to be included on install so that the customer can change …

Member Avatar for hoofbeats95
0
808
Member Avatar for jemz

hello can you help me please.. i have this trapping that will trap the characters..but my problem my code is too long..are there other ways to shorten my code..please help me ...hoping for your positive responds... [CODE]Public Function mchnotrap(KeyAscii As Integer) If KeyAscii >= 33 And KeyAscii <= 44 Or …

Member Avatar for jemz
0
83
Member Avatar for Robert1995

Heya , I was thinking of making a site opener application :). But I had a lots of problems . The next problem is facing this , it just crashes.:( [B]What do I want my program to do ?[/B] I want to assign a nickname for each of my favorite …

Member Avatar for Robert1995
0
206
Member Avatar for VERMUNDr

[CODE] #include <iostream> using namespace std; const int ROWS = 3; const int COLS = 3; //char matrix[3][3]; void showBoard(char[][3]); void pTurn(int&, int&); void checkPlayerWin(bool&, char[][3]); void checkCompWin(char[][3], bool&); void checkForBlock(char[][3], bool& ); char compRandomTurn(); void compWinCheck(); // Main // Main// Main // Main// Main // Main// Main// Main// Main …

Member Avatar for Robert1995
0
181
Member Avatar for samira.mahamo

Hello, I am really new at using PHP and can anyone help me out on printing a web page using Php? Thank you. Sam

Member Avatar for Stefano Mtangoo
0
100
Member Avatar for Talguy

I am still working on my realtime application for my car that will be running on Minimal Ubuntu and the gtkmm library. My current application runs alright for a singly thread application. I am in the process of multi-threading it (still learning threads). What I thought would be the best …

Member Avatar for Talguy
0
685
Member Avatar for jakethecake

Hi I want to write an x86 assembler function that multiplicates two 64 bit integers on a 32 bit processor. It has the following C signature: [B]void llmultiply(unsigned long long int l1, unsigned long long int l2, unsigned char *result);[/B] The result of l1 * l2 are to be but …

Member Avatar for jakethecake
0
2K
Member Avatar for Qwazil

I'm an absolute beginner. Is there a function to search inside a set? If not, does anyone have a function that does so? (set to search in, value to search for)

Member Avatar for Ene Uran
0
62
Member Avatar for dreadyteddy

I am TRYING to write a program that finds restriction sites in a DNA file and returns a picture and information box of the enzyme which cuts it. My problems are; a) I have no idea if my program works past opening the file directory. b) I dont know how …

Member Avatar for dreadyteddy
0
855
Member Avatar for luap599

Hi my first insert statment works ok, My problem is that I wish to insert all the selected options passed from the form. into my user_req_opt table. Some items only have 1 option others may have 10 options. [CODE] $sql = "insert into user_requests(rq_id, user_id, code_ref, code_id, cat_id, opt_yn, rq_qty, …

Member Avatar for luap599
0
173
Member Avatar for softdev

hi, looking at this example code: [CODE] public void writeList() { PrintWriter out = null; try { System.out.println("Entering try statement"); out = new PrintWriter( new FileWriter("OutFile.txt")); for (int i = 0; i < SIZE; i++) out.println("Value at: " + i + " = " + vector.elementAt(i)); } catch (ArrayIndexOutOfBoundsException e) …

Member Avatar for JamesCherrill
0
98
Member Avatar for SquirrelProdigy

I would like to know how to do this. Are there any functions specifically for it? Or do you have to do it manually?

Member Avatar for yangacer
0
169
Member Avatar for sonasuresh

Hi Everyone, I have a doubt in Ajax Autocomplete Extender, im learning ASP.net with C# for 3 days and im unable to understand. i tried some code which is in forums but when i try to connect to my database it fails to retrive data from database i dont know …

Member Avatar for reach_yousuf
0
160
Member Avatar for johnny.g

hi all,,,need a little help from u ppl. i am creating reports using bi of vs along with cubes. here is the example of my report.. country qty rate rate qty a 15 200 2 b 10 400 3 c 20 300 1 i am able to achieve the first …

Member Avatar for dnanetwork
0
84
Member Avatar for krunalkakadia

Hello guys, i have my drop down list in which i have 5 years from 2010-2006.by default start year is current year and last year is current year-5. exa:- if start year is 2010 then last year is 2006 now if 2011 begins then start year will be 2011 and …

Member Avatar for dnanetwork
0
720
Member Avatar for js8765

Hi, I was wondering what is the "cleanest" way of combining two datasets by taking all the values from one data set and only the values from a second data set that have an index that does not appear in the first. Both data sets have the same columns. Even …

Member Avatar for js8765
0
788
Member Avatar for jellybeannn

Hi I'm trying to pass data from one page to another, but it does not display anything, Page 1: [code] protected void submit_Click(object sender, EventArgs e) { addData(); Session["value"] = space_01.Text; } public void addData() { string tenderDate = start_txt.Text; string cost = totalCost.Text; string companyName = name_txt.Text; string scon …

Member Avatar for finito
0
159
Member Avatar for prodstar

hi im trying to read a txt file and could you please check what is wrong with this? this is my code [CODE]// This program will calculate the charges for shipping #include <iostream> #include <iomanip> #include <string> #include <cstdlib> using std :: ifstream; using namespace std; int main() { // …

Member Avatar for jonsca
0
195
Member Avatar for Santho786

how to avoid validation summary when required field validator is disabled..i am disabling required filed validator from java script...eventhough i disabled it ...error message is shown in validation summary. I am facing the error... Explain how to go ahead ... i need to go ahead with jsp, javascript, not with …

0
213
Member Avatar for hwa

Can someone help me?? How to retrive image from MySQL(not MS_SQL) and show into my <asp:Image> control using c# Lets said my table on have a field as following: "SELECT pic FROM image" Thanks in advance !!

Member Avatar for kvprajapati
0
207
Member Avatar for laks_samy

Hi i am using List View in vs 2005, i added check box but i can't set the properti enable = false, how to set enabled =false in all checkbox coloumn?

Member Avatar for finito
0
95
Member Avatar for lightshift

Hey all, am stuck! Basically I have a version of the Game of Life to create and I am currently having trouble with moving the items in the array. Basically my code shows the 20x20 grid, populates it with .'s to start, then adds 5 x's and 100 o's. That …

Member Avatar for lightshift
0
252
Member Avatar for runee1000

[CODE] import java.awt.*; import java.awt.geom.*; import java.awt.event.*; import java.applet.*; import javax.swing.*; //need this for the timer to work. ///public class DoubleBuffering extends Applet implements MouseMotionListener class Ship { private int xpos, ypos, height, width, speed, xdir, ydir; private Ellipse2D.Double c; public Ship(int x, int y, int w, int h, int …

Member Avatar for quuba
0
880
Member Avatar for niths

hi all, i am having a page in which upload and download buttons are present. so wen i click upload or down load button the values in that page are refreshing and becoming empty actually i get those values from the previous page. so i dont want the page to …

Member Avatar for rajarajan2017
0
104
Member Avatar for mohsinsayyad

I am Developing Windows Form Application in .Net, I want to insert selected rows value of Gridview into database. First Column of my GridView is Checkbox, when user check one or more checkbox from gridview, i want to insert values of respective rows into Database.

Member Avatar for sourabhtripathi
0
583
Member Avatar for miotvsingtel

For those who understand El Gamal signature scheme . U may have known the verification process of the signature : y^a *a^b (mod p ) = g^M (mod p) We have to compute both side of the equation. If they are equal, the signature is verified. but i have issue …

Member Avatar for quuba
0
278
Member Avatar for aloush91

Hello everyone,,am os glad to join daniweb finally ! i like all of u and i think u're really smart guys am facing really hard assignment i couldn't do it at all :( the issue is ; 1. Write a program that finds and prints all of the prime numbers …

Member Avatar for Banfa
0
177
Member Avatar for Pradnya.117

I am using MS Access 2003 to connect with VB. I have added all the referencess. Still there is an error in the line [code]If conn = "" Then conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Automobiles.mdb;" conn.Open [/code] Will you please help me to solve this problem?

Member Avatar for AndreRet
0
86
Member Avatar for end3r

Hy, I seek your help in solving the following problem: I have a select which returns columns like ( without count_same which I need to create by counting the same name): ID | NAME | no_items | count_same ----------------------------------------------------------- 1 | A | 1 | 2 2 | A | …

Member Avatar for end3r
0
196
Member Avatar for student.09

I am new to java, taking an intro to java class, my grade is on the border line, need major help! I'm having a lot of trouble getting this program to work. I have written the entire program, but clueless of how to overcome these errors; program needs 2 be …

Member Avatar for wildplace
0
545
Member Avatar for lakshmi4788

neethu@ubuntu:~$ mysqldump -u root -p database_name > /home/neethu/Desktop/time/backup5.sql Enter password: neethu@ubuntu:~$ this code works in terminal...but i need to implement it using php... hi, i want to dump databases... we r doing a project on replication of databases.... through terminal replication works all well ... but in developing gui in …

Member Avatar for lakshmi4788
0
258
Member Avatar for lilpinay

write a program that computes the nth root of a number. given a real number X greater than 1 and less than -1 and given an integer Y, compute the nth root Z such that Z*Z*Z*Z*Z*Z*Z...(Y times)..Z*Z=X, or Z^y=X(Remember if X is negative Y must be odd.) The user enters …

Member Avatar for JamesCherrill
0
173

The End.