Vm 140 help wanted

hey, i hope somebody can help me with my vm140 module i recieved , it works fine with the demo , but when i’am testing it with a self written code, very simple as set digital out ,it works just until i close de device and reconnect, once i’ve reconnect de button set digital channel or set all digital… ,witch earlier worked don’t anymore and i have to disconnect de power and USB ,restart de code and it works again , also i wasn’t abbel to read all digital.

at last i just copyed the code from the examples to my own form and i still crashes.

the code i using is written in VB 2008 on a Vista laptop

thanks in advance

ps: setting the analoge out worked also fine with self written code

If not yet done, you can download and try this latest software package for the K8061/VM140:
Here is the link to the downloads page:
velleman.eu/distributor/supp … M140&type=

This is the direct link to download the package: [color=#000080]Complete software package edition 2011[/color]

The package includes new driver and new DLL.
There are example projects written in many programming languages included.

You may first try the example written in VB 2008.

You have to remove the previous driver and install the new driver (v1.0.0.6) from this download package.
Please read the Getting_Started.pdf and the README.TXT