I would like to make my own IRC client, but can only do it with Visual basic 6. Where should I go to figure out how to communicate with an IRC server?
Good luck using the RFC site, I had to use this for doing http uploading, but the documentation on this site was awful
I used the IRC RFC to create a simple VB6 program to connect to an IRC server, join a channel and send commands. I didn't get further than that but it wasn't hard to do. I agree with you TheAnimus in that you shouldn't just download a premade program because learning from that will take 10 times longer than learning from scratch. But I disagree (once again) that VB will make it a pain. An IRC client requires lots of string parsing and VB is perhaps the second best language I've used to do this. PHP is probably the best but it would be silly to make an IRC client in PHP.
String parsing in VB is only beeten by: Perl C#.NET VB.NET J#.NET Python (and Python.NET) PHP MASM32 (with strings macro lib) C++ (with strings lib) C__ (you can have delimiters etc) erm, pretty much any language i've ever come accross. but thats besides the point. The reason this will be hell in VB6, is that theres no native support for a v2 RichEdit, so you can implement all the colouring easily (the background colour on the text). Its not a good OO lang, so you can't easily make a "channel" class that handles that channel, so to support another channel you just add a new channel, same goes with servers. WinSock support is a bit naff too. I actually made a simple one channel IRC client in VB before for kicks, so this isn't religous predudice. .NET would be a much better language for this.
http://www.irchelp.org/irchelp/rfc/ There are another 4 RFC's (2810, 2811, 2812, 2813) which may prove useful to you - they're updates for the original RFC.
I guess I need help with sending and recieving info from the net before I get to the IRC part, does VB6 have any commands or anything for sending/recieving info online?
Socks!! In VB6 you can add the winsocks control to your project from "Project/Components..." selecting Microsoft Winsock Control 6.0. In www.freevbcode.com you can get very cool examples to know how to use it, if this is the first time you are going to use winsocks, check this example Hope that helps...
Im trying to use winsocks, but I get this error everytime "License information for this component not found. You do not have an appropriate license to use this functionality in the design environment." I looked up the problem and download what was suposed to be the fix from microsoft, but it didn't fix it.
could be a security rights issue, you running as admin? check your active-x rules. if you can afford it, get a copy of VB.NET its not as nice as C# in many ways, but its good none the less.
Try running this from the Run box: regsvr32 MSWINSCK.OCX Then add it to you project by going to Components and finding the Microsoft Winsock Control 6.0. Then read the Winsock Control tutorials on this site: http://www.vbip.com/winsock/index.asp
thanks, the link to the info on winsock was almost exactly what I need, however I still have the same problem when I try to add it to a form. Do you think reinstalling vb6 would fix it?
You could try reinstalling but that doesn't usually fix it. You've tried using revsrv32 to register the ocx right? And you've tried this program from MS which usually fixes the problem right? http://support.microsoft.com/kb/q194751/ If those two things don't work then try reinstalling VB. Otherwise I don't know what you can do.