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

Chat error


Jumbofile
 Share

Recommended Posts

When I try to run the game in vb6 it gives this error

Compile error: Method or data member not found. It says it on every eclipse engine.    (red part means highlighted)

Public Sub AddText(ByVal Msg As String, ByVal color As Integer)

Dim s As String

    ' If debug mode, handle error then exit out

    If Options.Debug = 1 Then On Error GoTo errorhandler

    s = vbNewLine & Msg

    frmMain.txtChat.SelStart = Len(frmMain.txtChat.**TEXT)**

    frmMain.txtChat.SelColor = QBColor(color)

    frmMain.txtChat.SelText = s

    frmMain.txtChat.SelStart = Len(frmMain.txtChat.text) - 1

    ' Error handler

    Exit Sub

errorhandler:

    HandleError "AddText", "modText", Err.Number, Err.Description, Err.Source, Err.HelpContext

    Err.Clear

    Exit Sub

End Sub
Link to comment
Share on other sites

Check out the source folder. If an error occurs when loading a project, a text file is created in the folder where the source file is. So if you get an error with frmMain then there will be a text file called frmMain.txt. Maybe that can help you.
Link to comment
Share on other sites

I found this.

frmmain

Line 867: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class.

frmeditor

Line 2967: Class MSComctlLib.TabStrip of control tabCommands was not a loaded control class.

Line 3047: Class MSComctlLib.TabStrip of control tabPages was not a loaded control class.
Link to comment
Share on other sites

  • 2 weeks later...

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...