Gemalde Posted March 4, 2013 Share Posted March 4, 2013 I'm creating a CNC solution in VB.6, and I'm looking for a low-priced vector component (OCX). Any suggestions? :) Link to comment Share on other sites More sharing options...
0 Radium Posted March 4, 2013 Share Posted March 4, 2013 Maybe, just maybe, you can create your own. :) I tried to not be dependant on non-standard controls when I was playing with VB6. I wrote my own, which resulted in more coding for me but less unused code. The final product was lighter. Link to comment Share on other sites More sharing options...
0 XerXis Posted March 4, 2013 Share Posted March 4, 2013 You mean a mathematical vector library? Link to comment Share on other sites More sharing options...
0 XerXis Posted March 4, 2013 Share Posted March 4, 2013 I don't see why you need an ocx, which is mostly used for components that interface with the user (GUI), I think you mean a normal COM dll ;). Anyway, a vector library is very easy to implement yourself, most vector libraries are part of much bigger libraries and including them would probably be overkill. The 4 or 5 most used vector operations are like 10 lines to program. Anyway, if it's speed you are looking for it's better to make your own library in C/C++, compile to dll (normal one) and call it from vb. If that is too advanced for you, just program it in vb, but it will be slower. If you really want to use a fast library and not afraid of all the overhead that comes with it you could use the math library of directx, which has a COM interface. Link to comment Share on other sites More sharing options...
0 Gemalde Posted March 5, 2013 Author Share Posted March 5, 2013 First of all thank you all for the replies! :) Creating a vector control by ourselfs it would be really time consuming. We will have to do advanced operations like object snapping, zooming in/out, etc -- it's not just about drawing some lines.. Unfortunately our time frame doesn't allow that. I'm currently trying Avax Vector ActiveX (link)... Does anybody have used it? Link to comment Share on other sites More sharing options...
0 Dick Montage Posted March 5, 2013 Share Posted March 5, 2013 I don't think he just means the mathematics, I think he means a whole vector drawing interface? Link to comment Share on other sites More sharing options...
0 The_Decryptor Veteran Posted March 5, 2013 Veteran Share Posted March 5, 2013 The normal picturebox control already supports vector drawing via WMF (and GDI), it just sucks at it (Because it's GDI and Visual Basic). If you want high quality drawing you'd want to use GDI+ or something like Cairo/Skia. GDI+ will be your best bet honestly, although you'll still have to do a bunch of work yourself. Link to comment Share on other sites More sharing options...
Question
Gemalde
I'm creating a CNC solution in VB.6, and I'm looking for a low-priced vector component (OCX). Any suggestions? :)
Link to comment
Share on other sites
6 answers to this question
Recommended Posts