Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Compiling Error


Jed
 Share

Recommended Posts

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 defined
and the thing that was highlighted was: FileExists

Method or data member not found
and the thing that was highlighted was: .Check1

If 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

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 If
End Sub

and 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

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 found

now 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

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 = True
End Sub

it 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...