Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8355543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:53:41+00:00 2026-06-09T09:53:41+00:00

I was wondering if anyone could explain why when I use the following code

  • 0

I was wondering if anyone could explain why when I use the following code I get different results. For further explaination, I’m using a dll that was created in C#, it’s an rcon framework. The richtextbox displays 3 lines then will not display anymore whereas my debug console continues to get data from my rcon connection.

I’m using:

Private Shared Sub HandleMessage(args As BattlEyeMessageEventArgs)
    Debug.WriteLine(args.Message)
    Form1.RichTextBox3.AppendText(args.Message & vbNewLine)
    Form1.RichTextBox3.SelectionStart = Form1.RichTextBox3.TextLength
    If args.Message = "Connected!" Then
        Form1.Button3.Enabled = True
    End If
End Sub

If it helps, here’s the C# code for the EventHandler:

using System;

namespace BattleNET
{
    public delegate void BattlEyeMessageEventHandler(BattlEyeMessageEventArgs args);

    public class BattlEyeMessageEventArgs : EventArgs
{
    public BattlEyeMessageEventArgs(string message)
    {
        Message = message;
    }

    public string Message { get; private set; }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:53:43+00:00Added an answer on June 9, 2026 at 9:53 am
    private delegate void UpdateRichTextBox3Delegate(RichTextBox3 textBox, string text);
    private void UpdateRichTextBox3(RichTextBox3 textBox, string text){
        if(textBox.InvokeRequired){
            textBox.Invoke(new UpdateRichTextBox3Delegate(UpdateRichTextBox3),new object[]{textBox, text});
            return;
        }
        textBox.AppendText(String.format("{0}{1}", text,Environment.NewLine));
    }
    

    Check if RichTextBox3 doesn’t require to be invoked first before updating it.

    call UpdateRichTextBox3(Form1.RichTextBox3, "some text to append");

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was just wondering if anyone could explain to me why the following lines
I was wondering if anyone could explain what this rule is saying: <IfModule mod_rewrite.c>
I'm wondering if anyone could weigh in on pros and cons of different spelling
I was wondering if anyone could explain the syntax, or has found a good
I was just wondering if anyone could explain to me how a price comparison
I was wondering if anyone could explain this to me: <%@ Page Title=Log In
I am wondering if anyone could show, or explain with examples, how facebook checks
was wondering if anyone could help me improve my code. Its just some basic
I was wondering if anyone could help me with getting this working. I'm using
Im wondering if anyone could help me with annotations im using in my MShart

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.