loading
Picture of How to make a Strobe light program in VB.NET
image011.png
image007.png

Strobe Light described in this tutorial is designed for slow motion photography, if you don't have access to a physical strobe light or you can't afford one or don't have the materials to make one, you can still make one with the help of programming languages.

The strobe program described here, has an adjustable frequency of upto 5 milliseconds (Actually my computer couldn't manage it below that frequency) and you can choose only one flash color for your strobe.

Step 1: Let's Setup our environment first

Picture of Let's Setup our environment first

I coded the strobe in vb.net express 2010, the same code would work for vb 2008 and above,

Open Visual Basic and create a new windows form application, then add a 'colordialog' from toolbox to the form it should drop below the form because it works in the background, then add a trackbar, two 'timer's', two 'button's' and 'textbox', Name one of the buttons as choose color and it's name as 'button1' and keep the text property of other button blank , name the blank button 'btn'.

and also add another form to the application; set it's FormBorderStyle to none and WindowState to 'maximised'.

Now the design is complete, So let's move to next step.

 
rimar20001 year ago

Very clever solution. Never I thought it.

MYawar (author)  rimar20001 year ago

Thanks!