Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1271
  • Last Modified:

Simple 2D Shape Drawing program

I want to trace around wooden 2D shapes less than 4" square using a graphic tablet. I want to write a VB program to record the shape. Then calculate its dimensions height, width, centre point, longest diagonal.
0
optidoc
Asked:
optidoc
  • 3
  • 2
1 Solution
 
TertioptusCommented:
So what is your specific problem?   And is there a picture that your tracing on.
0
 
Michael_DCommented:
I suggest starting from here  http://www.greenreaper.co.uk/#VBTablet

VBTablet is ActiveX control that would allow access to your graphic Tablet from VB application


0
 
optidocAuthor Commented:
Thank you Michael D, VBTablet good place to start although I will need to take a few extra strong Guru tablets to understand the code!! Will get back to you in a while.....
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
optidocAuthor Commented:
I looked at VBTablet and yes it will work but before I go down that route. I need to store the image as a bitmap. Then at a later date read in the shape  and find height,width and longest diagonal from the bitmap. So I was thinking of using VB drawmode in a simple way to make a bitmap and wonderd how to interrogate a simple 2D bitmap shape?
0
 
Michael_DCommented:
The author of the question said about my suggestion:
[quote]

I looked at VBTablet and yes it will work

[/quote]

I understand the VBtablet control is complex system but I cannot think of anything simpler in this case.
You anyway need some methods to interface with tablet and grab the image of the trace. all the rest is just a math

I think VB tablet does provide solution for 90% of the task  
0
 
optidocAuthor Commented:
Thank you for your help. I am still searching for a easier solution at the moment.
0

Featured Post

Industry Leaders: 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!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now