Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Public Class Form1 Dim BtnOne As Boolean = False Dim BtnTwo As Boolean = False Declare Sub Sleep Lib "kernel32" (ByVal milliseconds As Long) Public Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click BtnOne = True End Sub Public Sub btn2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn2.Click BtnTwo = True End Sub Public Sub MainFlow() If BtnOne = True Then lbl1.Text = "Are you a male?" BtnOne = False If BtnOne = True Then lbl1.Text = "Is your name Jane?" End If ElseIf BtnTwo = True Then lbl1.Text = "Alright, then you can't continue" Sleep(5000) End End If End Sub End Class
|Problem to delete range||4||55|
|Specify ip address in my connection string for sas||2||47|
|Macro which automatically sends attachment to Outlook||14||52|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
13 Experts available now in Live!