Play A Mp3 On Main Menu For Game?

Apr 28, 2011

Im trying to play a mp3 on my main menu for my game however its not playing... ive tried hardcoding the file to the desktop, inserting the file into the solurtion explorer and even declaring it its own sub?I just want the file to play when the form loads up?

View 14 Replies


ADVERTISEMENT

Added A Full Main Menu To Game And A Full Splash Screen

Apr 29, 2011

I have made quite a nice and tidy little game. Its based around space invaders and works quite well. however because i have finished my college project almost 2 weeks ahead of the assignments release date, my tutor has asked me to tweak my project and make it better.So far i have added a full main menu to the game and a full splash screen. I would like to add in a section for recorded high scores but have no idea how to attempt this at all.

View 3 Replies

Context Menu Affects Main Menu Drop Down Location

Jul 13, 2010

I open a context menu by right clicking it.

It stays open when the cursor leaves it.

I click a main menu item.

The drop down opens at the top left of the screen.

Not under the main menu item I clicked.

I want to search the Internet but can't guess what key words to use.

View 2 Replies

Play A Java Game In VB Form?

Sep 22, 2011

Can I play a Java Game in my visual basic form?

I wan't to create a OS and add minecraft to it ...

View 1 Replies

Make A Game Trainer For A Play Station?

Aug 20, 2009

How hard would it be to make a game trainer for a Play station 1 game (on PC) ?

View 5 Replies

VB 2010 (click Bot) Make A Little Bot For A Game - Play

Apr 7, 2012

I try to make a little bot for a game that i play. But i don't know how to make a functie that click on a resources (looks like this: [URL]

View 1 Replies

Add A Menu In A Main Form From A Dll?

Jun 11, 2011

I have a main form that reference to a dll. Inside the dll is also a form that will add additional menu in the main form that calls it. How can I do that?

View 1 Replies

Games Schedule Structure - Every Team Play One Game Against The Other?

Jun 4, 2009

I need to build function that will create a Games schedule structure,this function accept an integer that will represent the number of teams (4,6,8,10,12,16 etc . . .) and it create a games schedule for that teams which every team play one game against the other, another thing that will make that function perfect is if each team will play every second match at home.

View 5 Replies

Adding Separator Into Main Menu

Nov 12, 2009

i have a main menu and when the program and launched the contents are cleared then a few items are added before loading in all the favorite websites and such. I'm trying to find the code to inset a separator after the items i have defined are inserted.[code]

View 4 Replies

How To Build A Main Menu Screen

Jan 1, 2011

I'm a beginner VB.Net programmer using VS 2008.I'm planning a new winform project whose main form should look more or less like this:

[Code]...

The user can either choose from the Main Menu (by clicking an item) or enter the item number in the textbox. For example, if the user clicks DoSomething3 in the Main Menu (or alternatively enters 3 in the textbox), another form will be opened and hide the main form.What would be the best way to implement it?Specifically, I would like to know how I make so that choosing from the menu and entering a number in the textbox fire the same event.

View 3 Replies

How To Add Recent File History (Last 3) To Main Menu

Mar 11, 2011

How to add a file history to my Main Menu. I open my windows application and select a txt file to open called "File 1". Later I open "File 2" and "File 3". I have now closed the windows application. A day later I open my windows application again. How do I view the recent files selected to my FILE menu? For example, I would expect to see "File 1", "File 2", and "File 3" under recent files. This would allow the user to easily reference the past recent files that were opened. Word and Excel have the feature and I am sure it can be done in VS2005.

View 5 Replies

Main Menu Doubles In Height When Re-doc A Form

Apr 18, 2012

I have a main form that is set to be an MDI Container (IsMDIContainer - True). I have a number of child forms to that parent. When I first display a child (Maximized and .Dock= DockStyle.Fill) in the MDI Window, all is fine, but if I click the maximize button to bring the child down into the MDI window, then click the maximize button again to dock it again, the size of my menu in the main form doubles. I have that main menu setting "Allow Merge = False."

View 3 Replies

Setting Parent Of Main Menu Control?

Mar 25, 2011

Any way I can set parent of the MainMenu control? I don't want to use other controls because there is no windows 7 or vista style as in picture. Other controls have just ugly blue and white color. When I add MainMenu it sets position on top of the form. I want to set MainMenu Parent to one Panel. Other controls have just ugly blue and white color.

View 8 Replies

[02/03] Login Screen Not Appearing Before Main Menu?

Jan 7, 2009

I'm creating a basic window's application where I have a login screen where the user will enter the userid/password etc. Only problem is when I try to run the application, it goes straight to the main menu.What would give the main menu precedance over the login screen?

View 5 Replies

Game Programming :: Sound Files - Use .exe On Another Computer It Doesn't Play Because It Does Not Recognize .wav Location

Jan 17, 2010

To programming and have a question with sound files. I am trying to figure out the basics and here is what I did: I created a button that is supposed to play a sound.

My.Computer.Audio.Play("C:.......file.wav")

When I click this button in my .exe file it obviously plays because I am using the computer with the above location for the .wav file. When I use the .exe on another computer it doesn't play because it does not recognize that .wav location. How do I make this work for me? Do I need to embed the .wav with my .exe somehow?

View 4 Replies

Make A Main Menu Which Accepts User Input?

Jul 5, 2011

I'm trying to make a main menu which accepts user input and then checks inputted password for validity against passwords I hardcoded into an array. Firstly, in the for loop, only the first password index is being checked. I'd like the inputted password to be checked against EACH password inside the ValidPasswords() array.

Second, My for loop isn't doing what I want it to do. I'd like to give the user 3 chances to enter a password... If he/she exceeds 3, it tells them they've tried 3 times and exits the form. Right now, it just loops 3 times and exits without giving the user a chance to try again. If I put a return statement in, it just keeps returning and doesn't loop 3 times.

Public Class frmMain
Dim ValidPasswords() = {"1234", "2222", "8918", "9911"}
'Dim ValidPWList As New List(Of String)

[Code]......

View 1 Replies

Menu Entries - Pick 3 And Super 7 In Main Form

Jan 23, 2009

I am new to VB, I am currently trying to make a basic Lottery application for me and a few friends. I have a couple of questions regarding that. Basically the reqs are:

1) we should be able to input for 2 lotteries (super 7 and pick 3) the amount of money spend individually. IN a separate menu Should be able to input the winning numbers for past draws, in a notepad or access.
2) Should be able to see the most picked 3 numbers in the previous draws for both the lotteries.

Question. Say I have menu entries: Lotteries- Pick 3 and Super 7. This is my main form. If I go pick 3, enter last draw numbers should it open up a new form or can I just repaint and work in the same form?

View 1 Replies

Booking Details Arent Being Shown In The Main Menu Screen?

May 26, 2011

im writing a room booking application, and after i've entered all the details for a booking, which looks like this;

'Declare Variables
Dim sUser As String
Dim sRoom As String[code].....

and now the problem is, its not working , its all going through ok and im not getting any run time errors. But the booking details arent being shown in the main menu screen.

View 11 Replies

Swapping User Controls - Closing Main Menu Screen?

Feb 19, 2010

I have a project (Written in Visual Basic, using Visual Studio 2005) which has several user controls. I have had no problem setting it up where you click a button and it load a user control, but I cannot get it to remove the control that is currently open. For example The program opens on a starts screen, which has the choices, Control1, Control2, and exit. When you click Control1 button it should open up a screen to display an inventory. It does this just fine, but it does not close the main menu screen.

Here is the code for the initial startup of the project:
Public Class Form4
Public Sub Form4Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim CtrlMain As New ControlMain()
With CtrlMain
.Location = New Point(0, 0
[Code] .....

View 7 Replies

Make A Menu For A Game?

May 10, 2012

How do i make a menu for a game on vb.net

View 1 Replies

VS 2008 - Link Main Window Form With Menu Strip To Set Parameter

Apr 15, 2010

I an trying to create a GUI and I have added a menu strip, under the tools section of the menu strip, I have added a settings option. I want to click settings and have it open another windows form linked to the main windows form with the menustrip in order to set certain parameters. How do I link these two boxes using the settings menu strip?

View 1 Replies

Loading Flash Game From Menu?

Jul 18, 2009

I am trying to make a flash player.I would like to place the exe and the swfs' into one folder and then use it on other computers. So I need to have the program load the game from the folder labled "SWF Files" which is in the same folder as the .exe This is what i have tried

Private Sub ThingThingToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ThingThingToolStripMenuItem.Click
Try

[code]....

View 4 Replies

Make A (Mp3 Player) In Game Menu?

Oct 10, 2009

I want to make an ingame menu. When you open a game a menu will pop up with a hotkey. I don't need you to do the work for me I just need a sample of a ingame menu with a hot toggle (ie: the menu doesnt need an interface, a black square that pops up with key).

View 7 Replies

Make A D3D Menu For In-game With VB 2008?

Apr 3, 2010

I just downloaded VB 2008 but i have a question, can you make a D3D Menu for in-game with VB 2008?

View 5 Replies

Start A New Game Within Menu In Random Number Generator Created In Program?

Apr 11, 2011

I'm trying to teach myself how to create a Random Number Generator in Visual Basic 2008 using a menu system and I'm having difficulty with the following:

If I type in a number above 100, I don't get a message appearing saying that the number that I typed is too high.I don't know what I need to code to start a new game.How do I get messages to show up when both pressing the "Check Me" button and using the "Give Me the Number" option to say whether the answer is correct or too high or too low.[code]...

View 3 Replies

MDI Main Form Having Menu Strip And One Maximized Mdi Child Form?

Dec 14, 2009

The problem is that icon on the Child Form appear in front of Menu strip control on MDI form when child form is maximised.

View 2 Replies

Click The The Song To Play, Even The Play Song Finish But Does't Play Automatically?

May 8, 2010

I want to the song can auto start one by one when import the song to list box. But it doesn't work that I need to select one by one. Besides, the program can repeat all the song or individual song when checkbox enable.

If AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsMediaEnded Then
If playlistbox.SelectedIndex < playlistbox.Items.Count - 1 Then

[code].....

View 4 Replies

Shell - Media Player Play File Error - Refuses To Play

Sep 16, 2010

Im trying to open media player (full screen) and play a movie. When i create the file path like so: Dim MoviePathVTS As String = String.Concat("""" + tempMoviePath, " \VIDEO_TS\VTS_01_1.VOB" + """")

It wont play the file but if i do it like this: Dim video1 = """F:\Movies\DvD\Angels and Deamons\VIDEO_TS\VTS_01_1.VOB"""

It plays fine? the file paths are the same including the extra "" but it just refuses to play. I need the top one because i have many movies in a treeview.

Heres my code

Private Sub watchNow_Click(ByVal sender As Object, ByVal e As EventArgs)

'get the position of the selected node
Dim i = movieTreeView.SelectedNode.Index

[CODE]...

View 2 Replies

Make A Play Button Play/stop Toggle?

Feb 9, 2010

How can you make a play button play/stop toggle? Currently my button plays a file in WMP but when I click it again, it just restarts the file. I would like it to toggle on and off, play and stop, not play and pause.

View 8 Replies

VS 2008 - Bunch Of Errors - Main Login Box And Then Fail To Show The Main Screen

Jul 28, 2009

My app works fine on the development machine and 3 other machines. However, some machines just show the main login box and then fail to show the main screen. There is no error message. I installed VS 2008 express on on of such machines and when i compile the project, the following errors appear:

Type 'Microsoft.Office.Interop.Access.Application' is not defined.
Type 'dao.DBEngine' is not defined.

[CODE]..........................

View 3 Replies







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