Solved

Simple 2D Shape Drawing program

Posted on 2007-12-03
7
1,224 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
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Point to Current Row Ater Refresh Datagridview 3 25
Exit the loop 4 43
VB.Net WebRequest Code from JSON curl 9 16
MailAddress in vb 4 15
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

803 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