Solved

creating a label

Posted on 1998-07-18
4
240 Views
Last Modified: 2010-05-03
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
Comment
Question by:vassilakopoulos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:vassilakopoulos
ID: 1466167
Edited text of question
0
 
LVL 1

Accepted Solution

by:
jpcs earned 50 total points
ID: 1466168
The answer is as simple as this :

label1.caption = 4*6

0
 

Author Comment

by:vassilakopoulos
ID: 1466169
please note that i would like to declare the numbers 4 and 6 as integer .
0
 

Author Comment

by:vassilakopoulos
ID: 1466170
please note that i would like to declare the numbers 4 and 6 as integer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question