This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Pages

Showing posts with label Programing knowladge. Show all posts
Showing posts with label Programing knowladge. Show all posts

Sunday, 27 January 2013

Activate Windows 8 without using crack or patch




1:- Open your command prompt as administrator  

How To Open Command Prompt 

1 press window + r key 
type type cmd in run window 
and press enter     Hacking Tips


2:-  Type exactly what you see below (Press enter after each line)



slmgr /upk
slmgr /ipk NG4HW-VH26C-733KW-K6F98-J8CK4
slmgr /skms lunar21.no-ip.org:80
slmgr.vbs -ato

3:- Restart your system and enjoy your activated windows 8.


Note: This trick was tested on Windows 8 Professional Retail. Enjoy!!!

Prime Number Tester VB Progrom





In this program, I use the Select Case And Select statement to determine whether a number entered by a user is a prime number or not. 

Case 1- all numbers that are less tha 2 are prime. 

Case 2, if the number is 2, it is a prime number. In the last case, if the number N is more than 2, I need to divide this number by all the numbers from 3,4,5,6,........up to N-1, if it can be divided by any of these numbers, it is not a prime number, otherwise it is a prime number. I use a Do......Loop While statement to control the program flow. Here I also used a tag="Not Prime' to identify the number that is not prime, so that when the routine exits the loop, the label will display the correct answer.




Private Sub Command1_Click()
Dim N, D  As  Single
Dim tag As String

N = Val(TxtNumber.Text)

Select Case N
Case Is < 2
Lbl_Answer.Caption = "It is not a prime number"

Case Is = 2
Lbl_Answer.Caption = "It is a prime number"

Case Is > 2
D = 2
Do
If N / D = Int(N / D) Then
Lbl_Answer.Caption = "It is not a prime number"
tag = "Not Prime"
Exit Do
End If
D = D + 1

Loop While D <= N - 1
If tag <> "Not Prime" Then
Lbl_Answer.Caption = "It is a prime number"
End If
End Select
End Sub

Traffic Light Visul Basic Program

This Traffic Light program is a Visual Basic program designed by Ankit Jain that works like the actual traffic light. It is a nice little program. In this program, you have to insert one timer and set its interval according to your wish. Here I set it to 5000, which is equivalent to 5 seconds. Next you insert three shapes and set their shape properties to circle and fill the colors. There it goes, your traffic light is working!




The Code


Private Sub Timer1_Timer()
If Shape1.Visible Then

Shape2.Visible = True
Shape1.Visible = False
Shape3.Visible = False

ElseIf Shape2.Visible Then

Shape3.Visible = True
Shape2.Visible = False
Shape1.Visible = False

Else

Shape1.Visible = True
Shape2.Visible = False
Shape3.Visible = False

End If
End Sub

Get The Help Here C , C++, java , html Programing Language



Tutorials section of programming simplified. Here you will find tutorials on c graphics programming, game programming, mouse programming in c, project development. Video tutorials are also available which explain ,any program of c and c++ Language,java progam simple Java programs. These codes demonstrates how to get input from user, working with loops, strings and arrays., html help etc....
C-Languagec%252B%252B-logo      html-guide-logo1

If U want Any Program in c,c++,java and html Comment here And Get Your Program......
If u think this post helpfull For you like our Facebook Page And Subscribe Me

C programming language - Ebook



It is structured programming language that means we can perform any operation on to group of values & we can use in group.
It is case sensitive language that means it is differentiate between capital & small letter.


Click Here To Download