Smartphone - Play WAV On Form Open?
Apr 27, 2009I 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 RepliesI 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 Replieshow to open and play video files in windows form? also save videos in a specific folder inside the project.
View 2 RepliesSo 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 RepliesI 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
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 RepliesI 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 RepliesHow I Can open the same form in my application one time only can not open the form tow time in same time
View 5 RepliesI 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].....
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 RepliesIm 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]...
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 RepliesI 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]...
Need a simple way to play a wav file on my form.
View 2 RepliesI need the simplest code possible to play an AVI fullscreen on a form.
View 5 RepliesAfter 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]......
Does anyone know how to play a video on a windows form in a window like using a picturebox with a JPG?
View 4 RepliesCan I play a Java Game in my visual basic form?
I wan't to create a OS and add minecraft to it ...
how to play a video on the background of the form please guide i am really confused
View 7 Replieswhen 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]....
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
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 RepliesHow to play a video file in vb.net ?
I need the video to automatically start playing on form load.
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]...
How to play an audio file automatically when form loads?
View 5 RepliesNot 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...]
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 RepliesI'm try on Ultimate version and Express version. Reinstall many time from web install and offline install. What should I do ?
View 10 Repliesget 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]....
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 RepliesI 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