creating a label

Posted on 1998-07-18
Medium Priority
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
Question by:vassilakopoulos
  • 3

Author Comment

ID: 1466167
Edited text of question

Accepted Solution

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

label1.caption = 4*6


Author Comment

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

Author Comment

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

624 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