Solved

Simple 2D Shape Drawing program

Posted on 2007-12-03
7
1,207 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
  • 3
  • 2
7 Comments
 
LVL 5

Expert Comment

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

Expert Comment

by:Michael_D
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:optidoc
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you for your help. I am still searching for a easier solution at the moment.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

763 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

10 Experts available now in Live!

Get 1:1 Help Now