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

VB6 txtchat.txt error


avarthar
 Share

Recommended Posts

Hello, could you help me to fix this error?

> 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

I tried to install the vb6cli thing and it didn't worked
Link to comment
Share on other sites

Finally found the problem!

> Posted 22 October 2013 - 08:47 AM
>
> Got the same Problem.
>
> If i check Microsoft Common Controls (SP6) it tells me Object bla bla not registered >.<
>
> EDIT–--
>
> If you got an .text error on client side check the txtchat maybe its changed to an picturebox
>
> and add the richtext component ;-)
>
> Damn IE 10

Do anybody could help me to fix it?

I can't see the richtext thing…
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...