Solved

creating a label

Posted on 1998-07-18
4
215 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
Comment Utility
Edited text of question
0
 
LVL 1

Accepted Solution

by:
jpcs earned 50 total points
Comment Utility
The answer is as simple as this :

label1.caption = 4*6

0
 

Author Comment

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

Author Comment

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

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now