Solved

Simple 2D Shape Drawing program

Posted on 2007-12-03
7
1,237 Views
Last Modified: 2010-04-21
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
Comment
Question by:optidoc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 5

Expert Comment

by:Tertioptus
ID: 20396691
So what is your specific problem?   And is there a picture that your tracing on.
0
 
LVL 13

Expert Comment

by:Michael_D
ID: 20397418
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
 

Author Comment

by:optidoc
ID: 20403797
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.

 

Author Comment

by:optidoc
ID: 20409980
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
 
LVL 13

Accepted Solution

by:
Michael_D earned 500 total points
ID: 20591741
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
 

Author Closing Comment

by:optidoc
ID: 31412369
Thank you for your help. I am still searching for a easier solution at the moment.
0

Featured Post

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.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month8 days, 9 hours left to enroll

617 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