Smartphone - Play WAV On Form Open?

Apr 27, 2009

I am in the process of developing a simple game for Windows Mobile Pro. Can anyone tell me how to play a short WAV sound when a form opens?

View 5 Replies


ADVERTISEMENT

How To Open And Play Video Files In Windows Form

Jun 8, 2011

how to open and play video files in windows form? also save videos in a specific folder inside the project.

View 2 Replies

How To Get Values From Access Database To SmartPhone App

Apr 29, 2009

So I already have a smartphone application, and I already connected it to my database. How do I get data from that database to be loaded into the form? For example, I got a table 'Shops' with a column 'ShopType'. I want to put all shop types in a comboBox when a soft key is clicked.

View 1 Replies

Open A Music File And Let It Automatically Play?

Dec 28, 2010

I started making a program, and I wanted to insert music to play. i just added music to the resources and used the code my.computer.audio.play(my.resources.name_of_the_file and so on. this worked perfectly until I added the 5th song. the resource file became to large and vb said it was corrupt. so I thought of a new way: making a music file opener. I made a code so a window opens where you can select your .wav files. that all worked, but I couldn't get it so the music would start automaticly or that it would actually play. this is the code I have so far:

vb.net
Dim Open As New OpenFileDialog()
Open.Filter = "Wav [*.wav*]|*.wav"
Open.CheckFileExists = True

[Code]....

as you can see I put stars in the place where I have no idea what I have to do next. I e.g. tried my.computer and a path

View 2 Replies

Open Zune And Play A Certain File After It Has Finished?

Feb 2, 2011

Basically, I want to check if zune is open, and if it is it plays the file but only after it has finished playing the current file. How do I do this?

View 4 Replies

Android - Develop Smartphone Applications Using Rather Than C# With The MonoDroid Visual Studio Addin?

Apr 5, 2011

I would like to know if it is possible to develop smartphone applications using VB.NET rather than C# with the MonoDroid Visual Studio addin? Also, if possible could anyone point me in the right direction of some example code in VB.NET not C#?

View 2 Replies

Open The Same Form In My Application One Time Only Cannot Open The Form Two Times?

Feb 23, 2009

How I Can open the same form in my application one time only can not open the form tow time in same time

View 5 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

It Open A Bunch Of Tabs That All Go To A Link With A Video, And Then Have It Automatically Play That Video?

Jul 7, 2009

I was wondering if it was possible to have a program open Firefox, and have it open a bunch of tabs that all go to a link with a video, and then have it automatically play that video?

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

Play A .swf File In Form?

Apr 30, 2009

How to play a .swf file(flash file) in vb.net form. please tell me the code. I dont usually request codes. but I dont know anything about this.Im using vs 2005.

View 2 Replies

Play A Avi File In A Form?

Mar 5, 2011

I am trying to play an AVI file inside a form. I have added the windows media player controller to the form but dont know how to play the video i am after.

The video is called People.avi and its in images/people.avi

i dont really know where to start. this is the best i have [code]...

View 3 Replies

Play A Wav File On My Form

Jun 10, 2011

Need a simple way to play a wav file on my form.

View 2 Replies

Play An AVI Fullscreen On A Form?

Nov 22, 2010

I need the simplest code possible to play an AVI fullscreen on a form.

View 5 Replies

C# - Get Smartphone Like Scrolling For A Winforms Touchscreen App ( Scrolling Panel )?

Aug 5, 2011

After scouring the articles online I have come up with this design for a winforms based touchscreen app that needs smartphone like scrolling. The app itself will run on a tablet laptop or touchscreen desktop.I put everything I want to scroll on a panel. Set autoscroll to true (which will show scrollbars)Now put this whole panel inside a groupbox.Shrink the groupbox until the scrollbars are hidden (visually hidden, not visible = false)

Now the fun part I am stuck at.I think I have to handle the mousedown, mouseup & mousemove on the panel to set the autoscrollposition so that when someone touches the panel and drags, it does it's scroll magic. Please help fill in the few lines of code in below method stubs. The msdn doc on autoscrollposition is very confusing since it returns negative numbers but needs to be set to positive with abs and what not.

Point mouseDownPoint;
Point mouseUpPoint;
Point mouseDragPoint;[code]......

View 1 Replies

Forms :: Play A Video On Form?

Nov 2, 2009

Does anyone know how to play a video on a windows form in a window like using a picturebox with a JPG?

View 4 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

Play A Video On Background Of Form?

Feb 15, 2012

how to play a video on the background of the form please guide i am really confused

View 7 Replies

Play A Video On Form Start Up?

Nov 4, 2011

when form Loads i want a video to play in a picture box or panel how do i do that? This is what i have so far.

Imports Microsoft.DirectX.AudioVideoPlayback
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code]....

View 7 Replies

VS 2010 : Play More Than 1 Waves On 1 Form?

Dec 2, 2011

how to make to play more than 1 waves on 1 form?

1. I made 1 wav to load with the Form:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Welcome Song
If My.Resources.welcomef.CanRead Then

[code].....

2. I want to add another wav file when they click on textbox4 to play wav from my resources>songs>female>identify.wav

View 1 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

Winforms - Play A Video File In A Form?

Apr 27, 2011

How to play a video file in vb.net ?

I need the video to automatically start playing on form load.

View 1 Replies

Open File Dialog And Play The File

Oct 29, 2011

I'm making an alarm program, and I want the user to be able to choose their alarm sound. To do that, I want to use the openfiledialog box, but I don't know how to play it. Here's the code:

[Code]...

View 2 Replies

Forms :: Play Audio Files (WAV) When Form Loads?

Apr 19, 2009

How to play an audio file automatically when form loads?

View 5 Replies

Media Continuous Play And Shuffle Into A Checkbox Form

Jul 20, 2009

Not sure if this is the right thread place or not.And I've been designing an Mp3 player. I've ran across several things that I would love to know how to fix.

1. It won't play the next song when one ends.
2. Click and drag media files into the playlist.
3. Shuffle button would be awesome.
4. Repeat button.
5. I have a pause button, but it dont pickup where it paused...

If you could get the repeat playlist and shuffle into a checkbox form.[code...]

View 4 Replies

Play A Sound Clip In A Form With Mute Button?

May 24, 2012

I wonder how to put a sound clip in my vb.net form.I am using vb 2008.When a user starts my program, I want the sound to be played automatically and with a mute button.

View 1 Replies

IDE :: Can't Open Code And Crash When Open Wpf Form

Oct 22, 2009

I'm try on Ultimate version and Express version. Reinstall many time from web install and offline install. What should I do ?

View 10 Replies

Get A Button On Form A To Open Form B And Then Close (not Hide) Form A When Clicked?

Jun 12, 2009

get a button on form A to open form B and then close (not hide) form A when clicked?Background: I am coding a VSTO application for Excel in VB2008.

Private Sub FormAButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles FormAButton.Click
Dim FormB As New FormB

[code]....

View 1 Replies

Get An Unhandled Exception When Use A Windows Media Player Control On The Form In Order To Play A Movie File

Nov 23, 2010

I get an unhandled exception when I use a windows media player control on the form in order to play a movie file.It only happens when I run the program. But in debug, the error does not occur. What do I do?

View 4 Replies

Mdi Application - Open The Form But Focus Remain On Tree View Until Click On The The Form

Jun 11, 2009

I have mdi application, on main form which is mdi container and has a tree view. i open the child form on afterselect even of treeview. the issue i'm facing that i open the form but focus remain on tree view until i click on the the form. my question is how i can give focus to form rather it stays on treeview. i tried frm.focus also activatemdichild(frm) no sucess.

View 21 Replies







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