Question Background images with fade effect..

edgarbenilde

New member
Joined
Feb 20, 2008
Messages
4
Programming Experience
1-3
Hi! can someone help me how to make a fade effect on the images background when changing the images...

I have done the background images changing with the help of the other expert but i wanted to appply this with fade effect...

can someone give me code for it..?
 
it has to do with vb .net..

here is the existing codes..

Private getpath As String = "C:\ProjectImages"
Private imageFiles As String() = IO.Directory.GetFiles(getpath)
Private imageIndex As Integer = 0
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Dim img As Image
Try
img = Image.FromFile(Me.imageFiles(Me.imageIndex))
If Me.BackgroundImage IsNot Nothing Then
Me.BackgroundImage.Dispose()
End If
Me.BackgroundImage = img
Catch
'Not an image file.
End Try
Me.imageIndex += 1
If Me.imageIndex = Me.imageFiles.Length Then
Me.imageIndex = 0
End If
End Sub

but if you can modify this thru ado.net with the fade effects and running inside vb environment it's nice

Please help..
 
ADO.NET is a technology for moving data into and out of databases. What has this got to do with alpha blending? Try the graphics forum
 
Thread moved to Graphics forum, please post in most appropriate forum.
 
Back
Top