Solved

creating a label

Posted on 1998-07-18
4
222 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

831 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