RSS Forums RSS

anyone know how to append in integer

Please support our VB.NET advertiser: DiscountASP.NET – 3 Months Free on VB.NET Web Hosting
Reply
Posts: 62
Reputation: lich has a little shameless behaviour in the past 
Solved Threads: 4
lich lich is offline Offline
Junior Poster in Training

anyone know how to append in integer

  #1  
Nov 30th, 2008
hey

im trying to implement a calculator.

i need to append values to label. like when i hit 1 button label should show 1 and when i hit 2 button it should show 12.. not just 2


can anyone help me out
AddThis Social Bookmark Button
Reply With Quote  
Posts: 461
Reputation: waynespangler is on a distinguished road 
Solved Threads: 56
waynespangler waynespangler is offline Offline
Posting Pro in Training

Re: anyone know how to append in integer

  #2  
Nov 30th, 2008
try this
        If e.KeyCode >= 48 And e.KeyCode <= 57 Then
            Label1.Text &= Chr(e.KeyValue.ToString)
        End If
Wayne

It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Views: 368 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:43 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC