K8061 not connecting to Windows 7 computer

I use the K8061 with VB6 code on a programme monitoring (and acting upon) various house environmental parameters. It is basically the Demo version with some display modifications and it is working fine on any of my three other Windows XP computers, but I cannot get it to install properly on my new one operating Windows 7. I have been using the Velsoft 2.0 disc that came with the kit (just over 3 years ago).

Firstly the computer couldn’t find the K8061.dll in System 32, where I had placed it along with mpusbapi.dll, but it seemed to find them from within the VB project directory. However when I now run the programme I get -2 on the OpenDevice, ie ‘no card found’.

Firstly, would you expect it to be compatible with Windows 7 and if so, how should I set about installing it please?

Nick A-C

The original driver for the K8061 doesn’t run either on Vista or Windows 7.
You have to download the “Vistapack”. It includes the new driver to install and new DLL to use.
velleman.eu/distributor/supp … 8061&type=

If problems with Vistapack then you may try this newer Microchip’s MCHPUSB driver. This driver works in 64 bit OS too.
Here is a link to download the driver: box.net/shared/8ksvv3zl1o

You have to remove the old driver and install this one. You may check in the Device Manager the date of the driver should be 19/12/2007 and version 1.0.0.6.

Here you can download a demo program to test the operation of the card with this new driver:
box.net/shared/lc0m52r8ey

You have to copy the K8061.DLL and the MPUSBAPI.DLL from this demo to the Windows’ System32 folder and maybe to your project folder. (E.g. in the \bin folder of the Visual Basic 2008 project.)
You cannot use the K8061.DLL in the Vistapack. You have to replace it with the K8061.DLL and the MPUSBAPI.DLL from this demo folder.

Here is a link to download a full project in VB 2008 Express. It is using this new driver and these new DLLs.
box.net/shared/5n393f1ifs

Many thanks for the speedy reply. I’m no great expert on installing components. I know where to put dlls but how do I go about removing old drivers and installing new ones? I’m used to pressing the install button and letting the computer do the rest!

Cheers

Nick

When the K8061 is plugged in, go to the Device Manger and remove the K8061 USB driver.
Then unplug and re-plug the K8061 and install the new driver.
Here are some general instructions:
vistax64.com/tutorials/19358 … river.html

Thanks again for speedy reply. I now know a lot more about installing and uninstalling drivers, but sadly I’m no further on. The Vista download didn’t work and nor did the Driver64, using the recommended demo. In each case I put the latest DLLs into Windows\System32. I don’t have a \bin folder in VB6 but I copied the DLLs into the project folder as well. In both cases the driver installed correctly according to Device Manager but on running the VB programme I keep getting -2 for OpenDevice.

It is still working fine on my XP computers. Presumably K8061 has been run successfully in Windows 7 ??

Thanks for your patience.

Nick

This is very strange.
You checked in the Device Manager the 64-bit driver version is: 1.0.0.6.

When you installed the driver 1.0.0.6. and then downloaded and extracted this demo to a folder - didn’t it find the card anyhow?
box.net/shared/lc0m52r8ey
This demo should work if the DLLs are in the same folder as the .EXE.

The VB6 seems to find the DLLs but not the card - strange.

I made a quick test:
I moved the K8061.DLL and the mpusbapi.dll from this demo folder to System32 folder.
The DLLs weren’t found.
Then I moved both DLLs to Windows folder – they were found.
I tested this on a 64-bit Windows 7.

Great! I moved both DLLs from Windows\System32 straight into the Windows folder and the card is now recognised. All is good.
Hopefully this little exercise may help others who have the same problem. It’s certainly taught me a thing or two!

Many thanks for your knowledge and perseverance.

Cheers

Nick A-C

It is good to see a solution has been found!

If you some day move to Visual Basic 2008 Express edition in the Windows 7 x64 environment, then some further problems may occur.
Here’s a link to a thread where you will find the solution: viewtopic.php?f=3&t=4005

No plans to change from VB6 just yet. Maybe I’m trying my luck, but I plan to dust off my K8055 and put it to use. Would it be possible for you to send me the links for the driver and DLLs for that too, for use in Widows 7 64-bit environment?

Cheers

Nick

The K8055 is a Human Interface Device (HID) and needs no drivers to be installed.

  • Just plug it in.