• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

creating a label

i would like to know how i can display ( inside the label.caption )the result of a calculation ( ex. 4*6) . Please give me detailed info because i am beginner of VB5 and i need this info just for trainning .please send me also the code ( i think it is only 4-5 lines )and any other changes i have to do regarding properties
thank's  Dimitris Vassilakopoulos   e-mail     dimitris@neusis.gr
0
vassilakopoulos
Asked:
vassilakopoulos
  • 3
1 Solution
 
vassilakopoulosAuthor Commented:
Edited text of question
0
 
jpcsCommented:
The answer is as simple as this :

label1.caption = 4*6

0
 
vassilakopoulosAuthor Commented:
please note that i would like to declare the numbers 4 and 6 as integer .
0
 
vassilakopoulosAuthor Commented:
please note that i would like to declare the numbers 4 and 6 as integer
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now