Create A Quiz Game Application In .NET?
Sep 23, 2010
I am building a quiz application in .net just like on flash mini games, is this possible in .net? and what is the easiest way to create this? make moving objects, cartoon interface and etc. also, it is supposed to be a standalone application.
View 1 Replies
ADVERTISEMENT
Apr 2, 2012
I want to make a simple quiz game like kbc in vb.net 2008, for that i have created five buttons in my vb application. and one table in sql as under
create table kbc
(
Question varchar(100),
Option1 varchar(100),
Option2 varchar(100),
Option3 varchar(100),
Option4 varchar(100),
Answer varchar(100)
)
And i have inserted these records in this table like this
insert kbc values('Largest key of ur pc is ','Enter','Backspace','Shift','Space','Space')
insert kbc values(2,'How many muscles are there in a human body ?','206','602','605','208','605')
Now back to my vb form the first button will catch the question and second,third,fourth,fifth buttons will catch options from sql database that i have shown. just as kbc i want to show one question with its four options. and when user click on any button i also want to check the right answer. right answer is also in my kbc table's Answer column. to do that i have written this code
Imports System.Data.OleDb
Imports System.Data
Imports System.Threading
Imports System.Data.SqlClient
[CODE]...
On all button's click i have declared temp variable to catch the last column's text from my sql table and then i want to match this text with the text of that button the user clicked. if texts match i want to go to the next question of my quiz program. how to do that working. but it is not working as i want.
View 2 Replies
Jul 13, 2011
I'm trying to create a quiz system and I have 200 question stored in question table.I have two quizID which is 1 and 2. Each quizID have about 100 questions. I trying to randomly select 50 question from the 100 question.
SELECT [QuestionID], [Title], [Answer1], [Answer2], [Answer3], [Answer4], [CorrectAnswer]
FROM [Question]
WHERE ([QuizID] = @QuizID)
ORDER BY NEWID()
View 1 Replies
Jul 14, 2009
i am begginer to vb.net can i know what procedures to be followed to create a online quiz in vb.net. i have to create a project.
View 1 Replies
Jul 21, 2010
I am trying to create a quiz on visual basic 2008 with two buttons : true; false that present one question at a time. At the end of the quiz, I would like the program to add up the number of correct questions.
View 3 Replies
Feb 27, 2012
I am learning VB at the moment and i'm planning how i'm going to make a simple quiz style web application. I want to have a series of questions, one per panel, that a user can select from multiple choice and proceed to next question with at least one option needing to be selected before going to the next question. At the end users get their score out of X.
Forgetting the validation and other bits i need. My thinking is to use a series of panels that have my questions in, so one panel per question, and by default they are all set no invisible bar the first question. Then as the user selects the question the next panel is revealed and the previous hidden, and so on etc.
View 1 Replies
May 1, 2010
I am trying to create a slot machine application. I wanted to make a handle like gui so here is what I have:
[URL]
What I want is to be able to let the user drag the red button till a certain point and when they let go of the mouse click the button moves back slowly to the top.Here is what I have so far (I tried my best) :
Private Sub picBall_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles picBall.Click
tmrOne.Enabled = True
tmrTwo.Enabled = True
[code].....
View 3 Replies
May 15, 2009
I'm a newbie and trying to develop my first program. The program is a console math quiz application. I want to add a timer to the code that tells the user the the amount of time it took for them to complete the quiz. I have no clue as to how I need to implement this.
[Code]...
View 1 Replies
Jun 4, 2012
I am all new to Visual Basic 2008, I am trying to create a picture shuffle game, the problem is I cant seem to be able to move one picture from PictureBox1 to PictureBox2 onClick, here is a Code I written earlier:Sub ChangePicture(ByRef P1 As PictureBox, ByRef P2 As PictureBox)
[Code]...
View 1 Replies
Sep 11, 2009
Is there any visual basic 2005/2008 RPG games with the source code available for download.Could you possibly reply to this post with a link to the website with the game.Or is there a template i could use to try create a zombie style RPG game text or graphical.
View 2 Replies
Jan 12, 2010
how to create a user interface in a game such as the application XFire using Visual Basic?
View 3 Replies
Oct 18, 2010
i am suppose to create "a windows form game called Yahtzis which uses five dice and three throws to create a score" .
The problem is that i don't even know how to start it can anyone shed some light.
View 2 Replies
May 14, 2012
I'm trying to create a basic mmo game for fun in vb.net. I have done it before with a game api but I'm recently reformat my computer and can no longer find it. I'm trying to dynamically create a new picture box that will be my character or NPC and I can get the image to show up on the screen correctly but I'm not able to use "myGuy" anywhere else in the project. So the character basically sits there and does nothing. I'm wondering if there is away to call "myGuy" (myGuy.Top = 40) in another sub? If you know of a good game api that is not a hog and not expensive let me know.
[Code]...
View 3 Replies
Mar 24, 2012
I spend my spare time trying to create a football game in VB.NET. I have a save game file saved using serialization which I am using to test code. This file contains all the elements of gameplay (stored plays, games, options, etc...) I create this file in the software itself using the code I created; I put a lot of work into this save game file and I would like to continue using it.
However, I discovered I need to add a couple member variables to the class from which the saved object is derived (object is called m_League, class is ClLeague). Any time I've altered ClLeague my old saved games don't load anymore because the new m_League object does not match the old m_League object. I have to start a new game and create m_League from scratch which wastes a lot of time.
This must pop up in with the professionals out there who write patches for software and need the users old saved files to continue working. Is there any trick to this situation or do I have to just accept it?
View 3 Replies
Apr 16, 2012
I am a noob to Visual Basic and I am currently learning it at my college. I have a final project to do and I am having some trouble deciding on how to attack it. First off, I have done a lot of research and I cannot find my answer, so I am using this(post) as a last resort. The book my prof is having me use is outdated, its coding on vb6, and we are using vb2010...hence my problem. I am not looking for an answer in code, but more to be pointed in the right direction, or maybe some classes that I do not know about.[code]...
View 7 Replies
Aug 6, 2009
how can i create a scoring for system for my Maths quiz game made using VB.My quiz game can generate automatic numbers / questions and shows a message box whenever the user gets the answer right or wrong. i.e.when the user presses the check answer button, a message appears stating that he/she go it right or wrong. Then the user can press the next question button to get a new question.
View 8 Replies
Oct 17, 2011
I am trying to create a game using vb but don't know how to create a "save game" function. I was told something about saving to files but don't really understand it.
View 2 Replies
Feb 11, 2012
I'd like to write an application drawing a certain visual object (e.g. a semi-transparent triangle) over a full-screen game. The game has a "strong on-top" property as it covers all other applications classified as "on top".I need my application to be the top-most on-top application, and always on focus, without affecting the smooth run of the game behind.
View 1 Replies
Jul 18, 2011
I've tried to create a DLL injector for using it in a game but it didn't work for me, here's the code:
Imports System.IO
Imports Microsoft.Win32
Public Class Form1
[code]....
View 1 Replies
Jul 18, 2011
I'm trying to create a little program where I can view a few game servers, specifically cs, cs:s, and cod4?
Imports GameServerInfo
Public Class Form1
Dim server As GameServer = New GameServer("74.201.57.23", 27015, GameType.CounterStrike)
[code]....
I've tested multiple servers as well that were up and running so It's not the servers I'm putting in.
View 5 Replies
Jan 9, 2011
I'm trying to create a multiplayer game, but i don't know how to communicate between my programs, what I'm trying to send is some text, which my program can understand it. I searched for it and for making a chat application but found no working results...
View 10 Replies
Oct 18, 2011
Im new to visual basic and im taking a class on visual basic currently We are suppose to create a program that plays a game with the user. The game is about guessing a random number the program guesses If you are too high from the computers guess it will tell you "too high"If you are too low from the computers guess it will tell you "too low"If you are right it will let you know your right Currently im having problem with Line 7, its saying RandomInteger is expecting declaration But i declared it above as a integer
[Code]...
View 2 Replies
Feb 9, 2009
I am trying to create a sports scoreboard that has a game clock. (I am very much a noob at programming)I seem to have a problem with the game clock, I know I am sorry, another timer thread. (Trust me I read through about 50 of the 77 posts with 'countdown' in them)I have two solutions so far, unfortunately neither one are exactly what I am looking for. I want to have a scoreboard that counts down from a set time in the format of 00:00 and allows me to decrease and increase the time if it differs from the official clock.
[Code]...
View 6 Replies
Mar 14, 2010
I am new to VB, trying to create a tic-tac-toe game but none of the tic-tac-toe tutorials use 2 dimensional arrays. Since tic-tac toe is 3x3 I created 9 buttons and want either an X or an O to appear depending on where the user clicks. I want one set of instructions to handle the multiple buttons. I was told to use Case statements.
This is what I have so far. Not sure how much is right but hopefully it gives you an idea of what I am looking for.
[Code]...
View 20 Replies
Jun 10, 2010
I am looking to create a video poker card game using visual basic.I have limited knowledge of visual basic 8 but was very curious about visual basic 10.
View 4 Replies
Mar 28, 2012
i am trying to create computer guessing game for my college. computer guess my number like i have random number in my head for example 45 then the first computer guess is 50 then i tell the computer that is too high then the next guess is 25 then i click low then it goes on i cant figure out how to make it run it like when i click on high it supose to get the number low then when i click on low then it suspose to go low but it doesnt.
Public Class frmMain
Dim IntLowestNum As Integer = 1
Dim intHighestNum As Integer = 100
Dim Count As Integer = 0
[code]....
View 2 Replies
Mar 30, 2012
I am creating a points system for a game, this is the code I have but it isn't working as I want it to.
Dim intScore As Integer = 10
Dim intNumOfGames As Integer = 0
intNumOfGames += 1
intScore = intScore - 2
The user will start will a score of 10, but everytime they click the button the user should lose 2 points off the score. But my code above that doesn't happen, when the user clicks the button it only happens once leaving the user with 8 points throughout the game.
View 1 Replies
Oct 27, 2011
I create a mouse game for a single player. Set up a form with 4 rows of pictures boc controls. when a start button is clicked the mouse is "behind" one of the buttons while a stop image is behind 3 other picture boxes. The object of the game is to click the correct picturebox that contains the mouse. If the stop image appears before the mouse then the game is over. I don't understand how the logic works.
View 2 Replies
Apr 8, 2011
If I have a starting X/Y position and enter an angle and power, I want to determine the X/Y positions for a cannon to follow. I have seen many sites on this but no straight code to use. Anyone have an example of this? I just want the X/Y posiitons in small steps - not far apart from each other.
View 6 Replies
Nov 8, 2011
I have to create a game for programming class in school, my teacher said we were allowed to borrow code and then manipulate it our selves to create our own individual game. I chose Tetris so i am wondering if anybody has any code for this game from vb 2008.
View 2 Replies