Click here to Skip to main content
15,885,914 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Previous and Next button Problem Pin
Member 1178652230-Jul-15 7:51
Member 1178652230-Jul-15 7:51 
AnswerRe: Previous and Next button Problem Pin
Ralf Meier30-Jul-15 8:50
mveRalf Meier30-Jul-15 8:50 
GeneralRe: Previous and Next button Problem Pin
Member 1178652230-Jul-15 12:01
Member 1178652230-Jul-15 12:01 
GeneralRe: Previous and Next button Problem Pin
Ralf Meier30-Jul-15 18:25
mveRalf Meier30-Jul-15 18:25 
GeneralRe: Previous and Next button Problem Pin
Member 1178652230-Jul-15 23:00
Member 1178652230-Jul-15 23:00 
GeneralRe: Previous and Next button Problem Pin
Ralf Meier30-Jul-15 23:54
mveRalf Meier30-Jul-15 23:54 
GeneralRe: Previous and Next button Problem Pin
Member 1178652231-Jul-15 1:29
Member 1178652231-Jul-15 1:29 
AnswerRe: Previous and Next button Problem Pin
Ralf Meier31-Jul-15 1:50
mveRalf Meier31-Jul-15 1:50 
OK ...
Now you should create the Collection for the Animation/Visualisation.
This could work like this :
VB
dim QuestionCollection as new collection

Sub Initialize_Collection
    QuestionCollection.clear 

    for i as integer = 1 to 10
       dim myBank as new Bank
       myBank.QuestionNo = ""    ' assign the Question-No. here
       myBank.Question = ""      ' assign the Question-Text here
       myBank.OptionA = ""       ' assign the Option-Value A here
       myBank.OptionB = ""       ' assign the Option-Value B here
       myBank.OptionC = ""       ' assign the Option-Value C here
       myBank.CorrectAnswer = "" ' assign the correct Answer-Text here
       myBank.Result = false     ' you should add a boolean as result for the question to 
your class
       QuestionCollection.add (myBank) 
    next  
End Sub


now you could work with this Collection on your Form.
With your Buttons you should select the index from the Collection-Entry and put the data of it to your Form-Labels/TextBoxes/OptionButtons etc.

Do you understand what I mean ?
GeneralRe: Previous and Next button Problem Pin
Member 1178652231-Jul-15 2:49
Member 1178652231-Jul-15 2:49 
GeneralRe: Previous and Next button Problem Pin
Ralf Meier31-Jul-15 2:58
mveRalf Meier31-Jul-15 2:58 
GeneralRe: Previous and Next button Problem Pin
Member 1178652231-Jul-15 3:49
Member 1178652231-Jul-15 3:49 
GeneralRe: Previous and Next button Problem Pin
Ralf Meier31-Jul-15 9:29
mveRalf Meier31-Jul-15 9:29 
QuestionSave text as compressed in Sql server ? Pin
satc29-Jul-15 23:32
satc29-Jul-15 23:32 
AnswerRe: Save text as compressed in Sql server ? Pin
Mycroft Holmes29-Jul-15 23:49
professionalMycroft Holmes29-Jul-15 23:49 
QuestionSave a multiline text on sql server Pin
satc28-Jul-15 23:55
satc28-Jul-15 23:55 
AnswerRe: Save a multiline text on sql server Pin
Wendelius29-Jul-15 0:01
mentorWendelius29-Jul-15 0:01 
GeneralRe: Save a multiline text on sql server Pin
satc29-Jul-15 0:10
satc29-Jul-15 0:10 
GeneralRe: Save a multiline text on sql server Pin
Wendelius29-Jul-15 0:37
mentorWendelius29-Jul-15 0:37 
GeneralRe: Save a multiline text on sql server Pin
satc29-Jul-15 1:09
satc29-Jul-15 1:09 
GeneralRe: Save a multiline text on sql server Pin
Richard Deeming29-Jul-15 1:42
mveRichard Deeming29-Jul-15 1:42 
GeneralRe: Save a multiline text on sql server Pin
satc29-Jul-15 1:50
satc29-Jul-15 1:50 
GeneralRe: Save a multiline text on sql server Pin
Richard Deeming29-Jul-15 1:55
mveRichard Deeming29-Jul-15 1:55 
GeneralRe: Save a multiline text on sql server Pin
satc29-Jul-15 1:56
satc29-Jul-15 1:56 
GeneralRe: Save a multiline text on sql server Pin
Richard Deeming29-Jul-15 1:59
mveRichard Deeming29-Jul-15 1:59 
GeneralRe: Save a multiline text on sql server Pin
satc29-Jul-15 2:01
satc29-Jul-15 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.