Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 19th, 2007, 06:56 AM
Registered User
 
Join Date: Dec 2007
Location: Kuwait, Kuwait, Kuwait.
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)
Reply With Quote
  #2 (permalink)  
Old December 19th, 2007, 07:03 AM
Registered User
 
Join Date: Dec 2007
Location: Kuwait, Kuwait, Kuwait.
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)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:26 AM.


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