anyone know how to append in integer

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2008
Posts: 67
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

 
0
  #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
Reply With Quote Quick reply to this message  
Join Date: Dec 2002
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

 
0
  #2
Nov 30th, 2008
try this
  1. If e.KeyCode >= 48 And e.KeyCode <= 57 Then
  2. Label1.Text &= Chr(e.KeyValue.ToString)
  3. 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 Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC