Library tutorials & articles

A Real-Time VB6 ActiveX News Control

Introduction

This article was contributed by Mitchell Harper from devArticles.com. If you're after free programming eBooks you canclick here, or you can click here for daily developer news.

A while back, I wrote an article about MoreOver.com and their XML news sources (which are free for developers using them for non-profit purposes. For all other uses, you have to pay). Today, I want to take that idea one step further and create an ActiveX component that will use the MoreOver.com news feeds in a similar way. The component will use the XMLHTTP library and the MSXML parser to retrieve and process the news. This article will also act as a good introduction to ActiveX controls if you have never created one before.

To fully benefit from this article, you should have Visual Basic 6 installed on your machine, as well as the MSXML 4 library, which is available from this site.

Comments

  1. 10 Jul 2002 at 00:15

    Good example.


    This is the first time played with any xmlhttp feeds, and found the example whet my appetite for more!  The code was not quite complete, but if you are familiar with vb then you should be able to fill in the blanks.  Once you get it working, you will no doubt see the other possible uses of this technology.


    Keep it real.

  2. 17 Apr 2002 at 15:18

    I've went thru the listing a few times, and it is not working for me at all....


    Things I noticed, the For loop he uses has no Next statement


    I'm probably overlooking something ....any suggestions?


    And after the LoadNews returns a TRUE it has EXIT function, shouldn't that be end?


    Thanks!


    Edit = typos

  3. 13 Apr 2002 at 05:31

    hmmm... yes... it seems the author hasn't released the entire VB project for the control. The hand icon will in fact be in your VB installation directory (in something like Shared/Icons/ along with the icons/toolbar bitmaps etc).

  4. 12 Apr 2002 at 15:16

    I see the images for the article, but not any hand images.

  5. 12 Apr 2002 at 14:02

    don't you see any images on http://www.developerfusion.com/show/2273/2/ ? Try hitting refresh on your browser....

  6. 12 Apr 2002 at 12:44

    I went to the article again and found no images?

  7. 12 Apr 2002 at 11:50

    There was one crucial thing missing from the article.... the images I have now added them, which might make it a bit easier for future readers

  8. 11 Apr 2002 at 14:57

    This was a somwehat confusing but very cool article once you get it working. What was frustrating was that the article indicated there was support material, but I cannot find any anywhere. This just made me really read the article and work with the project until I had it working.


    Great topic and a useful tool to add to any non-profit individual.


    BTW, I wonder what it costs to use for $$ purposes?

  9. 01 Jan 1999 at 00:00

    This thread is for discussions of A Real-Time VB6 ActiveX News Control.

Leave a comment

Sign in or Join us (it's free).