VB Application Running From CD (or DVD) With Media Player And Use Esc?
Feb 16, 2009
I have an issue with my project and I don't find the answer. I created a CBT project. The end result should be as follows: when the user inserts the CD (or DVD), the player will boot automatically. The media player and the video files are on the CD. When the media player is launched, the user can select the CBT he/she wants from a ListBox which will then play the file on the player. So far I build the player with all the necessry buttons but I have two things I can't find the solution for:1. how can I place the media player play the selected file from the listbox if the media files are on the same CD where the media player is located? As you can see on the below code, I manage to do that is the files are located on a drive (C:/ or D:/).2. I placed a FullScreen button which will expand the WMP to fullscreen mode but I can't figure out how to return it to the initial mode if pressing a key, for instance ESC.
Public Class frmMain
Private Sub frmMain_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
[code].....
View 2 Replies
ADVERTISEMENT
Dec 11, 2011
I m design a media player in vb.net..now i play 1Gb video movie.. i want to set the commercial time like every 15 mint my video automatically stop and some commercials play automatically after complete commercials my video[code]...
View 6 Replies
Jun 9, 2011
make media player in vb6 or vb2010.. not using windows media player..
View 1 Replies
May 4, 2006
I have an application with an embedded media player. I would like to be able to load music files from a cd into my file system for use by my application. I am confused about the .cda file extension on music files. Is there a way for me to actually load the music files directly from the cd using vb.net 2003.
View 4 Replies
Dec 7, 2010
It's usual to see hoe to build a player with the AxWindowsMediaPlayer.
But in this occasion, I'm interested in control de Windows Media Player from Windows 7 with my own application.For example, I want to create a button that is able to pause or play the video that I'm watching with the WMP.
View 10 Replies
May 1, 2009
how have a media player to play video on the application??? is there a drag and drop media box?
View 1 Replies
Jun 28, 2011
Public Class EasyPlayer
Private Sub EasyPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
System.Diagnostics.Process.Start("MediaPlayer")
End Sub
[code]....
View 1 Replies
Apr 10, 2009
I want to know that how to add FLV payer component in VB.Net..cz windows Media Player doesn't play the FLV player.
View 2 Replies
Oct 27, 2009
I have created a media player (vb.net 2005) using the media player control. Plays fine when using open dialog box and url. I have set my player as the default player but when I click on a media file, the player will open but not play. I am sure it has to do with on open event and coding the url to see the selected file just like any other media player out there.
View 14 Replies
Aug 13, 2009
i am using following code to play a mp3 with build action for mp3 after adding to application is set to copy always...
Public
Class Form1
ivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[code].....
View 4 Replies
Aug 8, 2011
I have embedded the WMP control in my Visual Studio 2010 app which works on windows 7 (Framework 4.0), but installing the app on winXP, I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
[code]....
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
I guess this is a reference issue, but I have added references to WMP libraries (axinterop.wmplib.dll and interop.wmplib.dll). The WMP works on the XP machine, but not when called from my application.I have searched the web now for 5 days and changed references, and reinstalled the media player on the XP machine, but nothing works.
View 1 Replies
Mar 15, 2010
So basicly ive made a media player in vb using the windows media player control and everything is fine except that when i use the trackbar to navigate on a video it starts stopping and starting like a scratched cd (there is nothing wrong with the video file) strangely this does not happen whilst playing audio files the shaking stops if i pause it for a second ant then play it again but incorporating a pause in the trackbar function does not help. This the code i found on the internet but this produces the same result:[code]...
View 5 Replies
Dec 18, 2010
I've looked around a bit and have yet to find an answer: Is there a Media Player Control in the .NET Framework? I know there is a COM control
View 4 Replies
Jan 10, 2011
I want to create media player in vb.net. It will supports all the different file formats like wmv,flv,mpg etc.,
View 1 Replies
Mar 29, 2009
I have created 2 forms: "Form1" and "Form2"....Form1 is MDIcontainer and it contains Form2. In Form2 I have inserted the windows media player OCX. When I run the program and try to set the media player to fullscreen (via command button) appears an error:
{"Errore irreparabile (Eccezione da HRESULT: 0x8000FFFF (E_UNEXPECTED))"}
Here's the
Public Class Form2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWindowsMediaPlayer1.fullScreen = True
[Code] ....
If I open a new project and I copy the code and the media player it works! I think problem is when I use MDIforms.
View 4 Replies
Oct 12, 2009
How to make a media player in Vb.net& and my media player get video activity , like Cars bikes or peoples
View 14 Replies
Sep 16, 2009
I m Newbie in Visual Basic, im use vb2005 Pro Edition.i want to make Media Playerif i play Video Video show in New wind.w
View 5 Replies
Sep 27, 2009
Making my own media player and convert it in to an .exe file in vb 2008
View 1 Replies
Jun 7, 2010
I am having an issue playing video with an embedded Windows Media Player control. It plays fine on Windows XP but comes up blank on Windows 7. I am guessing it is compatibility between version 11 and 12. Am I correct in thinking that Windows 7 will not play the Media Player 11 control? If so, how do I package my product to work with XP and Win 7? If I develop on Win 7 will the Media Player 12 embedded control play on XP (backward compatible)?Should my requirements be that Media Play 11 is installed? I am just confused because I cannot find anyone else having the same issue. Has anyone experienced this or know about it?My problems are, Video was playing in Windows 7 but clicking the video gave an untrappable (didnt catch) error (crash) in the Click event of the video... then suddenly (i think after a windows update) the video is not Playing anymore. But it plays fine and does not give the click error on Windows XP.
View 6 Replies
Jan 11, 2012
I have this one project going on, and I has media player inside the form, and other staff too. How I can make only the media player to go in fullscreen?
View 2 Replies
Mar 7, 2012
My media player track bar is jumping across the screen. In about 45 seconds the track bar is done.
Under properties I have interval 1000 set and behavior is timer tick.
HTML
If Me.AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsBuffering Or Me.AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsPlaying Then
Me.TrackBar1.Minimum = 0
[Code]...
View 1 Replies
Mar 8, 2011
how to create a visualization in vb.net just like in windows media player visualization? it is possible to create visualization in vb.net or much better to create visualization in adobe flash? can you give one example of the visualization made in vb.net or flash?
View 2 Replies
Sep 24, 2009
used the latest WMP (v11) with .NET? I've been writing a VB6 program using the v9-10 dll, and now I find out the machines I need to use it on are v11 (which doesn't appear to play nicely w/vb6).
View 1 Replies
Aug 12, 2010
I've tried adding the reference.. But no matter which one i add, it never pops up in my toolbox (I debug after adding each reference)..
What am i doing wrong? I'm taking the references from the COM tab in the references list.
View 2 Replies
Jun 2, 2011
I'm having trouble working with VB.Net 2010, I'm trying to have a Windows Media Player video play, and once it ends I want it to go to a new task. But I cannot figure out how to get it to get to that new task in the event that the video ends.
View 1 Replies
Jul 12, 2009
I m selecting the folder & playing all the files in the media player, of that folder. As u know folder contains all types of files including text,zip,image & so on.So I want that when URL that is assigned to Media Player is .txt,then i assign any default image from resources.I do not want to check extensions-Currently I m checking the extension of each file before paying but i dont want dat.
Public Class Form1
Public Ext_bmp As String = ".bmp"
Public Ext_jpg As String = ".jpg"
[code]......
View 2 Replies
Nov 27, 2011
I want to create an Advanced Media Player.How Can I to create an Windows Media Player without Controls ? I wan't to create my own controls ....
View 2 Replies
Dec 10, 2011
I m creating a media player in vb.net i m able to play ,pause,forward,stop command. i want to add some featurs like
1-Run full screen commercial or sport add at a set times of the day..
2-Supports GIF animated files, Swish and Flash with Mix-Colored, Mix-Font scrolls.
3-Records data of all movies, ads played in text filesi m creating a media player in vb.net i m able to play ,pause,forward,stop command. i want to add some featurs like
View 3 Replies
Jul 5, 2009
How do i create my own media player with vb?
View 4 Replies
Mar 13, 2006
What is involved in deploying a vb.net 2003 application with the Microsoft Media Player component? What files must be part of the build?
View 7 Replies