Create A Quiz On Visual Basic 2008 With Two Buttons?

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


ADVERTISEMENT

Visual Basic 2008 Click Html Buttons, Clicking URL Link, VB Automating Web Browser Control

Aug 29, 2009

I'm new to visual basic & have learned many new things in such a short period of time from being on the MSDN forums. I have learned particularly in the subject of automating web browsing control using the getattributes etc., but I have tried everything that I have seen in the forums to auto click the "Settings" link in a created gmail account and then have the browser automate the "Forwarding" to another gmail address. I haven't found a solution anywhere to accomplish this.

So here is an account to try out in which this should only take a few mins to a veteran coder:

[Code]...

View 1 Replies

IDE :: How To Create A Database In Visual Basic 2008

Sep 23, 2009

I'm a college student and starting to use Visua Basic 2008.Unfortunately couldn't find the right algo for adding a database in vb 08. T_TMy problem is that how to add a database access 2007 in visual basic 2008.

View 3 Replies

Buttons In Message Box In Visual Basic?

Apr 11, 2012

I'm writing a tic tac toe program and i have the board set up, and the game works for the majority. determining who wins. what i am trying to do right now is after a winner is determined, a message box pops up and says who ever wins. I would like the message box to contain two buttons. One button with the text, "Ok for new game" and the second button with the text, "Cancel to exit". I am using Visual Basic 2010 Express.

[Code]...

View 3 Replies

VS 2008 Create A Client / Server Chatroom Using TCPClient In Visual Basic

Jan 6, 2010

However I have hit a massive brick wall with my program. My program that I'm trying (can't emphasis this word the importance of that word) to create a Client/Server chatroom using TCPClient in Visual Basic. So far I can get my client to speak to my server. However, i'm trying to get the returned data to display in a listbox which never happened, i then tried a label, which again never happened then a text box which I'm sure you can figure out how that went! I'm not great at networking programmers nor am I not bad I'm terrible but duty calls when it comes to projects.

The code I currently have was mostly taken from the net but when I have the program fully work and I understand how the software works I intend to heavily modify for it to suit the needs of what I need to achieve. where I can get my client to display the data from the server that I have already sent to the server (which displays successfully within the server).

[Code].....

View 2 Replies

Adding Custom Buttons To A Visual Basic Form

Oct 18, 2009

Adding custom buttons to a visual basic form

View 6 Replies

Create A Dynamic Connection To Data Base Using Dataset (In Visual Basic 2008)?

Jun 14, 2010

i can connect to only one Data Base with dataset in Visual Basic . but i want Have Dynamic connection to data base i mean in want to my appliction users have ablity to connect to any data base they want (For Example : Choose file from menu and then open and then Select any Data base.)

View 4 Replies

IDE :: Internet Explorer's Back / Forward Buttons In Visual Basic

Mar 30, 2011

i am trying to figure out how to get buttons like the back/forward butons we see in internet explorer. i am seeing them in countless applications such as WMP, firefox, and even MS office i don't know what they are called so i can't find them in the toolbox or add them to the toolbox or even search youtube for video's on them

View 4 Replies

VS 2005 - Make A Quiz In VB - Label - Textbox And Two Buttons ?

Oct 13, 2009

Im trying to make a simple quiz in visual basic all it has is a label a textbox and two buttons. one of the buttons if for checking if the answer is rite while the other is to go to the next question. i want to make it so when the next question button is clicked the label changes to the next question and the textbox is cleared and then when i press check it checks the answer.

View 6 Replies

Quiz Game - Late Binding - Created Five Buttons In My Vb Application And One Table In Sql As Under

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

.net - Create A Variable In Visual Basic?

May 29, 2010

How do I create a variable in Visual Basic?

View 4 Replies

Create A Database With Visual Basic And SQL

Sep 22, 2010

I saw Beth videos, and I wanted o creat a database with Visual Basic...

I downloaded Visual Basic 2010 Express, but I saw there is no option to connect to server...

and in the Databse Explorer, there is only Data Connections and no "Servers"...

View 2 Replies

Create A Menu Bar On Visual Basic?

Nov 16, 2009

I want to know the steps to create a menu bar.

View 2 Replies

How To Create A Ftp Server Using Visual Basic

Apr 8, 2010

using visual studio 2008 and programming in visual basic. i need to create a ftp server and am not sure where to start...i've tried to find anything that would help but all i come up with is the system.net.ftpwebrequest object but nothing really about how to use it. i need it to download files only, show connections, the ip addresses connected and the progess of the file transfer.

View 6 Replies

ProgressBar Disappears When Updated Via Visual Basic (Visual Studio 2008 Standard)?

Jan 17, 2011

In a while loop, I am writing a progressively increasing integer value (between 0 and 100) to the Value attribute of a ProgressBar control, when it disappears from the window in which it resides. I have verified at the time that it disappears that the Min is 0, Max is 100, and Value is a valid integer in range.

View 9 Replies

Disabling The Visual Basic Background Compiler In Visual Studio 2008

Mar 20, 2009

How do I disable the background compiler for Visual Basic in Visual Studio 2008?

For my sins, I have to work on a large VB.NET project and it often locks up for 20 seconds at a time whilst doing the very helpful background compilation

I'd rather work blind between compiles and be able to do some work.

View 1 Replies

Make A Console Program In Visual Basic On Visual Studio 2008?

Jan 22, 2010

I am trying to make a console program in Visual Basic on Visual Studio 2008. I want to ask the user of the program if he wants the premium version or the standard version. If he chooses the premium version, then I want it to say premium in his "receipt" later on and if he chooses standard, then standard in the receipt.

[code]...

View 1 Replies

Send An Application To The System Tray With Visual Basic In Visual Studio 2008 Professional?

Sep 26, 2009

I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.

Can anyone provide me a method or sample code to do this?

View 8 Replies

Can't See Visual Basic Project Option In Visual Studio 2008

Jan 13, 2012

I am very new to Visual Studio Application Development. I'm mostly a DB guy. I used Visual Studio as a Report Designer, not much of an .Net guy though I can understand it. I am now asked to create a .net application and I'm trying to create a "Hello World" starter app. I opened my Visual Studio, click File-New Project and all I see is Business Intelligence Projects and Other Project Types. My step-by-step guide says choose Visual Basic, Windows Forms Application. But I can't see it as an option.

View 2 Replies

MS Visual Studio 2008 Standard Edition, Visual Basic?

May 22, 2012

I recently loaded my copy of MS Visual Studio 2008 Standard Edition, with Visual Basic, on to my new laptop, one with a Windows 7 operating system. This version of Visual Studio had been on my other laptop, a Windows Vista machine. When I attempt to run any of my Visual Basic applications which has a MSFlexGrid container on it, I get this error message "Unhandled exception has occurred in your application... The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG). Also,

View 2 Replies

Visual Studio 2008 (visual Basic) Error Id Bc32400

Dec 19, 2009

whilst trying to debug a sample program, get error code bc 32400. Also error code Class 'CLSID_CorSymWriter' could not be created system error &H80040154&

View 3 Replies

Create A DLL From A Class Library In Visual Basic?

Aug 11, 2010

I am trying to create a DLL from a class library in Visual Basic.

First I created a new Project in Visual Basic Express 2010 as a class library. Then I added a class which contains a function that I want to access in another program. This is why I want to export the class library as a DLL. In visual studio I am compiling the project which refreshes the saved dll in the bin folder of the project directory. When I open this dll or include it as a reference in another executable visual basic project, it does not find the function. how to generate a dll from a visual basic class library properly?

Here is the code of the class stored in the class library project:

Public Class Test
Public erg As String
Public Shared Function fTest(ByVal in As String, ByRef out As String) As Boolean

[Code]....

View 6 Replies

Create A Flashing Button In Visual Basic?

Aug 21, 2011

I have a two part question

I have a button on a form that when clicked i want to have it flash a few times. I have tried creating a for-next loop using the visible true/false property but I only get one result, that being false.

I also want to vary the lenght of time between the flashing.

View 3 Replies

Create A Macro Recorder In Visual Basic?

Jun 13, 2011

How to create a macro recorder that will save each and every keystroke, like the one in MS WORD, and save the saved keystroke in a database, and it will allow user to assign it a hotkey to paste the saved data anywhere in e.g. text editor, emails, etc!

View 5 Replies

Create A Print Button Using Visual Basic?

Dec 9, 2009

I want to be able to have a print button on my form that when clicked, automatically prompts the users printer to print the form in it's current state when the button was pressed.

View 6 Replies

Unable To Create Visual Basic Listbox?

Mar 14, 2009

How to display zeros after decimal place in numbers in Listbox?

View 3 Replies

Add 3D Space In Visual Studio 2008 Using Visual Basic?

Aug 22, 2011

I have been working on a game development program for a few days now. And have come to a halt on one part, and thats adding a 3D space in the program. I do not know the code for this, would some one please provide something i could use for adding 3D space in my project? for example, i have a panel set up to be the view port in to the 3D space. Now i need to figure out how to program it so you can see a 3D space, click on the mouse and drag and the grid will follow the mouse.Likecreate a grid, i wish to give it a grid of 150 x 150 grid pixles.

View 2 Replies

C++ - Create A Login Application With Visual Basic (using WebHttpRequest)

Jun 27, 2012

how to make that application send a http request via POST to a file on my webserver with the username / pw.

After all the tutotials I've been reading, I concluded that none worth spending my time with, because they all based on own database, and I'm looking for one that connects to a maestro server and requests the data from there.

View 2 Replies

Cannot Create Visual Basic Service-based Database

Aug 13, 2011

When ever I try to add Service-based Database in Visual Basic 2010 Express Edition it just prompts me a message.

And if it means anything this error started showing right after I installed
Visual Studio 201 Professional test.

View 5 Replies

Create A Layered Form In Visual Basic .net 2010?

Feb 15, 2011

how to make a layered form (im a begginer!). I've found something about calling API, but that sounded like old; cant I do this with .Net? If api is necessary, with that hwnd thing, how do I call it? And if you are so kind, is there a way to search for thing only for visual basic .net 2010? Because i dont find a way to practice a strict filter, and visual basic 6, or old visual basic stuff (if not other languages) appear mixed with the program i use.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved