Login Form & If Else in VB .Net, Windows Application Form | Visual Studio 2022

Опубликовано: 15 Октябрь 2024
на канале: OfficialTheD2
471
5

Code is here: https://the-d2.com/login-form-with-if...
The written code works for Visual Studio 2013 & 2022 too.
---
Dim uname As String
Dim upass As String

uname = txtname.Text
upass = txtpass.Text

If uname = "navdeep" And upass = "ethanhunt" Then
MsgBox("Login Successful!")
Else
MsgBox("Login Failed!")
End If
---
🌐 https://the-d2.com 🌐 Linux Blog
🔔 Subscribe    / @thed2   🔔
Social Media Networks Links:-
Instagram   / navdeep.d2  
Twitter   / navdeepd2  
Facebook   / navdeep.d2  
LinkedIn   / navdeepd2  
YouTube    / @thed2  
==========================================
📧 Email [email protected] 📧
==========================================
💲 Donate:- Patreon   / officialthed2   💲
💲 Paypal https://paypal.me/OfficialTheD2 💲
#visualstudio #visualstudio2022 #windowsform
0:00 Creating User Interface
3:00 Writing Code