Making A Game In Visual Basic Express 2008 With Several Forms?

Nov 18, 2010

Here is a wierd case - I am making a game in Visual Basic Express 2008 with several forms. Each windows form I've given a quit command that works well to end the game. (Me.Close) However if instead I click on the big X button that windows provides in the upper right hand corner - it does not look to truely stop the program.

I'm running this program in debug mode from the MS VBE editor, but when I click that X it tells me that program is still running even though all

View 5 Replies


ADVERTISEMENT

Visual Basic: Making Multiple Forms For An Orde?

Mar 31, 2012

I've been working on this project for two weeks now and I'm drained from all the hiccups I've come across. Now I've hit a brick wall.I'm making a "simple" order form in Visual Basic 2010 that calculates the amount due for an order and then from the total determines what the shipping will be. I've been able to accomplish the following tasks:accept customer data (name, address, city, state abbreviation, zipcode)calculate total with shipping costs (accurately, for the most part)clear the order form and exitBut the way I have it right now, a customer can only put in 1 order form.

Problem: I have to figure out a way to allow a customer to place an order form for multiple items. (I'll assume that a customer will not place an order for more than 20 items). So what would be the best way to go about saving the information for multiple items then calculating the cost at the end?If it's multiple form creation, how is that done? Is the keyword "Container" the way to go, and how

Snippet Code:
Private Sub total_mouseleave(ByVal sender As Object, ByVal e As EventArgs) Handles total.MouseLeave

[code].....

View 2 Replies

Making A Hangman Style Game In VB 2008 Express?

Jun 1, 2009

I am making a hangman style game in VB 2008 Express. I am a beginner and instead of making any graphic related content (i.e. the hang man), I am using a 3 strike system. So far, I am just about finished. Only problem is whenever I choose a letter that is incorrect, it adds 1 to the strike label. The problem is, the second time I choose an incorrect letter, the "1" does not change to 2! The line is as fallowed:

strikelbl.Text = +1

View 3 Replies

.net - Visual Basic Express 2008 Randomization?

Apr 26, 2010

I have been given a task to:Develop a program where a child will be presented with picture of a fruit (one of five possible fruit) on the screen at the click of a start button. The child will then try to recognise the fruit and write its name in a specified place on the screen. On the click of a check button the name of the fruit written by the child will be checked by your program and if correct will reward the child with a suitable message. If the name presented by the child is not correct, a suitable message should be presented on a red background with the correct name of the fruit included in the message.

so far I have managed to create a form with 5 different fruit pictures and a text box below them. a button at the bottom of the form then checks the results and presents a message box to tell them if they have passed or failed.

[Code]...

View 1 Replies

Visual Basic 2008 Express Edition

Jan 9, 2010

I too have recently downloaded VB 2008 Express, but when I try to register it after the live.co.uk sign in all I get is a blank web page. How can I get registered ????

View 1 Replies

Add An Icon To A Button In Visual Basic Express 2008?

Mar 30, 2011

Is it possible to add a small icon/picture within a button (to the left of the button text)? I don't seem to find any solution to this

View 1 Replies

Add Template Into Visual Basic 2008 Express Edition?

May 15, 2009

I want to creat office addins with my VB 2008 express, but i can NOT find the template.

View 3 Replies

Import An Exe File To Visual Basic Express 2008?

Jul 30, 2009

Is there a way to import an exe file into a visual basic project?

View 8 Replies

Write A 64bit Dll Using Visual Basic 2008 Express?

Aug 20, 2010

I currently have a dll written w/ VB 6. The problem is my office upgraded to 64bit windows XP and the dll won't work. from what I have found it apears I need a 64bit dll.but am having trouble creating one.

View 2 Replies

Find All The Icons Visual Basic 2008 Express Edition Uses?

Jul 24, 2008

Where can i find all the icons Visual Basic 2008 Express Edition uses?

View 22 Replies

Installed Visual Basic 2008 Express Edition But None Of .NET Classes Are Available?

Jul 16, 2011

For instance, I was trying to use

WebRequest request = WebRequest.Create("http://www.contoso.com/");

But get an error message!I am trying to use the WebRequest .NET framework class [URL] How can I enable .NET? Is something wrong with my installation?

View 2 Replies

Ms Access 2003 Mdb Into Visual Basic 2008 Express Edition

May 7, 2009

My intention is to load my data from access database through datagridview but it keeps telling me the same error. This is the exact error message I've gotten.. it threw an oledb Exception stating: Could not open table 'MSysAccounts' in the workgroup information file. I've been browsing and viewing different resources but I still do not find a solution to view my data in datagridview. Few things I've tried:

1. I originally uses Ms Access 2007 to load, but it does not seem to work well, hence i converted it into Ms Access 2003 format. Same error displayed.

2. Working around with the workgroup in Access 2003, creating new workgroup which creates System.mdw file and I replaced it in:

[Code]...

View 5 Replies

Run A Visual Basic 2008 Express Program At Windows 7 Startup

Mar 15, 2012

I am trying to get my program to run at windows startup. Not just load the VB project but to run it.

So that the user just turns on the computer and the project is up and running.

I have seen and tried lots of code suggestions (all different) none seem to work!

View 6 Replies

Start A Program With Visual Basic Express Edition 2008?

Sep 18, 2009

how I can start a program with Visual Basic Express Edition 2008? I mean do you have any code I can use as a base to start another program? If that made sense.

View 3 Replies

Visual Basic Express 2008 - Connecting To Active Directory

Aug 19, 2009

First let me statethat my VB skills are appalling. Havent touched it since VB3 Ok here is the scenario. we want to be able to give our first line support the ability to modify AD groups BUT WITHOUT giving the acess or powers in the AD console. I have written command line scripts to do this and it works fine. Un fortunately we have people that think that if it dont have a OK NEXT CANCEL button it aint Windows :(

[Code]...

View 6 Replies

Connect SQL Server 2005 Express Database With Visual Basic 2008?

Aug 15, 2011

i am new with SQL server 2005 and visual studio 2008.how do i connect the forms and the tables in the database

View 4 Replies

IDE :: Add New Item On Project Menu Hangs Visual Basic 2008 Express?

Jan 16, 2009

For some reason, the Add New Item command on the Project Menu is hanging VB on my Vista based machine.but now, it hangs. By that I mean the the little circle cursor spins and spins and spins... This happens even when all I do is start VB, start and new project. and then try to add something, eg. another form, a class, anything except "existing item".

View 1 Replies

Open And Save Excel File In Visual Basic Express 2008

Apr 19, 2010

I'm using VB Express 2008 and I would like to open an excel file and save it with different name file. For example, I would like to open a file in
C: est.xls
And then I want to save them with different file name such as
C: ry.xls

View 10 Replies

Read Excel Cells Using Visual Basic 2008 Express Edition

Mar 1, 2010

I am trying to read off some cells from an Excel File. I can't figure it out. Here is my code:

Public
Class TOC
Dim ExcelObj As New Microsoft.Office.Interop.Excel.Application

[Code]....

After making WorkSheetObj I dont know what to do.. I am trying to dynamically change the Texts of Four buttons. The text values are to be to read off of Excel cells.

View 5 Replies

Running A Setup.exe Program Inside Visual Basic 2008 Express?

Jan 21, 2010

I am in process of writing a setup program that will reside in a USB stick.After inserting the Stick the VB2008E program starts (dont know how) and guides the technician to do certain tasks. As a part of this She/He needs to run a Setup.exe that resides in the same USB stick.

1- How do I define the drive letter of this USB stick.

2- How do I run the x:Setup.exe program without exiting the VB2008? The install process should begin after click of a button.

3- Would Autorun work on USB drives to run the program automaticaly?

4- How do I compile to make a single EXE file at the end?

View 1 Replies

Set And Get User Environment Variables In Visual Basic 2008 Express Edition?

Nov 14, 2010

This was my code .

Private
Declare
Function addelements
Lib

[Code].....

meeting the requirement i.e procedure to set environment variable and use/get that in my code. make necessary changes in my code accordingly.

View 5 Replies

Fill A Textbox With Text From A Textfile In Visual Basic 2008 Express Edition?

Jun 13, 2009

I am making a Help-form for my application. A Help-form normally has a ListView on the left and a RichTextbox on the right. When you click on a Help topic in the ListView, the text in the RichTextbox is supposed to change accordingly. The text file is part of the application's resources.

I also asked the question on stackoverflow: [URL]

View 2 Replies

Visual Basic 2008 Express Edition Application Does Not Work On Windows XP Machines

Jun 23, 2010

I have a Visual Basic 2008 Express Edition application that operates as a front end for iSeries V6r1. The application was developed on a windows 7 machine. Users load the application from a shared folder on a server. Currently, there are 2 Vista, 3 windows 7 and 4 XP users. All had no problem in loading application, all users except 3 of 4 XP users can run the application with no problems. However, 3 of the XP users receive the following error message when they perform any action that tries to connect to the iSeries:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

All 4 XP users are on same service pack

View 8 Replies

Connect To A Database On SQL Server R2 Express From Visual Basic Express?

Nov 1, 2011

Is it possible to connect to a database on SQL Server R2 Express from Visual Basic Express? I am following a set of tutorial videos done in SQL Server 2005, but cannot seem to connect to create the database. I have created the database in SQL Server R2 Express, but cannot connect. Is there a work around?

View 4 Replies

How To Save A Forms Settings In Visual Basic 2008

Jan 5, 2010

trying to save the settings in a settings form but every time m setting the settings (when the form is running) then exiting it and then reopening itare the settings that i setted not there Ex : I open form2 by clicking on a button thought form1 and change the settings for example i uncheck a checkbox then do i close form2 and then open it again. And the settings should be saved so the unchecked checkbox should still be unchecked.BUT when i close form1 should the settings be unsaved and go back to normal :)

View 3 Replies

Saving A Game In Visual Basic?

Mar 3, 2012

when the user runs the program for the first time, it will ask for his name. After his name has been entered and he clicks Ok, the main menu comes up. From there he can click Start to begin the first level of the game. After he finishes that level, I want the application to save his progress so it knows what level he last finished. Then when the user decides to quit the application entirely and restart it, I want the application to skip the name dialog and go straight to the main menu since he already has a saved game. Then when he clicks start, it will start off with the last level he finished.

I also added an option in the main menu where the user can reset all his data. So next time the application starts, it will ask for his name as if it was starting up for the first time.

View 6 Replies

Add Multiple Hyperlinks In A Label Control In Windows Forms In Visual Basic 2008

Apr 4, 2011

In a label box, I want to list a couple of websites, email address along with some text. How do I go about it?

Potential uses- As a Help > About dialog box where websites, email of the author can be listed.

To make things as easy as possible for the user, and encourage visiting of the mentioned websites.

Simple text will be ignored, while standard blue color, underlined text with hand mouse-cursor will need no thinking on user's part.

View 1 Replies

IDE :: Visual Basic Express 2008 Displaying "Save As" Dialog When Saving A File?

Nov 14, 2009

Whenever I modify a file in the IDE in Visual Basic Express 2008, and then press the "Save" or "Save All" button, the "Save As" dialog opens, then says that a file of that name already exists and requests confirmation of the save. This didn't happen in Express 2005 as far as I remember.

View 3 Replies

Two Dimensional Array Poker Game In Visual Basic

Apr 24, 2012

I have finally been stumped this semester in my Visual basic course. Mainly because I have to write a program that is started from something that I have not created. I have to create a program that will take in info from the user, then spit out the poker hand that they are holding. For instance, the user will type in 1 for ace, 2 for 2, 3 for 3......10 for 10, 11 for Jack, and then in the next column type in C for Clubs, S for Spades.. and so on. Here is the code I have been given:

[Code]...

View 5 Replies

Fetching Data From A Microsoft SQL Server Compact 3.5 Table Into A Microsoft Visual Basic 2008 Express Edition Application?

Aug 7, 2009

I am building a VB 2008 Express Edition application.I have built a database (with a single table) using SQL Server Compact 3.5 and have connected it to the project. I am able to view and edit the data using a DataGridView on a second form (tutorial made this very easy). I need to work with the data in the table within the application. how to easily load the entire table into an array or even read the table a row or cell at a time so that I can make all of the data available for manipulation within the application (the tutorials only seem to show how to display the data).

View 7 Replies







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