Click here for AnswerPool.com Home page


Google

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Computer Resources    visio basic

Moderators: Dwight
Go
Post
Find
Notify
Tools
Reply
  
  Login/Join 
Posted
What is the code for Input length and width of a square/rectangle and calculate area
 
Posts: 5 | Location: Lewis Run, Pa. US | Registered: 11-14-03Reply With QuoteEdit or Delete MessageReport This Post
Diamond Enthusiast

Posted Hide Post
Wildflower, I will assume it is VB 6.0 that you want. First I am assuming that you will use 2 text boxes for data input. I am showing output to a picture box but you can print your output to a picture box, a label, printer etc, up to you.


numWidth = Val(Text1.text)
numLength = Val(Text2.text)
numArea = numLength * numWidth
Picture1.Print numArea


Any other questions let me know.

[This message was edited by Kwll on 11-14-03 at 01:57 PM.]
 
Posts: 5121 | Location: Native Floridian misplanted | Registered: 06-08-02Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
kwll

Thank-you very much. That is what I was looking for. I am just learning to do visio and I don't have a clue how to do it.


Wildflower
 
Posts: 5 | Location: Lewis Run, Pa. US | Registered: 11-14-03Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

    AnswerPool.com  Hop To Forum Categories  Computers  Hop To Forums  Computer Resources    visio basic

© 2002-2008 AnswerPool.com



Visit DiscussionPool.com!