Wrox Programmer Forums
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 19th, 2007, 06:56 AM
Registered User
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Programmer911
Default Spaces XP

I'm making a basic program that gathers information and displays it as a message, however i put in 3 text boxes that the program needs to run and on the display box (messagebox.show)there are no space in between im giving you the "private sub"for my "OK" cmd:

Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
        'display a message box greeting the user
        MessageBox.Show("hello," & txtName.Text & _
         "You are," & txtAge.Text & txtGender.Text & _
         "!welcome to Visual Basic.NET.", _
         "ProfileUser Message")
    End Sub


when i run it this is what it what it says (couldn't get the scrn prnt):


"hello,mikeYou are,14Male!"

.

as you can see it doesn't show spaces between the "mike"& "You are", and "14" & "Male"!

plzzz anyone who know the code for space plz show me how
, im dying:(


B),Ö AMAN Ö,B)
 
Old December 19th, 2007, 07:03 AM
Registered User
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Programmer911
Default

there are no space in between im giving you the "private sub"for my "OK" cmd

just in case no one gets confused, a "," should be here:

there are no space in between, im giving you the "private sub"for my "OK" cmd:

B) AMAN B)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Diference between these two name spaces pradeepn XSLT 1 June 25th, 2007 02:31 AM
Removing spaces Dave Brown Beginning PHP 2 October 28th, 2005 12:02 PM
Frame Spaces EvilGuyWhoEatsBrains HTML Code Clinic 2 January 5th, 2005 12:24 PM
spaces problem mateenmohd SQL Server 2000 8 August 11th, 2003 06:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.