¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Beginner's Guide to OCX Implementation Request


 

Hello Art,

Have a nice vacation.

I have the OCX working from Vb (occasionally), there are still a lot
of questions.
I'll test and struggle some more and in 5 to 6 days I will send you
all the code for debugging.

The most "luck" I had with ExecuteGCode.
I also had StraightFeed work

Seems that we will get to the bottom of it soon.

Absorbe some sun for me too !
Best regards
Peter


--- In mach1mach2cnc@..., Art <fenerty@a...> wrote:
Hi Mark, Les..et all.

There seems to be a growing interest in useing the OCX for
application
development. Unfortunately I never use VB and don't know how on a
good day.
I can tell you a few things..

1) You application will read demo unitl the engine is fully
started. It is
the process of starting the engine that verifies your license.

2) Errors like crashing are probably due to all the graphics
involved.
Perhaps no screens should be loaded. It should be possible to
InitEngine,
StartEngine, Reset, and then StraightFeed(x,x,x,x,x,x). If
someone writes
such a beast and it won't feed, I will debug and let you know why
it won't
run as it is. I would love to see a guide to VB'ing the ocx and
will assist
all I can.

If you guys get an application that is crashing or doing
something
improper, send me a non-debug version and I can use it to debug
with and let
you know the trouble. I suspect that, unlike C++, VB may have
trouble with
the graphics, but it should still be able to move the motors and
such via
OCX control. While I did design everything as an OCX for that very
reason,
till now, no-one has wanted to use it in this way. I will, of
course, help
as much as I can along the way..

Thanks,
Art
www.artofcnc.ca

Join [email protected] to automatically receive all group messages.