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

A VB6 Compile Error


escfoe2
 Share

Recommended Posts

Explaining the problem is the easy part, fixing well…  That might be harder, then again, I don't know!  My problem is I'm using VB6 and Eclipse Stable...  I just wanted to see if it would work so I tried to make client.exe and I got an error I don't know how to fix!  Heres what happened:
![](http://s866.photobucket.com/albums/ab229/escfoe2/My%20Scripting%20Pics/?action-view¤t=EclipseStableVB6CompileError1.jpg)
![](http://s866.photobucket.com/albums/ab229/escfoe2/My%20Scripting%20Pics/?action-view¤t=EclipseStableVB6CompileError2.jpg)
![](http://s866.photobucket.com/albums/ab229/escfoe2/My%20Scripting%20Pics/?action-view¤t=EclipseStableVB6CompileError3.jpg)

And Then The error!
![](http://s866.photobucket.com/albums/ab229/escfoe2/My%20Scripting%20Pics/?action-view¤t=EclipseStableVB6CompileError4.jpg)

And help will be greatly appreciated thank you!

EDIT:  Well since the pictures aren't working I'll explain it until they're fixed..
I clicked File>Make client.exe and then save and then overwrite the old one.  I then got a message box that said - Compile Error:  Method or data member not found (OK / HELP buttons) and it highlighted some code.

Sub TcpInit()
    SEP_CHAR = Chr$(0)
    END_CHAR = Chr$(237)

    PlayerBuffer = vbNullString

    frmStable".Socket".RemoteHost = ReadINI("IPCONFIG", "IP", App.Path & "\Config.ini")
    frmStable.Socket.RemotePort = CLng(ReadINI("IPCONFIG", "PORT", App.Path & "\Config.ini"))
End Sub

It highlighted the first ".Socket"  and the period before it you see there.  I put it in quotation marks!
I really don't know whats causing the problem….  It won't let me debug it either..  Once again, any help will be greatly appreciated!
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...