Page 1 of 1

Blacked-out tool box on my VB IDE

Posted: Tue Feb 17, 2015 9:06 am
by garyb
For - Sample calls to Phidgets21.dll - With Events
Please see:

VB Calls to Phidgets21.dll - Stp 1067 - Enc 1057 - Ikit 1012

viewtopic.php?f=21&t=7469

Re: Sample calls to Phidgets21.dll - With Events

Posted: Tue Feb 17, 2015 9:19 am
by garyb
----

Re: Sample calls to Phidgets21.dll - With Events

Posted: Tue Feb 17, 2015 9:51 am
by Patrick
We provide a COM library for VB6... I'm not sure why you would want to go through the work of circumventing it?

-Patrick

Re: Sample calls to Phidgets21.dll - With Events

Posted: Tue Feb 17, 2015 2:10 pm
by garyb
I tried the ActiveX control. It works very nicely except that I get a blacked out tool box on my VB IDE.

I suspect that your COM library makes calls to the Phidget21.dll just like C++ does. I would like my VB program to function like the C++ programs.

Thanks for the reply

Re: Sample calls to Phidgets21.dll - With Events

Posted: Tue Feb 17, 2015 6:04 pm
by garyb
----

Re: Sample calls to Phidgets21.dll - With Events

Posted: Wed Feb 18, 2015 9:40 am
by Patrick
Hi,

The ActiveX controls are black because VB6.0 is not supported on Windows 7 and this is just a side effect - it is only cosmetic and doesn't affect the usability of the controls.

The COM library is a C++ wrapper library which calls the C library - the overhead of this is negligible. I'm not sure if you way is faster, but it's certainly more work for you, and one of our primary goals is to make things easy for our customers...

The digital inputs are all read at the same time. If you need to guarantee that you read their states back simultaneously, I would read them back from the input change event (just read them all back, ignore the index) - so that there isn't any chance of them changing as you read them.

-Patrick