473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Get URL Content In A windows service

Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx

Jul 23 '05 #1
2 2790

"Mohannad" <Mo**************@gmail.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx


This is platform specific, but maybe libwww has some platform wrappers.
http://www.w3.org/Library/

Jesper Madsen
Jul 23 '05 #2
Check WinInet and WinHTTP APIs provided by Microsoft. I don't remember
exactly which, but one of them can not be used from under services,
while the other was exactly created to be used from within the services.

http://msdn.microsoft.com/library/de...start_page.asp

Check also this article on its usage:
http://www.codeproject.com/internet/webcrawler.asp

Dundas Ultimate TCP/IP Library as far as I remember has something for
HTTP too, but that's not for free I think.

Yuriy

Mohannad wrote:
Hi All..

I need to Get URL Content from web then Parse it to be stored in a
local database through C++ Windows service.

the question is how to get URL Content from the web? and how I could
know if I download all page contents to start parsing?

plz answer me if u know the solution..

Thanx


Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

38
by: Emmett | last post by:
I have a simple jacascript that randomizes the background of the top frame of my webpage http://www.duke.edu/~efn. For some reason, my Internet Explorer started blocking the background and...
1
by: Dante | last post by:
I have developed a PHP web service that runs on a linux machine. I have also developed a windows forms client to the web service in C#. The only problem that I'm having is that the data that I...
0
by: daryl | last post by:
I have a situation where a webservice has worked fine in a development environment, but when placed into production has stopped working (although at one time it was). Using WSE 2.0/DIME, we...
3
by: Gaetan | last post by:
I have setup 2 servers (Windows 2003 Server SP1, latest hotfix) with IIS and .Net Framework 1.1 and 2.0. None of the 2 servers have default.aspx listed as a default content document even when there...
3
by: Chris Lincoln | last post by:
I am currently working on a company site and have run into a problem with the search aspect of the site. I am running .net 2.0 and iis 5.1. The issue is as follows: Indexing Service is properly...
13
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one...
3
by: Brad | last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and response.binarywrite to send content to the browser. This has worked great for years...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a VS 2008 ASP.NET webform that has a reportview tag on it, accessing an .RLDC report in local report. The columns for the report are essentially: Month Item #1 Item#2 Item#3 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.