answersLogoWhite

0


Best Answer

You can use the Randomize() function in order for you to get random questions from your database. You can use the primary keys in the database for each question as the basis for the randomization process.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What code is used to generate random questions from a database in visual basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you get Visual Basic to generate a random number?

Or you can do Rnd*232 Where 232 is a number of your choice higher or lower number. I have used this in a Timer and works well.Valtros------------------------------------------------------------------------------------------------------------------AnswerUse the random function. The example below will give a random number between 1-100r = Random(1, 100)


What is ms visual studio?

ms visual studio is combination of relational database and management systems of the database . it contain visual fox pro visual basics which help in constructing databases like reports forms tables.


How you can generate an random unique number in visual basic studio?

You can use this function: Function Random(ByVal Lowerbound As Long, ByVal Upperbound As Long) Randomize() Random = Int(Rnd * Upperbound) + Lowerbound End Function And use it by using: whatever.Text = Random(1, 1000) This example gives a number between 1 and 1000.


What does ODBCstands for in visual basic?

Open Database Connectivity.


Features of a database design tool?

Depends on the design tool, there are MANY design tools and they all have some similar characteristics and some unique ones as well. For the most part design tools help you design a physical database using a visual representation. ie: Graphics that you can drag around, and connect that will result in the code required to generate the resulting database.


Can visual studio build desktop database applications?

Yes!


How do you store photos in a database using visual basic?

You cannot store images inside a database, you can store information about where the image is kept in a database. -Peter


What does Visual Basic utilize to generate vigorous and dynamic application?

GUI


WHAT is a visual approach to developing database queries or requests?

Some databases use ______, which is a visual approach to developing queries and requests.


I made a database using xampp at localhost phpmyadmin i made a form in visual basic and i want it to connect to my database do you know how to do it?

no, I don't


How do you build a database in visual foxpro?

On File choose New, a window will appear and ask you for New Project or Database. Choose Database and click New File. It will then ask you to give a database name. After your Database is made, you can now add tables.


What has the author Dan Rahmel written?

Dan Rahmel has written: 'Visual Basic' -- subject(s): BASIC (Computer program language), Microsoft Visual BASIC 'Visual Basic.NET programmer's reference' -- subject(s): BASIC (Computer program language), Microsoft Visual BASIC, Microsoft .NET 'Sams teach yourself database programming with Visual Basic 6 in 24 hours' -- subject(s): Database design, Microsoft Visual Basic for Windows, BASIC (Computer program language) 'Building Web database applications with Visual Studio 6' -- subject(s): Application software, Database design, Development, Microsoft Visual studio, Web databases 'Server Scripts With Visual Javascript (Hands-on Web Development)' 'Nuts and bolts filmmaking' -- subject(s): Motion pictures, Cinematography, Production and direction