Jed Posted February 8, 2009 Author Share Posted February 8, 2009 I am trying to do a full compile for the changes that I made, and I get a couple of errors:Sub or Function not definedand the thing that was highlighted was: FileExistsMethod or data member not foundand the thing that was highlighted was: .Check1If any of you mind helping me with this? I in fact just started working with the source. No one told me it was so hard! Link to comment Share on other sites More sharing options...
Rithy58 Posted February 12, 2009 Share Posted February 12, 2009 Need more detail. Can you paste the sub of the FilesExists and Check1?Sincerely,Rithy Link to comment Share on other sites More sharing options...
Jed Posted February 18, 2009 Author Share Posted February 18, 2009 ok, here is the full code for when i get the errors:Private Sub Check1_Click() If **Check1**.Value = 0 Then Check2.Value = 0 End IfEnd Suband for the other:in fact, i think the other errors went away, because the error was changed to "**Variable Not Defined**" Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2009 Share Posted February 18, 2009 I'm guessing Check1 and Check2 are check box controls? Check the name of the actual control elements. They must match… Link to comment Share on other sites More sharing options...
Jed Posted February 18, 2009 Author Share Posted February 18, 2009 where can i find the control elements at? Link to comment Share on other sites More sharing options...
Jed Posted February 18, 2009 Author Share Posted February 18, 2009 ok, nevermind, i found the problem, i deleted the auto login checkbox and thats what the error was. now i am getting what i think has something to do with the IP config because i got this error again:Method or Data Member not foundnow here's the problem:Sub TcpInit() SEP_CHAR = Chr$(0) END_CHAR = Chr$(237) PlayerBuffer = vbNullString frmMirage**.Socket**.RemoteHost = ReadINI("IPCONFIG", "IP", App.Path & "\config.ini") frmMirage.Socket.RemotePort = CLng(ReadINI("IPCONFIG", "PORT", App.Path & "\config.ini"))End Sub Link to comment Share on other sites More sharing options...
Guest Posted February 18, 2009 Share Posted February 18, 2009 Did you change the name of frmMirage or remove any source? Link to comment Share on other sites More sharing options...
Jed Posted February 19, 2009 Author Share Posted February 19, 2009 i dont recall deleting any menus or changing any of the frms. but im thinking it has something to do with either IP config or frmMirage. Link to comment Share on other sites More sharing options...
Tyr Posted February 19, 2009 Share Posted February 19, 2009 The error means that vb6.0 can't find the socket on the frmMirage form.you must have removed or renamed it by accident…Try standing on frmmirage and then search for the object "Socket" Link to comment Share on other sites More sharing options...
Jed Posted February 22, 2009 Author Share Posted February 22, 2009 ok, i found out what was wrong, i deleted the Ipconfig button on the main menu, so i deleted the script that went with that because i didnt want anyone changing the IP. now, i have a error that says this:Procedure declaration does not match description of event or procedure having the same name**Private Sub picLogin_Click**() If LenB(frmLogin.txtPassword.Text) <> 0 Then frmLogin.Check1.Value = Checked Else frmLogin.Check1.Value = Unchecked End If Me.Visible = False frmLogin.Visible = TrueEnd Subit has something to do with the Login button on the frmMainMenu.frm, but i just dont know what. someone please help? Link to comment Share on other sites More sharing options...
Tyr Posted February 22, 2009 Share Posted February 22, 2009 its probably an error with the check, what does it do and why do you need it? Link to comment Share on other sites More sharing options...
Jed Posted February 22, 2009 Author Share Posted February 22, 2009 i need it to make the .exe file. and no, the check problem is fixed. it has something to do with the Login button on the Main Menu. Link to comment Share on other sites More sharing options...
Akselj Posted February 23, 2009 Share Posted February 23, 2009 Are you sure the button is called picLogin? Link to comment Share on other sites More sharing options...
Jed Posted February 23, 2009 Author Share Posted February 23, 2009 yes, it is called picLogin. Link to comment Share on other sites More sharing options...
cheatking Posted February 23, 2009 Share Posted February 23, 2009 Try commenting out these lines: If LenB(frmLogin.txtPassword.Text) <> 0 Then frmLogin.Check1.Value = Checked Else frmLogin.Check1.Value = Unchecked End IfIf it works its something wrong with the check1 thing Link to comment Share on other sites More sharing options...
Jed Posted February 23, 2009 Author Share Posted February 23, 2009 what do you mean by commenting out those lines? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now