Powered by Blogger.

Tuesday 9 August 2016

Console Application VB.net - Check Whether The Number Is Even Or Not

Console Application VB.net - Check Whether The Number Is Even Or Not


He Guys

Today We Are Going To Make A Console Application Which Will Ask User To Enter A Number And The Program Will Check Whether The Number Is Even Or Not....

Even / Odd Numbers Meaning -

Hope So Everyone Here Knows What Are Even Numbers & What Are Odd Numbers..
So Lets Move On Directly To How To Create Such Type Of Application


To Create Such Type Of Application Follow Below Link -

Console Application VB.net - Even Number Or Not 



Coding Part - 

 Sub Main()
        Dim Number As String
        Console.WriteLine("Enter a Number To Check Whether Its Even Or Not : ")
        Number = Console.ReadLine()
        If (Number Mod 2 = 0) Then
            Console.WriteLine(" The Number You Entered Is Even Number ")
        Else
            Console.WriteLine(" The Number You Entered Is Not An Even Number ")
        End If
        Console.ReadLine()
    End Sub

For More Videos Like This You Can Subscribe Our Youtube Channel
Name "Dark Coders" Or Click the below Image.





Thanks,
Visit Again

Regards - Dhiraj Bhatkar
Published: By: Dark Coders - 14:31:00

Monday 8 August 2016

Windows Application VB.net - How to use Label & TextBox

Windows Application VB.net - How To Use Labels & TextBox 

Hey Guys

Today We Are Going To See How We Can Implement Label & Textbox To Make A Simple Windows Application In Visual Basic

The Best Part Of Windows Application In Vb.net Is The Code Part Here Is Fully Reduced All You Have To Do Is Open Up Your Toolbox From The Left An Side Menu Of Your Application And Find Some Controls And Double Tap On It Or Drag It To Use It On Forms (Windows App)


To See How To Use Textbox And Labels In Windows Application Click The Below Link -

Windows Application VB.net - How to use Label & TextBox 





Important Thing You Must Look Forward To It-

When You Use Any Of The Controls From Toolbox Dont Forget To Rename It
Renaming The Controls Is Making Yourself To Be In Good Habits
And Also It Will Be Also Helpful When Implementing The Code...

Windows Application VB.net - How To Rename Labels & TextBox

Please Refer To The Above Image And Look Into It Properly ...


Coding Part -

There Is No Code Part Over Here.
In This Type Of Windows Application In Vb.net Microsoft Say That We Have
Reduce The Code Part And Yes The Code Part In Windows App Is Like About 30% Only And Many Of Those Controls Are Ready-made....

Since We Were Just Showing You How To Use Controls
Hence We Cant Show You All  Of Those We
Just Introduce You With Textbox And Labels
You Can Try Playing With Other Controls Too..


For More Videos Like This You Can Subscribe Our YouTube Channel
Name "Dark Coders" Or Click the below Image.




Thanks,
Visit Again
Regards - Dhiraj Bhatkar
Published: By: Dark Coders - 12:09:00

Sunday 7 August 2016

Console Application VB.NET - Palindrome Or Not

Palindrome Or Not - Console Application

He Guys

Today We are going to make a console application which will ask user to enter a string and the program will check whether the word is palindrome or not....


Palindrome Meaning

palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward.

Images For Palindrome -



To Learn How to Make this type of console application click the below link -

Console Application VB.NET - Palindrome Or Not


Coding Part

Module Module1

    Sub Main()
        Dim Name As String
        Dim pName As String
        Console.WriteLine("Enter a string : ")
        Name = Console.ReadLine()
        pName = StrReverse(Name)
        If Name = pName Then
            Console.WriteLine("Its a Palindrome")
        Else
            Console.WriteLine("Its NOT a Palindrome")
        End If
        Console.ReadLine()
    End Sub


End Module


For More Videos Like This You Can Subscribe Our Youtube Channel
Name "Dark Coders" Or Click the below Image.




Thanks,
Visit Again
Regards - Dhiraj Bhatkar
Published: By: Dark Coders - 05:39:00

Friday 5 August 2016

Hello Youtubers - Console Application













Hey Guys

This is Dhiraj Bhatkar Your Host From DARK CODERS

Other Hosts -
Amit Parida
Rajkumar Gaud
Atul Mishra


We Have Created a Channel On YOUTUBE Name - DARK CODERS

Visit It Today....!!!
& Have a Look on our Day to Day Programming which we do in our practical sessions..!!


Note - We are not professional coders or developers 
we are just practicing our codes which we did today in our practical sessions
and we created this video for our friends like you who can go through it in future.....


Link for our 1st video -

Dark Coders - Hello Youtubers




Code -

console.writeline("Hello Youtubers")
console.readline()



Thanks
Visit Again

Published: By: Dark Coders - 12:10:00