m0xin
May 7th, 2001, 04:57 PM
I have spent about one month writing a account creation process for my AIM replica. I finally got it working and after about a week of that, I did something (not sure what) and I started getting a error # '10049'. I have no idea why :confused: . And the weirdest thing is that it's on a .connect line. Below is the code for logging in:
gbNewUser = False
If sockUser.State <> sckClosed Then sockUser.Close
sockUser.RemoteHost = gbRHost
sockUser.RemotePort = gbRPort
sockUser.LocalPort = 0
sockUser.Connect
frmMain.stsStatus.Panels(1).Picture = frmMain.imlImages.ListImages(10).Picture
frmMain.stsStatus.Panels(1).Text = Connected
the gbNewUser = False line is so that the client realizes that it's just logging in, and not creating a new account. gbNewUser = True would mean a new account is being created. Then it checks for the connection state, sets the host and port, the .localport tag is not needed, just tried using that to fix it. sockUser.Connect is where the error comes in. I've set a break point on the line but nothing was found, except when I move on from there I get the error. I hope this is enough information for someone to help me... If it's not, just let me know and I can get you all the code you need to help. Thanks.
m0xin
gbNewUser = False
If sockUser.State <> sckClosed Then sockUser.Close
sockUser.RemoteHost = gbRHost
sockUser.RemotePort = gbRPort
sockUser.LocalPort = 0
sockUser.Connect
frmMain.stsStatus.Panels(1).Picture = frmMain.imlImages.ListImages(10).Picture
frmMain.stsStatus.Panels(1).Text = Connected
the gbNewUser = False line is so that the client realizes that it's just logging in, and not creating a new account. gbNewUser = True would mean a new account is being created. Then it checks for the connection state, sets the host and port, the .localport tag is not needed, just tried using that to fix it. sockUser.Connect is where the error comes in. I've set a break point on the line but nothing was found, except when I move on from there I get the error. I hope this is enough information for someone to help me... If it's not, just let me know and I can get you all the code you need to help. Thanks.
m0xin