Solved

NewGroups

Posted on 1998-09-29
3
168 Views
Last Modified: 2013-11-13
How do I go about creating a news group reader.  I'm not looking for someone to write the program for me.  Just what controls do I use and how do I open a connection to the server and retrieve the message Headers and Bodies.
0
Comment
Question by:PCav
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
vignola earned 100 total points
ID: 1437263
mabry has a good and cheap control for newsreaders, news.ocx. I have long tried it and found very (perhaps too much) simple.
Anyway to open a connection after connecting a socket on port
21 send LIST CRLF command after server answers if 200 or 201 ok
to have the list of newsgroups. To request headers the command is NEWNEWS ALT.2600 940105 GMT TIME FORMAT (always terminated by crlf) (or XOVER groupname date as explained above). ARTICLE followed by article-id or article number (retrieved from the NEWNEWS answer to get articles.
0
 
LVL 2

Expert Comment

by:Jagar
ID: 1437264
Can you please show me some code sample.  For Example a procedure
ConnectToNews, and GetHeader and GetBody.

0
 
LVL 1

Expert Comment

by:vignola
ID: 1437265
you have to getfamiliar with winsock calls if you plan to
create your own interface. After connecting to socket with calls to winsock the code is exactly what i explained. i.e.
dim retval ass integer
' call to winsock
retval=myconnectprocedure
ifretval=connected then
command="Get etc."
'
send(command)
if you plan to use news or any other ocx the ocx does make the job for you.
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using Access 8 68
Macro: print each sheet to pdf using ExportAsFixedFormat 11 48
recursion example 16 126
Excel Automation VBA 19 70
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question