Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sarikavbhosale
Starting Member
24 Posts |
Posted - 2005-12-01 : 07:22:32
|
Hi,I am facing problem in playing the mp3 file.But error occurs randomlyI am using fpspread control & on click event i am using code to play file like this, Slider1.Min = 0 Slider1.Max = MMControl1.Length Slider1.LargeChange = Slider1.Max * 0.1 Slider1.SmallChange = Slider1.Max * 0.01 MMControl1.Command = "Play"error occures in mmcontrol1.length.Please give solution to this...Thank u |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-12-01 : 09:06:48
|
I think you get the error if the mmcontrol1.length is null. When you get that error what is the value of mmcontrol1.length?MadhivananFailing to plan is Planning to fail |
|
|
sarikavbhosale
Starting Member
24 Posts |
Posted - 2005-12-01 : 23:00:15
|
Hi u r right i get the null value of mmcontrol1.length......But only sometimes it gives such null value...other times it is executing properly...Error occurs randomly.. |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-12-02 : 01:57:48
|
When there are no files, you may get this errorMadhivananFailing to plan is Planning to fail |
|
|
sarikavbhosale
Starting Member
24 Posts |
Posted - 2005-12-02 : 02:12:37
|
No that is not the case the same files r executed for some time & after some time....after proper execution randomly & surprisingly error occurs ....no any idea @ why that error occurs randomly....when i close application completely & again start thenit again execute properly...After some time again same error... |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-12-02 : 02:51:53
|
Then you need to handle that error by checking Null valuesMadhivananFailing to plan is Planning to fail |
|
|
|
|
|