Vb6 and winsock...

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Vb6 and winsock...

Post by jtst1 »

Well I finally started coding again, but wanted to start with something easy, and not to difficult. Work my way up. Well I made a vb6 winsock control chat that I thought I could use on other computers...Apparently the computers I was gonna chat on don't have mswinsck.ocx, and I can't install it. Is there an alternative to winsock that does the samething, but minus the .ocx dependencies, or atleast portable? Or is there a way I can make winsock work?
When One learns to Love, One must bear the risk of Hatred.
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Vb6 and winsock...

Post by K-Bal »

Are you limited to VB or can you write in C/C++/Java?
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: Vb6 and winsock...

Post by jtst1 »

I know a little c++ but probably not enough to do the samething, but I could try. Although I haven't worked with a graphics library yet.
When One learns to Love, One must bear the risk of Hatred.
User avatar
Kros
Chaos Rift Regular
Chaos Rift Regular
Posts: 136
Joined: Tue Feb 24, 2009 4:01 pm
Current Project: N/A
Favorite Gaming Platforms: PC, Playstation/2/3
Programming Language of Choice: C++
Location: Oregon,USA
Contact:

Re: Vb6 and winsock...

Post by Kros »

Why VB6 and not something a little bit more recent?
Isaac Asimov wrote:Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest.
YouTube Channel
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

Re: Vb6 and winsock...

Post by short »

My very first game in high school was with vb6.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Vb6 and winsock...

Post by K-Bal »

jtst1 wrote:I know a little c++ but probably not enough to do the samething, but I could try. Although I haven't worked with a graphics library yet.
If you want to make a GUI, you can try Qt. It has a simple network interface. SFML also has a very easy to use network library.
User avatar
Milch
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Sat Jul 11, 2009 5:55 am
Programming Language of Choice: C++
Location: Austria, Vienna

Re: Vb6 and winsock...

Post by Milch »

K-Bal wrote:
jtst1 wrote:I know a little c++ but probably not enough to do the samething, but I could try. Although I haven't worked with a graphics library yet.
If you want to make a GUI, you can try Qt. It has a simple network interface. SFML also has a very easy to use network library.
If you use SFML for network, download the 2.0 package and not the 1.6 package.
In 1.6 there is a serious design flaw, so you cant use selectors.
Follow me on twitter!
User avatar
jtst1
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 80
Joined: Tue Sep 30, 2008 4:32 pm
Location: Atlanta Georgia

Re: Vb6 and winsock...

Post by jtst1 »

Edit. I found a vb6 class module online that someone created to replace winsock. It has much the same syntax, and it doesn't have any dependencies, so I am going to try and convert my program to it, and see if it works. It's call Unisock, found it on http://www.vbforums.com/showthread.php?p=3799361 if anyone wants to check it out. Looks promising.
---Edit---
Nevermind it keeps crashing, and is buggy...Does QT have dependencies like .ocx's that have to be installed on every machine?
When One learns to Love, One must bear the risk of Hatred.
Post Reply