>>all i want is to random pictures and the sounds associated on that pictures will be played...
How do you plan to add the images and sounds to get recognized?
.From a File?.From My.Resources?.Full.Paths coded into your app.?
once the application appear i want to randomize the images together with sound associated with it. let say the image is A the sound should be "A" also. if the image is cloud the sound should be "CLOUD"..
i am using this code..
just to play the audio of each images..
Public Class Form1
Public myMediaFolder As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\TEMP\"
Private myMediaListFile As String = myMediaFolder & "myMediaList.txt"
Private arMedia() As String, iTemp As Integer, rnd As New Random, chrMain As String = "|"
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If File.Exists(myMediaListFile) Then arMedia = File.ReadAllLines(myMediaListFile) '// load file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Not arMedia.Length = 0 Then
iTemp = rnd.Next(0, arMedia.Length) '// get random #.
MsgBox(.Split(chrMain).GetValue(0) & vbNewLine & _
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...