Páginas

viernes, 3 de octubre de 2014

"User Control LED with Visual Basic .NET"

Hi everybody,

From now I'm going to write the pages of my blog in english. The reason is very simple, I would like that they can be read for as many people as possible, so ....  I hope with my english writing don't scare anyone, it is not perfect but I'll try to do the best possible.

Said that! ... here I show you a new page where I've been working to make a user "control LED for Visual Basic .NET".




It is a very simply control that many times we use in many electronics GUI (graphical user interface) applications and some times we don't have in none control toolboxes in the IDE Software (integrated development environment).


This picture show the aspect of the LED.



These are all colors to choose:




Here I show you a video where the user contol LED have been used in an example application.





  • How to use the user control LED from the .dll compiled library .

Here, attached the .dll library for user "control LED"

.dll Library for "User Control LED"



In order to use it, you should follow the next steps:

1.Create a new proyect.


 2. Choose the tipical project: Windows Forms



3. Go to the toolbox and there, select the general tab and over there click with the right button mouse  to open the emergent menu.




4. Select the option "Select elements". Here, click over tab "Components .NET Framework" and click over button. A new windows dialog box are shown. You should look for the user contol LED file .dll that you should have if you have downloaded from the link indicated before.







5. If the user control LED have been loaded succesfully, you can use it as you can see in the next picture. Exactly in the tab general you can find the new user control.



 6. Select the new user control with the mouse and drag and drop over the window form and this appear drawn. This control can be setup as whatever other control with his properties window.





7. Finally, include this code and run the code with F5. A picture like this would be shown.





That's all! , Just now, we have an application with our new user control LED.





  • Example application that use the user control LED.

I've developed a small application that shown how can be setup this user control. Its appearance is shown you in this picture.



It's enough for show you how the control works and its characteristics.

I hope that you like it!

"Library .dll and .exe for User Control LED"

(Remember, copy the .dll file in the same path where is the executable file .exe)



Click over this link to download the source code for "User Control LED" .

"Source Code for User Control LED"



This is another link where I show you a good example where I've used the .dll "VB.NET Led". Really is other page of the blog.


A greeting. 

-----------------------------------------------------------------------------------------------------------------------------------------------------
Please, if you liked this blog, has helped you or have you seen any interesting project or you've been able to download some documentation please leave a comment. Thank you. 
------------------------------------------------------------------------------------------------------------------------------------------------------

1 comentario:

Deja tu comentario