Playing Videos On VB?
Sep 24, 2009I want to play a video on a VB form but not sure how to go about it All I want is to play a video that takes up the whole form and make a button that plays it
View 3 RepliesI want to play a video on a VB form but not sure how to go about it All I want is to play a video that takes up the whole form and make a button that plays it
View 3 RepliesI'm looking to see if anyone has a good reference for a third-party add-in that will allow me to play .mp4 video files inside my program without a need to embed a web browser in my program.
I have no problem buying it (well that depends on the cost of course!), but I want that when I distribute it, I include their .dll files and it'll work on the user's computer without anything else needed.
I am having a _ton_ of issues, and I am hoping some of you could clear it up...
1. OK So a while back someone showed me an example for fonts from resources, but I noticed if you close the window that it opens, The entire program shuts down... what can I do to fix it?Also, The fonts are not showing up on all computers, only this one....
2. I am trying to delete a image file, which the program downloads from the internet, and can change regularly, but when I try to delete it will not delete. It says its in use, and I cant figure out where.
3. I am trying to play videos using the following
vb
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer
Const WS_CHILD As Integer = &H40000000
[code]....
Now, I have confirmed the files it is attempting to play are in fact valid video files. It refuses to play all but the last one.
How I can get the Media playing now playing using Sendmessege or wmp.dll?
View 5 RepliesI develop on my 64bit system, and the problem with that is, flash does not support 64bit browsers, only 32 bit, is there a way to convert the browser i made to like 32 bit or something so it will be compatible with flash ....
View 1 RepliesI need a skeleton starter code for Database-Entityframwork-WPF app.Are the HDI videos of 2008 up to date regarding the VB code strategy? ie do I use context? should I use a view to move the records along?Do you basically write the LINQs the same as 2008, but leave off the "_" line continuation char? Is the data source the entityModel rather than the Database?(I realize the entityModel is generated from the Database.Also had errors trying to generate the Database from the Model. However, was able to generate the Model from the database. I looked at the examples supplied w VB 2010 re EF, but didn't note an example that would apply. Also, had difficulty in running examples.
View 2 RepliesI was wondering if it is possible to embed videos into a Visual Basic program and how I should do it. I'm pretty certain it is possible since you can import files and read them, and even play audio media
View 1 RepliesUsing the mciSendString command I am able to play avi, mpeg, mp3, etc. but I am unable to play mp4. Here in this web-site it says I can play any videos provided that I have the correct codecs. I am able to play mp4 using my other media players (eg. vlc player). How can I play mp4 videos or how can I make the MCI device auto detect the necessary driver type and play the videos ?
View 1 Repliesi m making an window application in VB.NET 2005 , i want to know how can i store videos and images in database--pls tell me of using ORACLE 10g or SQL SERVER 2005 or My SQL?
View 3 Repliesi have a media player in vb form...with 2 files in a listbox as a playlist now i want to create a fade between changing these files as a transition how can i do that...
View 1 RepliesIs there no longer an easy way to play videos with VB2008?Use to be easy with VB6, but everything I can find in Help for VB2008 says Vista only.Do XP and Win2000 users have to use VB6 to build apps that incorporate video?
View 18 RepliesI recently purchased a Dell laptop with Windows 7 Home Basic installed and installed my Visual Basic 2008 Express and Visual Basic 2008 Step by Step and have run into at least 2 different problems I know of. One is I can not view the videos from my Bob Tabor subscription and two I do not see the fonts the Step by Step book refers me to access in some of the practices.
View 1 Replieshow make simple Screan saver screan saver contain videos and images
View 5 RepliesAm I the only one missing components? I am using VB 2010 and keep trying certain tutorials on videos while learning, and I have now come across 3 components they show in the tutorial but are not in my list. The 2 I am most needing are
[Code]...
having lot of problems playing a video on a form.Is there a better control for viewing videos than windows media player? For video resource files, what should the build action be? Will a form which has a 32-bit windows media player control on it work on a 64-bit computer?For some reason, the following code does not work:
If System.Diagnostics.Debugger.IsAttached() Then
strVidFilePath = System.IO.Path.GetFullPath(Application.StartupPath & "....
esources")[code].....
Is there a website that provides free teaching videos for DataGridView control.Luai Alrantisi, BSc in Computer Engineering, University of Ottawa 2007, Canada. IT Manager of MTN Mobile Telecom.
View 1 RepliesHow do I enable my weBrowser control to read pdf files and show flash videos? I want to also create an intepreter and compiler for the perl and php for a program without setting up a server or using my IIS server. How do I do this?
View 2 RepliesI need to store the Location, Size and WindowState of my application when it is closed, so that it can be re-opened in the same state later. I thought I could use simple coding and the Settings to achieve this, but I noticed the PropertyBinding of the Form in a tutorial and decided to see if I could use it.
[Code]...
i am going to write a wpf application that copies and retrieves pictures and movies in a specified folder/s.From a performance point of view is it better to use a single folder for all pics and videos or is it adivisable to create many folders?In other words is it faster to get a picture from a directory with many folder and few pic for folder or just one folder with all pics in it?
View 5 RepliesI have been trying now for about 4 hours to get my vb.NET MD5 function to generate the same hash as PHP's This is my vb.net function:
Public Function MD5(ByVal input As String) As String
Dim x As New System.Security.Cryptography.MD5CryptoServiceProvider()
Dim bs As Byte() = System.Text.Encoding.UTF8.GetBytes(input)
bs = x.ComputeHash(bs)
[code]....
However, the hashing of some wtrings ("paSsword1" for example) work perfectly fine.Any ideas why? I have tried multiple methods of MD5 in vb.net. I can;t change the way it works in PHP because I'm writing a library to interface with a commercial application - I just need the hashes to be generated the same!
I'm trying to simply play a .mp3 file from my resources in my AxWindowsMediaPlayer. It works fine, up until I publish the project and try to run it. Then the player activates, says "Opening media", then "Ready", and then proceeds to do nothing. I'm using Visual Basic Express Edition 2008.
If
System.Diagnostics.Debugger.IsAttached() Then
ResourceFilePath = System.IO.Path.GetFullPath(Application.StartupPath &
[code]....
Is it possible to download a pls file and play it? it's basically streaming music, and I need to know if I can develop a way to play it through an application.
View 3 RepliesI'm trying to make a sort of 2D turn based battle system using GDI+. I'm calling the animation through a Game loop, the animation itself works fine however I have found that both animations play at the same time. I was wondering if anyone could tell me a way around this or a way to fix it?
View 6 RepliesI have decided that I want to learn a bit about sound and how it works so I thought that I would make an application that reads and plays MP3 files. I know that this will be very difficult and that I will be re-inventing the wheel, but it's all for the educational purpose. So my questions are; How does it work, how does Windows Media Player plays the data from the MP3 file? How can I, with the data provided in the MP3 file, know what to play, how it should sound? Which method would I have to approach to play the sound provided in the file? If you think that I have too little knowledge on the subject
View 4 RepliesI have the following code in my project: [code]The problem is, when I click the button, if the wav is not PCM I get the error: "Sound API only supports playing PCM wave files".This is fine but I want to play all wavs, mp3s and other types of files in my project. I read about using Flash but the only one example I found was for C#. My project is in vb.net. Is there no way to do this in vb.net? I absolutely do not want a player to appear in my application.
View 2 RepliesHow i can play Byte OGG and Byte Wav from buffered byte?for example, There are one file contain some data and 1 wav file, the size of wav stored in offset 30 and wav sound started in offset 35, I buffer the byte like this:
[Code]...
i need to decrypt a file by calling an exe.when i call this i need to supply password to that exe how can i supply the password programtically [code]this is what iam using to decript that file named V4933001.txt when i use this code a command promt will be poped up there i need to supply password.but i need to supply that password programatically
View 2 RepliesI embeded many audio file (.wav) in resources. I can inluded the following code to play a audio file My.Computer.Audio.Play(My.Resources.testWav, AudioPlayMode.Background)
But this command play only one audio file(testWav) I have two questions
1) Is there any way to play all audio files no matter how many files in Resources included in VB 2005 without typing all embeded audio file name? (using something like For Next statement)
2) Can I pass parameter to My.Computer.Audio.Play( , ), which means that when I choose one of files embeded in Resource, I just pass the chosen audio file to this command not specific file name(like testWav.wav)
I need a function for my new project, the application I'm making for the PC is going to communicate with a PIC through USB. The problem I'm having is that I can't find a way for my .NET application to get the song that is currently playing like MSN can. I've been searching alot all over google but all I get is "how to play music in vb.net" and that is not what I'm looking for.
View 1 RepliesI am trying to create a Tic Tac Toe against the computer. The problem is the computer is playing twice and kinda stupid.
Public Class Form1
Dim turn As Integer
Dim computer As Integer
[CODE]...