I've got this programme that plays sounds. I have an integer that i have to assign the value of this.adio.Duration;
Audio adio;
Video vdeo;
VB Code:
int second; int total; total = this.adio.Duration; trackBar1.Maximum = this.adio.Duration; trackBar1.Value = total; lblCurrentduration.Text = total.ToString(); trackBar1.Enabled = true; if (trackBar1.Value == trackBar1.Maximum) { adio.Stop(); play(); } fix: ;
how can i change the adio.Duration to an integer.


Reply With Quote