Newbie needs help!

Please can someone help, i bought a k8055 not realizing that i needed to understand code. i,ve been trying to understand vb 2008, ha ha ha without any success. could some-one post a simple, digital in ( pressing button ) to digital out ( light led ) both on i/p , o/p 1. i have looked at the k8055d dll and follow a little of it but am desperate for some help. any kind of code that runs on win XP that i can play and learn from would be very very appreciated. an app or a nice easy exe would be a dream but i do want to understand vb 2008.
Many Thanx

On the CD there is an example code for Visual Basic .NET.
You can use it with VB2008.

thanx for reading my post, i think i know what you mean, iv’e found the example code of vb net project and the demo works but with an error “” Class statment must end with a matching “End Class” whitch refers to the 3rd line “Friend Class Form1” underlined.

would you possibly be able to tell and show what code i would need and where to put it, to make an output led light when one of the input buttons is pressed. do i add it on to the code in vbp ?

Also have been trying with excel 2000, seems easier. found some code with 3 buttons, 1 connect, 2 input voltage, 3 output voltage and i put my card address into row c1. made the macro work ( i think ) but button 3 has no reading, but my point was is it easier to use excel and macros for the simple task at hand.

all i want to do is light one of the leds on the digital output when one of the inputs is switched…

THANX. still stuck but still trying :}

Indeed, Excel VBA (Visual Basic for Applications) code writing is easy but real Visual Basic is much more flexible and complete language to use.
I made for you a special modified version of the demo software.
You may download it from: vel255.diinoweb.com/files/K8055_VB_2005.zip
I used Visual Basic 2005 but I think it opens to 2008 version too.

To fulfill your request:

I put following code to the timer procedure:

i = ReadAllDigital WriteAllDigital(i)
Now the button press is output to the LED and to the digital output.

Download the latest K8055D.DLL from velleman.be/downloads/files/ … v3_0_2.zip
and put it to Windows\system32 folder

Extract the K8055_VB_2005.zip package to a folder and double click K8055_VB_NET.vbproj to open the project.

your a star, thankyou very much, it works fine. :}

your response was excellent
i highly rate this fourum and hope to have much fun with my toy

gonna keep trying to understand the language and play around with the code, you’ve made my day CHEERS

not so stuck now he he he

Nice that everything works fine now and you got the code compiled!
Good luck and success with the programming experiments with the VB 2008 … :slight_smile: