Results 1 to 3 of 3

Thread: [2005] Change MessageBox Text

  1. #1

    Thread Starter
    Frenzied Member SeanK's Avatar
    Join Date
    May 2002
    Location
    Boston MA
    Posts
    1,160

    [2005] Change MessageBox Text

    noob here....this is my very first VB.NET program.

    What does it do? It displays a message box.

    It worked.

    I went to change the message and got an error?????????

    Here is my extremely complex code
    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            MessageBox.Show("My first message box. ")
    
        End Sub
    End Class
    When I try to backspace or remove the text and replace it for something else, a little blue bar appears at the bottom of the screen and says:

    "Cannot currently modify this text in the editor. It is read-only."

    What the heck? Why can't I modify it in the editor?
    Beantown Boy
    Please use [highlight=vb]your code goes in here[/highlight] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.

  2. #2
    Frenzied Member Zakary's Avatar
    Join Date
    Mar 2005
    Location
    Canada, Quebec, Montreal
    Posts
    1,654

    Re: [2005] Change MessageBox Text

    Maybe your program is still running ?
    Using VS 2010 on Fw4.0

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [2005] Change MessageBox Text

    Quote Originally Posted by Zakary
    Maybe your program is still running ?
    That is the one and only way that I know of that would prevent editing any type of programming code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width