VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: confusion with System.dll and mscorlib.dll Posted by kainsworth on 28 Jul 2004 at 1:56 PM
Re your Q2, the variable i remains as an Integer type, even though you have concatenated it into your messagebox string.

You can test this by inserting a breakpoint immediately after the messagebox code line and checking the Locals Window from the Debug menu.
You will see that it still appears as an integer with a value of 7.

If you want to create a string to hold message numbers, (perhaps because you want to compare this string against another one, you can do something like this:
 Dim msgnumber As String = CStr("message" & i)
 If msgnumber = "message7" Then
    '  some code here
 End If



Thread Tree
Japher confusion with System.dll and mscorlib.dll on 27 Jul 2004 at 9:21 AM
iwilld0it Re: confusion with System.dll and mscorlib.dll on 28 Jul 2004 at 7:17 AM
kainsworth Re: confusion with System.dll and mscorlib.dll on 28 Jul 2004 at 1:56 PM
ItsMeRanganath Re: confusion with System.dll and mscorlib.dll on 17 Jan 2013 at 9:33 PM
ItsMeRanganath Re: confusion with System.dll and mscorlib.dll on 17 Jan 2013 at 9:35 PM
ItsMeRanganath Re: confusion with System.dll and mscorlib.dll on 17 Jan 2013 at 9:38 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.