Click here to Skip to main content
15,913,587 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to use MailMerge (Office Automation) in VB.net Pin
jawadh9030-Aug-04 9:06
jawadh9030-Aug-04 9:06 
AnswerRe: How to use MailMerge (Office Automation) in VB.net Pin
Anonymous30-Aug-04 11:17
Anonymous30-Aug-04 11:17 
GeneralRe: How to use MailMerge (Office Automation) in VB.net Pin
jawadh9030-Aug-04 17:46
jawadh9030-Aug-04 17:46 
QuestionCrystal Report Printing? Pin
murali_utr30-Aug-04 9:05
murali_utr30-Aug-04 9:05 
QuestionHow do I buffer songs so begining doesn't get cut off? Pin
Glen Conaway30-Aug-04 7:07
Glen Conaway30-Aug-04 7:07 
AnswerRe: How do I buffer songs so begining doesn't get cut off? Pin
Dave Kreskowiak30-Aug-04 7:25
mveDave Kreskowiak30-Aug-04 7:25 
GeneralRe: How do I buffer songs so begining doesn't get cut off? Pin
Glen Conaway30-Aug-04 8:14
Glen Conaway30-Aug-04 8:14 
GeneralRe: How do I buffer songs so begining doesn't get cut off? Pin
Dave Kreskowiak30-Aug-04 9:05
mveDave Kreskowiak30-Aug-04 9:05 
I've never used the WMP as a control in any app, so I'm not an authority on how exactly how it works. But, from what I can gather, you either set the Player.URL property to whatever source MP3 your using, then poll, in a loop, the status of the Player.playState property to see if it ever becomes Ready
Do
    Application.DoEvents()
Loop Until (Player.playState = 10)

I can't say if it will ever become ready, but I think what is happening is that your trying to play the file before it's loaded or buffered. The player starts, but with no data, you get silence. Then, when the file is loaded it starts playing from where the player's timer says it's supposed to be and not at the beginning of the file.

As a test, set the .URL of the source MP3, then do Thread.Sleep(5000), then do Player.Controls.Play() and see what happens.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: How do I buffer songs so begining doesn't get cut off? Pin
Glen Conaway30-Aug-04 9:53
Glen Conaway30-Aug-04 9:53 
GeneralSorry to trouble.. Pin
bearnini30-Aug-04 6:40
bearnini30-Aug-04 6:40 
GeneralRe: Sorry to trouble.. Pin
Mike Ellison30-Aug-04 14:02
Mike Ellison30-Aug-04 14:02 
GeneralComplete codes for sending email Pin
bearnini30-Aug-04 6:07
bearnini30-Aug-04 6:07 
GeneralRe: Complete codes for sending email Pin
Dave Kreskowiak30-Aug-04 7:00
mveDave Kreskowiak30-Aug-04 7:00 
GeneralMaking program with optional modules Pin
Y3PP3R30-Aug-04 6:04
Y3PP3R30-Aug-04 6:04 
GeneralUrgent Help!!!!!! Pin
bearnini30-Aug-04 5:59
bearnini30-Aug-04 5:59 
GeneralRe: Urgent Help!!!!!! Pin
Charlie Williams30-Aug-04 6:29
Charlie Williams30-Aug-04 6:29 
GeneralRe: Urgent Help!!!!!! Pin
bearnini30-Aug-04 6:37
bearnini30-Aug-04 6:37 
GeneralRe: Urgent Help!!!!!! Pin
Charlie Williams30-Aug-04 6:56
Charlie Williams30-Aug-04 6:56 
GeneralRe: Urgent Help!!!!!! Pin
Dave Kreskowiak30-Aug-04 6:57
mveDave Kreskowiak30-Aug-04 6:57 
GeneralError when sending e-mail in VB .NET Pin
cApSL0ck AvAtAr30-Aug-04 2:12
cApSL0ck AvAtAr30-Aug-04 2:12 
GeneralRe: Error when sending e-mail in VB .NET Pin
Dave Kreskowiak30-Aug-04 4:23
mveDave Kreskowiak30-Aug-04 4:23 
GeneralRe: Error when sending e-mail in VB .NET Pin
cApSL0ck AvAtAr30-Aug-04 13:00
cApSL0ck AvAtAr30-Aug-04 13:00 
GeneralDelegates Pin
beowulfagate29-Aug-04 21:24
beowulfagate29-Aug-04 21:24 
GeneralRe: Delegates Pin
Dave Kreskowiak30-Aug-04 7:12
mveDave Kreskowiak30-Aug-04 7:12 
GeneralRe: Delegates Pin
beowulfagate30-Aug-04 13:00
beowulfagate30-Aug-04 13:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.