Create A Program That Plays A Game With The User?

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


ADVERTISEMENT

Create A Memory Game In Program?

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

Program That On A Button Click It Plays Music?

Mar 18, 2011

i have a program that on a button click it plays music. when i click to play i recieve a loader lock. can someone tell me why this is and provide me a possible solution?

View 2 Replies

Game Programming :: Create A Slot Machine Application : User Movable Picture?

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

Create A Little Program Where Can View A Few Game Servers?

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

Get A SplashScreen To Appear At The Beginning Of Program And Plays A Shockwave .swf File Automatically Without Loop?

Apr 27, 2010

I want a SplashScreen to appear at the beginning of my program and plays a shockwave .swf file automatically without loop, then closes he splashscreen.i want this ALL to happen on load on SplashScreen, i dont want to click a button and search my computer for a flash file. I want my flash to be in my program like so...

i get some "cross-thread" error What do i need for my .swf to run automatically on load? Also woundering if this is the right way to say the file location when the file is located in my solution explorer?

View 4 Replies

Writing A Program Which Plays Audio Using A Windows Media Player Control?

Oct 11, 2009

I'm writing a program which plays audio using a windows media player control. It's quite basic but I'm running into a problem.

Soundplayer.Ctlcontrols.play()
Sleep(3000)

For some reason when this appears in my code, the sound doesn't start playing until AFTER the sleep. I have music running in the background, using another windows media player control, that continues playing just fine.

Basically, I want nothing else to happen for the duration of the sound, hence the sleep, so how can I make it so my sound starts playing BEFORE the sleep?

View 7 Replies

VB 2008 Create A Program That Intercepts The Traffic Going Into And Out Of The Game Including Whats Writen In The Chatbox?

Aug 30, 2010

I have a game which has a chatbox in it and was wondering if its possible to create a program that intercepts the traffic going into and out of the game including whats writen in the chatbox.I am the host of the game.Basicly I want the information to be displayed in something like a richtextbox?

View 1 Replies

Interface And Graphics :: Create A User Interface In A Game Such As The Application XFire Using VB?

Jan 12, 2010

how to create a user interface in a game such as the application XFire using Visual Basic?

View 3 Replies

Game Programming :: Create A Picture Shuffle Game?

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

Game Programming :: Create A Zombie Style RPG Game

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

VS 2010 Game Multi-Client - Program That Enables A Game To Have More Than One Instance Running

Nov 18, 2011

I want to make a program that enables a game to have more than one instance running, where it would otherwise be unable to be done. How should I go about this? A sandbox? Hack?

View 3 Replies

Game Programming :: Pig Dice Game - When Program Runs - Never Goes To Computer's Turn And Does Not Update Users Score Either

Apr 18, 2012

On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.

Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer

[CODE]...

View 6 Replies

Show Program Front Of The Game While Playing A Game

Nov 7, 2011

I want to make program that shows info in game while playing. Problem is that I have no idea how to do it. I tryed some methods, but unsuccessfully. So does anyone has idea how to make it ?

View 3 Replies

Create User ID And Charts From Program?

Mar 23, 2010

Can i create a connection which will give the next registered user a user ID (a number) from the .csv?

II tried something with Sum and +1 every time an "add" button is clicked, so it would count the number of registered users but when i clear the .csv file i will have a number that ain't connected with the amount of users.

if i Ex. have twenty people registered in my .cvs file the next one will show the number 21 in a label in the "add form". Excel have the numbers from the 1 to infinity in the side if i could call the next empty line number into a label or something like that the user ID will follow the numbers of registered users.[code]....

View 12 Replies

Create A Program Where The User Will Type In A Number?

Nov 15, 2011

im trying to create a program where the user will type in a number then choose the units its in and units it will be converted to from 2 comboboxes. The output should be changing as different units are clicked without a button.

Public Class Convert
Sub Calculate()
Dim Unit1 As Double = (ComboBox1.SelectedItem)

[Code].....

View 2 Replies

Create A Program Which Will Allow The User Enter Ten Numbers?

Nov 5, 2009

5. Create a program which will allow the user enter ten numbers. The program is to count how many numbers were above 50?

View 1 Replies

Make A Program Which Allows The User To Create Stuff?

Nov 12, 2008

about a week since I started. Now I'll just ask my questions straight away:I want to make a program which allows the User to create stuff, say a survey. What I want them to be able to do is,

1. Decide the headline
2. Decide the layout of the survey
3. Import pictures
4. create new pages, like a form.

And then save this survey to a file which can be opened either by itself or by using some sort of viewer program. And I want the user to be able to put in answers to questions in the survey which wont be visible when you open the file in the viewer program. Now I dont expect you to write the program for me, just give me ideas on how to solve them, where I can learn about methods to get there and so on.

View 12 Replies

VS 2005 : Create A Multi-user Chatroom Program?

Jun 25, 2011

how to create a multi-user chatroom program. I don't have the server, but I have got a web hosting. I want to know how I can connect to the chatrooms by connect to my web hosting using with httprequest?And also, I would like to have code to allowed me to send the users private messages, ignore the users and kick/ban the users out of the chatroom.

View 10 Replies

Create A Printer In The Current Session Of The User Running My Program

Sep 29, 2010

I'm looking for a little assistance in creating a network printer. I will have all the information required to create it, but I'm not sure where to start looking. I just need to create a printer in the current session of the user running my program.

View 2 Replies

Create A Program That Ask The User To Enter The Amount Of Hours Work?

Sep 22, 2009

I have to create a program that ask the user to enter the amount of hours work for 5 diferent projects in textboxes. The user have to enter the time he worked in minutes. Ex: 153, 280, 600, 130, 20... The total then is out putted into a textbox in this format "13 Hours and 35 Minutes" I'm having dificulties making the conversion and the separation from hours and minutes. I understand that the total is divided by 60, but if we fallow the above numbers the total hours comes out to 1183 / 60 = 19.71. So I'm having problems with the .71 mnts or digits... so from this total I have to output the total of in this particular format: "19 Hours and ?

View 2 Replies

Create A Program That Lets The User Open A Text Document?

Apr 9, 2009

Ok i need to create a program that lets the user open a text document and lets him do the following. This is with Visual Basics 2008.

Count Characters
Count Lines
Count Words
Count All

I don't know how to get my program to count just individual words and i have no idea how to get it to do all 3.

[Code]...

View 5 Replies

Create A Simple Times Table Program Which Will Allow User To Enter An Integer Value

Jan 22, 2010

could anyone please help me with this1.Create a simple Times Table program which will allow the user to enter an integer value n (between 1 and 20) into a textbox. On the click of a button output to a label the n times tables. Use a For Next loop to perform the repetition.i can output them to a list box but only last one to a label ive been stuck for 3 days.

View 8 Replies

Create A Program That Takes An Amount Entered By The User And Then Convert It Into Half Dollars?

Oct 13, 2010

Im trying to create a program that takes an amount entered by the user and then convert it into Half Dollars, quarters, dimes, nickles, and pennies when the calculate button is clicked. Each coin has its own function and is shown in separate text boxes... right now i cant get it to work correctly. When i try to get half dollars to work it rounds up and then the rest of the coins say 0. How should i do this?

View 5 Replies

Create A Program Which Promps The User To Enter An Unlimited Number Of Test Scores

Jul 7, 2011

Create a program which promps the user to enter an unlimited number of test scores. The program should show the high score and the low score. You should use a loop of your choice within this program. The program should look similar to the one below:

View 3 Replies

Create A Shortcut For Program That Sends The User To The World Map Of A Website With The Press Of A Button?

Jun 7, 2011

I'm trying to create a shortcut for my program that sends the user to the world map of a website with the press of a button, but it isn't working. Here's my code:

Private Sub Game_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Game.KeyDown
If e.KeyCode = Keys.M Then
Game.Navigate("http:fallensword.com/index.php?cmd=world")
End If
End Sub

"Game" is a WebBrowser control.

View 4 Replies

Create Console Program Where User Enters A Character And Respective ASCII Value In Denary

Nov 21, 2010

The latest assignment from my teacher was to create a console program where the user enters a character and the respective ASCII value in Denary, Hexadecimal and Binary, Even Parity, Odd Parity and Hamming code is returned.I've managed to implement all of them except the latter with relative ease, I am familiar with the concept of Hamming code and can compute it easily by hand, but don't really know how to implement it as a function in my program. [code]

View 1 Replies

Create Link To Open User Control In Program Form To Use At Design Time?

Feb 1, 2010

I've got a VB.Net form application that dynamically loads user controls based on which navigation link the user clicks on. I'd like to make it easier to use at Design time by putting a link of some sort to open the User Control at design time. The link would go onto the form in the space where the User Control will be going. This just saves a little time from having to browse through the files to open the correct file.

View 2 Replies

Create A Program To Detect When A Message Is Received In Windows Live Messenger And Alert The User?

Sep 11, 2010

I was just wondering if there was a way with, using VB.net, be able to create a program to detect when a message is received in Windows Live Messenger, and alert the user?Essentially, MSN is minimized in background and our program, Program A, is also running in backgroung.Friend X sends us a message, the MSN icon blinks as usualy, but also a window pops up and shows the name of the user and the message.I was just wondering if there was a way to connect to MSN in some fom to be able to do this?

View 1 Replies

VS 2010 : Create A Program That Rolls A Dice A User Generated Number Of Times And Give The Frequencies Of The Numbers That Come Up?

Oct 26, 2010

I need to create a program that rolls a dice a user generated number of times and give the frequencies of the numbers that come up.I cannot for the life of me figure out how to get the frequencies?

View 5 Replies







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