199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for antikceo

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

Member Avatar for tinymark
0
89
Member Avatar for TySkby

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

Member Avatar for TySkby
0
253
Member Avatar for funkyash34

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

Member Avatar for tinymark
0
750
Member Avatar for raymonddenis

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

Member Avatar for tinymark
0
156
Member Avatar for Monster Killer

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 …

Member Avatar for Monster Killer
0
234
Member Avatar for Mitchell VB 6

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 …

Member Avatar for debasisdas
0
83
Member Avatar for poloblue

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

Member Avatar for poloblue
0
159
Member Avatar for Buppy

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

Member Avatar for tinymark
0
106
Member Avatar for bluerdanblue08

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

Member Avatar for debasisdas
0
401
Member Avatar for robertmacedonia

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

Member Avatar for robertmacedonia
0
90
Member Avatar for highflyer8

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 …

Member Avatar for thelamb
0
151
Member Avatar for kevin88

Hello Can someone please help me with getting a better understanding of dependency theory using Armstrong's Axioms? Thank you

Member Avatar for kevin88
0
146
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
117
Member Avatar for Planetdune

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 …

Member Avatar for dlhale
0
151
Member Avatar for aPPmaSTer

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?

Member Avatar for tinymark
0
203
Member Avatar for wiredtoawall

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

Member Avatar for dlhale
0
395
Member Avatar for sarge66

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 …

Member Avatar for pseudorandom21
0
936
Member Avatar for lsvife

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

Member Avatar for peter_budo
0
94
Member Avatar for MWE_QUE

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 …

Member Avatar for MWE_QUE
0
145
Member Avatar for Kath_Fish

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

Member Avatar for agugglez
0
267
Member Avatar for Jessurider

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 …

Member Avatar for agugglez
0
170
Member Avatar for DarkLightning7

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 …

Member Avatar for DarkLightning7
0
286
Member Avatar for rwarlord

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 …

Member Avatar for rwarlord
0
408
Member Avatar for pseudorandom21

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?

Member Avatar for Momerath
0
329
Member Avatar for asif49

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 …

Member Avatar for DarkLightning7
0
91
Member Avatar for black_berry

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

Member Avatar for tinymark
0
120
Member Avatar for Annettest

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 …

Member Avatar for srivairam
0
165
Member Avatar for sara90

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

Member Avatar for template<>
0
121
Member Avatar for clutchkiller

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 …

Member Avatar for Narue
0
2K
Member Avatar for saadi06

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 …

Member Avatar for tinymark
0
60
Member Avatar for forhacksf

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

Member Avatar for JamesCherrill
0
253
Member Avatar for anumash

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

Member Avatar for sam.udo
0
151
Member Avatar for markdean.expres

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.

Member Avatar for PdotWang
0
196
Member Avatar for mcatominey

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 …

Member Avatar for mcatominey
0
167
Member Avatar for Wolxhound90

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 …

Member Avatar for PdotWang
0
192
Member Avatar for NeeedYourHelppp

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.

Member Avatar for TechySafi
0
76
Member Avatar for PM312

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.

0
52
Member Avatar for dalip_007

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

Member Avatar for RoyalElite96
0
166
Member Avatar for sanjaypandit

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 …

Member Avatar for diafol
0
134
Member Avatar for programing

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 …

Member Avatar for programing
0
176
Member Avatar for Krstevski

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 …

Member Avatar for TechySafi
0
1K
Member Avatar for ApocDen

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 …

Member Avatar for TechySafi
0
1K
Member Avatar for turt2live

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 …

Member Avatar for turt2live
0
314
Member Avatar for ekailan

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 …

Member Avatar for Sky Diploma
0
165
Member Avatar for finito

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 …

Member Avatar for finito
0
204
Member Avatar for Sky Diploma

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 …

Member Avatar for jonsca
0
768
Member Avatar for abelLazm

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 …

Member Avatar for abelLazm
0
125
Member Avatar for dr.4030

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 …

Member Avatar for vibhaJ
0
104
Member Avatar for Jaseem Ahmed

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 …

Member Avatar for debasisdas
0
251
Member Avatar for Nimitmak

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 …

Member Avatar for Jx_Man
0
301

The End.