# Vb.NET - Working Example with Source Code

**URL:** <https://forums.blinkstick.com/t/vb-net-working-example-with-source-code/1360>\
**Category:** Tutorials\
**Created:** [June 14, 2020, 9:06pm UTC](https://forums.blinkstick.com/t/vb-net-working-example-with-source-code/1360 "2020-06-14T21:06:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@dave](https://forums.blinkstick.com/u/dave)\
**Post date:** [June 14, 2020, 9:06pm UTC](https://forums.blinkstick.com/t/vb-net-working-example-with-source-code/1360/1 "2020-06-14T21:06:29Z")

</div>

Hi

I actually write in VB6 but simply cant get the control to work - fails with automation error.

Anyway, so I have decided to try and write a sample application in [VB.NET](http://VB.NET) - now i really, really am new to [vb.net](http://vb.net).

I stopped trying the new versions of [VB.net](http://VB.net) after microsoft issue vb7 - what a failure.

Anyway, have to try - so here is my example in [VB.net](http://VB.net) - 2019.

The entire source code is here for you to reference, if you are like me then looking at code sometimes is so much quicker and simpler than reading mixed help guides.

The app shows;

How to set the colour using the color, hex and rgb

It also shows you how to set / unset the different colour leds - 0 to 7.

I have the blinkstick

Please note - this is only my 8th attempt at [VB.net](http://VB.net) so please accept that the coding may be repetative.

Any comments welcomed.

thanks  
[Vb dot NET example with source code.zip](https://forums.blinkstick.com/uploads/short-url/ArtCcFpbxmLYHTcbFGUBcNLjfGa.zip) (711.3 KB)  
Dave

---

<div class="post-metadata">

**Author:** ![jason](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@jason](https://forums.blinkstick.com/u/jason)\
**Post date:** [January 26, 2024, 5:10pm UTC](https://forums.blinkstick.com/t/vb-net-working-example-with-source-code/1360/2 "2024-01-26T17:10:21Z")

</div>

I downloaded your attachment, and I see the DLLs and an EXE, but I see no source code. ??
