arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make blink screen with vb.net
#1
WARNING! if you have epilepsy . just leave this thread NOW or you will get seizure

How to make Blink Screen with VB.net
in this tutorial i will show you how to make an application that change color fast . it will make your application more attractive but it can make epilepsy people get seizure so use it carefully . i already warn the epilepsy people by giving warning above . so lets just start shall we

1.First . Make A New Project
[Image: dcb6caca7fba4bd3ae46b62be0775802.png]
Go To New Project And select "windows forms application" then name your project and press the "OK" button

2.Start by adding a timer
[Image: d2c049fe0a414cfe9ae34dbb4f2c556f.png]
Now Add the timer . to add a timer just double click or drag the timer on the toolbox

3.Double Click The timer and add the code
[Image: 21745c4fa02b44ffad8261f34f6fb0c6.png]
Double click the timer and type the code below

Public Class Form1
Dim ColorX As Boolean = True

   Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
     If ColorX = True Then
           Me.BackColor = Color.Red
           ColorX = False
       Else
           Me.BackColor = Color.Blue
           ColorX = True
       End If

   End Sub
End Class

PUT THE DIM ColorX OUTSIDE THE TIMER1_TICK OTHERWISE IT WOULDNT WORK! THE IMAGE IS INCORRECT!
You can change the color by changing the color.red and color.blue to any color that you want

4.Enable The timer and set the speed
[Image: 2ab7bfa0e965400ab9b0c0d1ec3569ea.png]
set the enable to true and interval is depend on your liking . the less the interval the faster your application will blink
/!\ WARNING! faster speed or lower interval is equal more seizure so be careful with this /!\


5.Debug the app and enjoy the blink - WARNING! SPOILER CONATIN BLINKING IMAGE!
/!\ SPOILER CONTAIN BLINKING IMAGE /!\
Spoiler Expand
[Image: GIF2.gif]
You can download the project below

RAR PASSWORD is my username : humanpuff69


Attached Files
.zip   blinkscreen by humanpuff69.zip (Size: 70.05 KB / Downloads: 2)
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5


Messages In This Thread
How to make blink screen with vb.net - by humanpuff69 - 05-06-2017, 06:07 AM


person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting