Creating Fade Between 2 Videos In Winforms?
Apr 11, 2010i 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 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 RepliesI'm working on a scoreboard, and I'm want to add a goal horn. The way it works is when a button is being held down, the horn wav file is going, and it stops when the button is released. I can make a good loop file, but what I'm having trouble with is getting a fade in and fade out effect to make it realistic. I don't want to use the master volume controlbecause there could be other sounds playing at the same time. How would I do this?
View 3 RepliesI'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the textbox value is called, it returns the actual 'Double' data type value. The entire thing is done through the 'Text' property; wherein the regular 'Text' property is shadowed and one with 'Double' data type is used.
[Code]...
I'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the textbox value is called, it returns the actual 'Double' data type value. The entire thing is done through the 'Text' property; wherein the regular 'Text' property is shadowed and one with 'Double' data type is used.The problem is, in the designer properties window, the Text property always remains readonly and its value says 'Object reference not set to an instance of an object'. What's my mistake?
My code follows:
Code:
Imports System.Windows.Forms
Imports System.ComponentModel
Imports System.Runtime.InteropServices
[code]....
i've created a very simple .exe file on my project in vb winForms but i don't know if i have crystal reports, Database, .swf files on my project.
View 3 RepliesI'm trying to write an application that will allow a non-administrator user to create virtual directories in IIS6. I've tried numerous different ways of impersonating a administrative account but nothing seems to work to create the virtual directory.
Here's some of what I've tried:
dim sDirPath as string = "IIS://remotehost/W3svc/1/root"
Dim de As DirectoryEntry = New DirectoryEntry()
de.Path = sDirPath
de.AuthenticationType = AuthenticationTypes.Secure
de.Username = tbxUsername.Text
[Code] .....
what is the correct way to impersonate another user in winforms application that will allow me to create the virtual directory without the user that's running the application being an administrator on the web server? I know this can be done, IIS manager allows you to use "connect as" checkbox to do it.
I have 5 axwindowmediaplayers, and I need to slowly fade the first music out and fade the second music in, using this:
Public Sub fifthCk_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Dim i As Integer
For i = 0 To 100
[code]....
This is my first attempt at creating a Winforms application, and I have been developing in the .Net Framework (Silverlight, ASP.Net, WPF) for about 6 months. So, my appologies if this is a newbie question.
Basically what I am doing right now is taking the drawings of a stylus-based input, and storing them into an image field in a SQL Server database. Then, in another form, I go and get that image out of the database, and load it into a picture box. It works, but it is rather "sloppy" how it got there.When the user clicks save, it stores that image into a temporary folder, then converts it to a byte array and throws it into the database that way. Then, it deletes the file from the temporary folder. When retrieving it, it pulls it out of the database in a byte array, then converts it to an image in a temporary folder, thus displaying it on the form.
Is there a way that I can just bypass the storing of the file onto the user's harddrive both times, and go from byte array to picturebox?
I 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 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 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]...
I'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.
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 RepliesI 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 do I make a picturebox fade in after a timer Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick picturebox1.opacity = false
View 1 Repliesis it possible to fade in an image? the current method i use is to dissect the image into pixels and redraw each pixel with a reduced alpha. and the result is very horrible
View 2 Repliesdoes anyone know how to fade in and fade out a button in vb? i know how to do it with a form but not with a button
View 11 RepliesI'm trying to use the Fade In/Out subs. Currently the fade in works perfectly. The fade out is the one I am having problems with. In my form's closing event:
[Code]...
I really think the problem is when it is calling for a "new object", but I don't know what to put in place of it to just work on the old object. I wanted to see if anyone has a solution to this issue, or perhaps an alternate solution that fades out just as nicely as the fade in.
I'm currently making a huge project. So huge it is split into four separate applications. I want the form to fade to black once the user logs on and only fade up when the new program has fully loaded. I've tried various methods, such as having the second program write to a file on the C: drive, then have the first program wait until that file exists to fade out.Is there a more efficient way? My method isn't working... the form will fade to black, but you get a glimpse of the desktop just before the new program launches (both are full screen apps btw)
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]...
The title is simple and to the point: I have two images, same dimensions that I want one to fade in over the other. How do I do this without locking up the GUI?
View 16 Replies