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 ?    37 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between metadata and manifest?

565


What are the parts of the visual basic control?

533


What is code access security?

681


What is portable executable?

582


List the types of generations in garbage collector?

525






Name some different types of control?

531


Explain trace in vb.net?

517


What are the differences between vb.net and c#, related to oops concepts

570


How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?

2551


Explain the use of console application?

532


What is difference between inline and code behind?

513


What do you understand by vb.net?

608


Can you please explain the difference between dispose and finalize()?

500


Which dll is used for microsoft .net run time?

549


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

1757