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 code security?

934


What is option strict?

1068


What is static member?

1009


What is the difference between c# and vb.net?

1004


What is the difference between value and reference types?

1098


What is the feature anonymous type?

924


Tell me which namespace are used for accessing the data?

998


What is vb.net used for?

940


Explain about the performance of visual basic?

1030


Name the tool which can convert visual basic old version to .net compatibility version?

1050


What is the top .net class that everything is derived from?

1063


What is writeline in vb.net?

943


Explain and brief about rapid application development tool?

1016


Explain convert.tostring and i.tostring method?

917


Explain how the .net framework performs automatic memory management.

1016