Hello Daniweb, it's me (again).
I am making a web browser app and would like to have a loading bar. I'm using the default ProgressBar control but I don't know how to program it! Help!
Thanks for your help,
-Toby
--------------------------------------------------------------------------------------
If you put in your two pence worth, then someone, somewhere is making a penny.

W1ND0W5
Recommended Answers
Jump to Posttry this...
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim exitSound As String = "C:\stop.wav" Dim fSound as New FileInfo(exitSound) If IO.File.Exists(fSound) Then My.Computer.Audio.Play(exitSound, AudioPlayMode.Background) Else MsgBox("Application error. C:\stop.wav not found or corrupted. The app or file needs to be reinstalled.", MsgBoxStyle.Critical) …
Jump to Postthe same coding which you provided is working for me.I mean it plays sound.did you check its order of execution with breakpoint.?
And plus, we have coded our Quit button to play a sound then exit. It exits then plays no sound at all. This is our code:
All 7 Replies

W1ND0W5
codeorder
197
Nearly a Posting Virtuoso
codedude
0
Newbie Poster

W1ND0W5
codedude
0
Newbie Poster

W1ND0W5
brijeshsonagara
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.