Re: Vb and NewsGroups

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mike D Sutton (EDais_at_mvps.org)
Date: 07/28/04


Date: Wed, 28 Jul 2004 21:15:28 +0100


> We can connect to newsgroups in Delphi with IndyNNTP. But i can't in VB. How
> I can do that? Must i use Winsock? If so how? I want to connect to news
> server with vb, but I can't. Please help.

What you could do is to create a DLL in Delphi that encapsulates the Indy component's functionality (make sure you export functions
as stdcall) and call that from VB, otherwise you'll have to dig into the Winsock API (www.vbip.com would be a good place to start)
and NNTP protocol or have a hunt round for a third party control that does this for you.
Hope this helps,

    Mike

 - Microsoft Visual Basic MVP -
E-Mail: EDais@mvps.org
WWW: http://www.mvps.org/EDais/



Relevant Pages

  • Re: Vb and NewsGroups
    ... > We can connect to newsgroups in Delphi with IndyNNTP. ... Must i use Winsock? ... What you could do is to create a DLL in Delphi that encapsulates the Indy component's functionality (make sure you export functions ...
    (microsoft.public.vb.winapi.networks)
  • Re: Vb and NewsGroups
    ... > We can connect to newsgroups in Delphi with IndyNNTP. ... Must i use Winsock? ... What you could do is to create a DLL in Delphi that encapsulates the Indy component's functionality (make sure you export functions ...
    (microsoft.public.vb.controls.internet)
  • Vb and NewsGroups
    ... We can connect to newsgroups in Delphi with IndyNNTP. ... Must i use Winsock? ...
    (microsoft.public.vb.winapi)
  • Vb and NewsGroups
    ... We can connect to newsgroups in Delphi with IndyNNTP. ... Must i use Winsock? ...
    (microsoft.public.vb.controls.internet)
  • Vb and NewsGroups
    ... We can connect to newsgroups in Delphi with IndyNNTP. ... Must i use Winsock? ...
    (microsoft.public.vb.winapi.networks)