Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a VB.net program to swap two numbers

Answer Posted / biswasmit lenka

Private sub command1_click()
dim a,b,c as integer
a=Val(Text1.Text)
b=Val(Text1.Text)
c=a
a=b
b=c
Text1.text=b
text2.text=a
End sub
Private sub command2_click
end
End sub

Is This Answer Correct ?    38 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain redim keyword?

1078


how to deploy vb.net with key and evaluation time? any one can help me?

2261


Explain cts?

1007


What is the role of new keyword?

1084


What is the source code for display the picture in button click event?

1197


thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net

2159


What is portable executable?

1250


Explain the difference between c# and vb.net?

1142


What is trace in vb.net?

1073


What are the shadow variables?

1104


Name a feature which is common to all .net languages?

1059


Explain managed code?

990


Why is the xml infoset specification different from the xml dom?

983


How vb implements the disconnected architecture as like vb.net?

1069


Can you please explain the difference between vb and vb.net?

946