199,114 Archived Topics
Remove Filter ![]() | |
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" … | |
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 … | |
[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 … | |
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 | |
How can I get an RGBQUAD array of the pixels from a bitmap created from the screen(screenshot/printscreen). | |
[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 … | |
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 … | |
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'])) … ![]() | |
| |
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 … | |
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 … | |
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" | |
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 … | |
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 … | |
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? | |
![]() | 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 * … |
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 … | |
Please help me learn session handing in C# using default.aspx | |
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 … | |
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 … | |
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 … | |
[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 … | |
Hello, I am really new at using PHP and can anyone help me out on printing a web page using Php? Thank you. Sam | |
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 … | |
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 … | |
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) | |
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 … | |
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, … | |
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) … | |
I would like to know how to do this. Are there any functions specifically for it? Or do you have to do it manually? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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() { // … | |
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 … | |
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 !! | |
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? | |
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 … | |
[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 … | |
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 … ![]() | |
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. | |
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 … | |
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 … | |
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? | |
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 | … | |
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 … | |
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 … | |
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 … |
The End.