CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    5

    how to get contents of text box into Message box



    hi,


    there is form desighned with text box for employee name and some controls ..and there is certain condition ,,what i need is the contents of text Box should be displayed in the message box

    for example

    contents of text box = vivek

    on ceratin conditions ......

    contents of Message box should be vivek is not eligible


    what ever name entered into the text box ...msg box should have the same name


    Could someone solve my problem

    regards

    Basavaraj



  2. #2
    Join Date
    May 1999
    Posts
    45

    Re: how to get contents of text box into Message box



    Msgbox Text1.text should work .

    If you want vivek in caption try Msgbox YurMsg,,text1.text




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

Featured