|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
VB program
as the title says i have to make a program as a assignment but i am having a few problems in making it, firstly i have to have buttons that have random numbers on them (done this part) when i press them these numbers go to a label box, when i press a confirm button the numbers are rearranged in ascending order in the buttons with the orginal random numbers in them, so you can check your answer in the labelbox to the correct rearrangement
i have done the first part in generating the numbers inside buttons but i cant get them to copy into the labelboxes and then getting the program to sort the numbers out so the user can see if he/she is correct ps i was thinking of posting this in the tutors corner but was not sure if that was the right place so i put it in general (sorry if this is the wrong place) |
|
#2
|
||||
|
||||
|
The first part should be easy as this.
Code:
Private Sub cmdConfirm_Click()
Label1.Caption = Command1.Caption
End Sub
The sorting part is to search some sorting algorithms in the web. However, since its your assignment, pick either quicksort, bubblesort or studentsort algorithms. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > VB program |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|