CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    20

    [RESOLVED] Can i download Ads from Web Page

    Hello Everyone !!!
    Hope all of you are fine and OK
    Guys !!
    in C#
    i want to download and save all Ads & banners from a any webpage
    Like if i open www.yahoo.com
    i would save all Jpeg Files, Gif files and Swf file on that page to local hard disk

    is there anyway ??
    Thanks in advance

  2. #2
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104

    Re: Can i download Ads from Web Page

    In IE, click File.. Save As..

    In C#, its no harder: you must download the page HTML, scan it for URLs, extract them and download them. Easy peasy :/
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

  3. #3
    Join Date
    Jan 2009
    Posts
    20

    Re: Can i download Ads from Web Page

    Thanks alots !!!
    But actually i asked the question in wrong way !!
    Basically i wanted to download Ads from a specified Url in C# windows application
    i have found out the solution
    Once again thank you so much for such a quick reply
    Heartiest wishes from the core of Heart Bye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured