8055 VS2008 Problems

You are using DLL function declarations for Visual Basic 6.0.
In the declarations for the Visual Basic 2008 the “As Long” has to be replaced with “As Integer”. Do this modification everywhere in your code.
There are also many other differences between VB6 and VB2008.
See: Visual Basic Concepts
What’s New for Visual Basic 6.0 Users:
msdn2.microsoft.com/en-us/library/ms172617(VS.80.aspx
(Copy and paste this link to your browser.)

On CD there is a VB.NET project in the folder: d:\K8055 & VM110 USB board\Demo PC soft VB_NET
This project you can convert to VB2008 express.

If not yet done - it may be good idea to download latest DLL for the K8055.

You’ll find the latest DLL from Velleman downloads page: velleman.be/be/en/download/files/

[quote]k8055dll_rev3_0_2.zip
New DLL (rev 3.0.2) file for K8055 & VM110, with Windows Vista support.
Also special Microsoft VC++ version and executable examples.
k8055_dll_2_001.zip
DLL rev 2 with examples and soure code (this source can be uses also with DLL Rev 3.)[/quote]

Please see also these threads: