199,112 Archived Topics
Remove Filter ![]() | |
Does anyone know how I would go about extracting data from wikipedia. I am working on a site that requires specific information from articles from wikipedia, and I was wondering whether anyone has any helpful tips on how I would go about the data scraping. Thanks | |
Hi, Using jQuery 1.4.4 with the Roundabout plugin. Something weird is going on here and I can't put my finger on it. I have a function set up that changes the text of a <span> when a new image is called into focus. It gets called in $(document).ready like so: … | |
Hi I am trying to call my BMI webservice to a html page which calculates and return the result, I have the following code but it is not working. [CODE] <html> <head> <title>Body Mass Calculator</title> <script language="JavaScript"> function InitializeService(){ service.useService(http://localhost:57955/BMI.asmx, "BMI"); } var doubleFeet, doubleInches, doubleWeight; function GetBMI(){ doubleFeet = … | |
I am working for a company that wants their podcast on iTunes... The thing is that they want a specific URL destination (and not the link from the RSS feed itself) pointing from the iTunes page. I know that the tag to change on the RSS feed is the <link> … | |
Hello. Part of a site i am making requires me to get information from an XML feed. I have a function that checks to make sure it can access the feed then get data from a tag in that feed. However, when i call the function using the code below … | |
Hello, I have a form in my VB 6 program which has 6 labels; which are.. Unit 7 Mark: Unit 8 Mark: Unit 9 Mark: Unit 10 Mark: Unit 13 Mark: Unit 14 Mark: To the right of them I have 6 text boxes where the user enters a mark … | |
Good Afternoon, I'm having trouble with a school assignment. The assignment entails: Write the implementation of the function subsequence for the orderedArrayListType class. Also write a program to test your function. Prototype: bool orderedArrayListType::subSequence (orderedArrayListType &S,orderedArrayListType &L); Definition: subsequence returns true if S is a subsequence of L, false otherwise. … | |
Hello, I have a MySQL database with 3 tables. Each table contains a list of persons, and each table represents the level of a person. For example, tbl_level1_p, tbl_level2_p and tbl_level3_p. Level 1 persons have level 2 persons under them, and level 2 persons have level 3 persons under them. … | |
Hi to everyone! I am new in programming and I'm making an application that can filter records on datagrid from the user's input in textbox..I tried this code that I also got here.. But I'm getting an error..please help me..thanks in advance.. ERROR MESSAGE: An unhandled exception of type 'System.InvalidOperationException' … | |
Hi, I have one script that should check for a couple of checkboxes which one of them is checked, and store their values, then post them back to the controller(it's an MVC application, but that is not that much important). I am doing this using an additional hidden input field, … | |
Hi, if I run the following code and press L on the screen, I should be getting a leapfrog.txt textfile. But I only see my previous euler.txt. What is wrong with the code. Thanks in advance for any help. [CODE]#include <iostream> #include <fstream> #include <cmath> #include "H:\Visual Studio 2008\Projects\section2\threevector.h" using … | |
Hello Can someone please help me with getting a better understanding of dependency theory using Armstrong's Axioms? Thank you | |
i have such div: [CODE] <div id="file.jpg"> <img src="http://localhost/joomla15/uploads/banners/file.jpg?1300447751"> <img title="Trinti" class="deleteAd" data-filename="file.jpg" src="http://localhost/joomla15/components/com_banerioikelimas/images/delete.png"> <a class="pratestiDienai">Pratesti galiojima dienai</a><br><br> <p class="validUntil">Galioja iki:2011-04-02 20:40:09</p> <p>Paspausta:1</p><br> </div> [/CODE] now I want to change its html content with such code: [CODE] $('#file1.jpg').html('test'); [/CODE] and it doesn't change. Probably because he thinks that .jpg is … | |
Hey all, I'm currently having a file I want to open using a program. The system does NOT have the file-extension associated with said program. However using the standard "let me choose what program to use" box when trying to open the file and selecting the program it runs just … | |
Hello! I'm trying to flip an image horizontally on the client side. Is it possible to rotate or change the orientation of an image by using JavaScript or CSS2? | |
I am trying to make a code for shuffling a deck of 52 cards no jokers. I have generated a deck and I plan on randomly inputing all the values into another array as my shuffling. How should I do that? [CODE]program game; var Deck : Array [1..4,1..13] of integer; … | |
I'm new to programing and any help would not only be appreciated but would probably help me pass this class. Exercise 1: Implement a Resistor Class Objective: Create a C++ console application that utilizes the core concepts of designing and creating classes, objects, properties and methods. Overview: Create and test … | |
I want to create program that would check if the mobile phone is registered by using IMEI in a mobile phone? How to get the IMEI number using J2me. Could someone show me the right code in doing this..thnks in advance... | |
I'm getting errors, and I'm not sure why. Any help would be appreciated. I'm working on this program and when I put the ActionListener for the comboBox it blows up. I chose a topic from the comboBox that will pick a file to be read. When I comment out lines … | |
I want to ask how to combine two text file and read in the rich text box..? [CODE] String rd = ""; private void CLICK2_Click(object sender, EventArgs e) { string file1 = @"C:\Users\Fish\Desktop\fyp-coding\sample1.txt"; string file2 = @"C:\Users\Fish\Desktop\fyp-coding\sample2.txt"; FileStream fs1 = null; FileStream fs2 = null; try { fs1 = File.Open(file1, … | |
hey i've created a counting mechanism project............in the attached project there is two labels label1 & label2.........on pressing the numberpad1 and numberpad3 keys, the count increments and decrements simultaneously which is been displayed in the corresponding labels (see the attached project)........ can anyone tell me an another method to do … | |
I have an interface built in javafx but it currently does nothing it just looks nice. How do you download files from the web in javafx or java? How do you create files on the users system in java or javafx? How do you place downloaded files in the created … | |
I am having a hard time deciding whether to use pointers or not in my nested data structures. Memory and CPU efficiencies are important as I am dealing with data files of sizes on the order of gigabytes. I have decided to use several classes that are nested in a … | |
First of all, what is a "data source", the kind that can be attached to a "DataGridView", what are they used for, and how can I use one? | |
My question is based on class relationships. I've written code for 2 classes, one of the "public int..." bits in 1 class has a variable which holds the cost of something. In the other class a variable holds the weight of something. I want to multiply the weight with the … | |
Hello, I'm pretty new to php and i am trying to get the code below to work but i get the following error: [CODE]Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\Program Files (x86)\EasyPHP-5.3.5.0\www\Aution\itemdetails.php on line 14[/CODE] The code is: [CODE] <?php session_start(); include('config.php'); include('functions.php'); $db = … | |
I have a vector of strings. Each vector element/string is a name, like: Mother_Hen. I want to remove the _ and replace it with a space. Does anyone know how to do this? I have tried using find, but have had no success (I get no result). Thank you for … | |
hello every body i want to know how to save a linked list int a text file and how to load a file in a linked list ?? any one can help me and give me a simple example code thanks in advance | |
The question is in the title. Rather then making a call to the OS, is there a more efficient way to do this? Thanks Edit: Just though of something else to. Does Sleep(2000); make a call to the OS as well? If so is there another way to do this … | |
Hi, I want to insert a jquery crousel in my website.The images shown will be fetched from the database.If a user clicks on the next arrow to view the image and it is not displayed for a while ,I want a loader to be shown in the meanwhile does anybody … | |
I need a little help please,here is my question: How can I get the current index in a jComboBox? I searched it on google and i cant seem to find any answer. I need to get the index of the item that I select from a Combobox. Please help | |
My code compiles successfully but doesn't run why?? What problem whatsoever is with the syntax????? [CODE]import java.util.Scanner; public class uppercase{ public static void main(String args){ Scanner in=new Scanner(System.in); System.out.println("Enter string:"); String str=in.nextLine(); for(int i=0;i<str.length();i++) {if(i!=str.length()-1&&str.charAt(i+1)>='a'&&str.charAt(i+1)<='z'&&str.charAt(i)==' ') { str = Character.toUpperCase(str.charAt(i)) + str.substring(i+1); } } if(str.charAt(0)>='a'&&str.charAt(0)<='z') str = Character.toUpperCase(str.charAt(0)) + str.substring(1); … | |
Guys how do I save settings of a form like its background color, fonstyle, sontsize etc. I cannot save them as string or text into my access database. | |
Hi, I want to be able to sort a multidimensional array using its second dimension to sort the first. It is a list of sporting teams with points stored like this: [CODE]$teams[$teamnumber]['points'] $teams[$teamnumber]['players'] $teams[$teamnumber]['name'][/CODE] These teams are to be shown in a league table which is why they needed to … | |
Hey all, I am trying to make a form that is blank and will add in 2 comboboxes, a textbox, 2 buttons and a checkbox next to each other in a row. I want the controls to be part of an array, so that all controls on a row are … | |
Is there any way this script check can be bypassed? :) its basically comes up like this: [IMG]http://i538.photobucket.com/albums/ff348/95Lokey95/versus-1.png[/IMG] random letters/numbers, would be greatly appreciated! i could also photoshop a forum sig for any helper :) as i am quite good in it. ![]() | |
i have just installed VB2008 EXPRESS EDITION. i have added com component msflexgrid ,Getting error with this component An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) how to resolve this. | |
Hi Guys, what i want in php may be a simple thing for all you expert people :-), but i am stuck in this problem. what I want is , to search for a word in the strings which starts from character "@". For example string is : "hey people, … | |
i have a problem with array i have 2 table please check attachment [code=php]$sqlQuery=mysql_query("select * from tbl_page_detail where page_name='Home'"); $sqlArr=mysql_fetch_array($sqlQuery); $arr = explode(",", $sqlArr['page_cat']); $arrsize=count($arr); $arrsizefloat=ceil($arrsize/2); for($i=1;$i<=$arrsizefloat;$i++){?> <? for($f=1;$f<=$arrsize;$f++){ if($f%2){ echo $val=$f-$i; $yahoo[]=$val; } else { $yahoon[]=$val;} } $comma_separated = implode(",", $yahoo); }[/code] i want to fetch category name from … ![]() | |
hi i am answer this question , but i didnt know what the errore with cast represent uppercase letters, lowercase letters and a considerable variety of special symbols. C++ uses small integers internally to represent each different character. The set of characters a computer uses and the corresponding integer representations … | |
Hello friends, now I will show you how to make a simple anti spam protection (without using captcha) who is very effective. The original idea (for educational purposes) is taken from here: [URL="http://delicon.mk/blog/kontakt-formular-koj-ne-saka-spam-botovi/"]Part 1[/URL] [URL="http://delicon.mk/blog/kontakt-formular-koj-ne-saka-spam-botovi-2/"]Part 2[/URL] Sorry about the links and macedonian language, but I respect my friend and I … ![]() | |
the code is very simple and all it does is get the ip of a member or guest and logs it in a text file. if the log.html doesn't exist it will auto create one for you, as long as the path is correct. Also make sure you set proper … ![]() | |
Hello, I recently took up a challenge to make a full screen pong game in java. So far it is full screen, it does the basics (bouncing off floor/roof/paddles) with a minor point system. I also added support for every 20 seconds it speeds up the ball by 1pixel per … | |
I have this line of code in my program which works fine except that the memory utilization is high I need to convert all parts to dynamic allocation but i have error at this line strcpy_s(p,sizeof(p), line.c_str()); [CODE][/CODE] the original code is : [CODE] ifstream inFile1, inFile2; string pattern,text,line; cout<<"Enter … | |
I am having some trouble. I have a Linux Server hosting 5.1 MySql. The Windows clients are running a POS Program written in C# using the .Net Connector. The Problem is that the initial connection takes around 12 Seconds which is not a big problem, but when you let it … | |
Hey Guys, I am developing an APP using WxWidgets and some other cross platform frameworks. Then there is a new need into the project to use Bluetooth as a transmitter of Data between 2 devices. I have been using the Mingw compiler all along for developing my app and suddenly … | |
hello all i want to use shortcut keys ro call different functions in my window application... i have called functions on form_keypress and form_keydown... at the same time i m using a textbox and i want to limit user to enter only numeric data in the textbox but the problem … | |
Hi every body i made news page in my Dreamweaver project and i added the date and time by this code [CODE][/CODE]$time=(date("l dS \of F Y h:i:s A") . "<br />");[ICODE][/ICODE] it is work correctly but, i wanna post it into other page some things like showing added news and … | |
i am trying to generate a tree view from database, but i after 10 days, i could not fine any way, how to populate, i have tried alot... please help me... i have 2 tables of database.. i contains the parent nodes, and other contain the child node.. e.g [CODE]first … | |
Guys ,i got this code in my project ,but i didnt understand most of it ,if any body can understand then please add comments in it to understand. [CODE] Private Sub cmdclose_Click() Unload Me Unload recoform frmmain.Show frmmain.Image1.Picture = LoadPicture(imagefile) frmmain.cmdont.Enabled = True frmmain.cmdpre.Enabled = True frmmain.cmdrecognize.Enabled = True End … |
The End.