Paszt,
Wow, you certainly have been a great help, but tell me- the PlayStartChange is supposed to return the value NewState right?, but that value is not declared in that statement. So how would I get that value?
Thanks Tome
Always something, lol
Ok maybe someone would be kind enough to tell me why I get this error.
When entering the following code:
Private Sub Player1_PlayStateChange(ByVal NewState As Long) Handles Player1.PlayStateChange
I get the error:
Method Player1.PlayStateChange can not handle...
Thanks Paszt,
When doing a search in the Object Browser for getitmeinfoByType it returns the following information. Public Overridable Function getItemInfoByType(ByVal bstrType As String, ByVal bstrLanguage As String, ByVal lIndex As Integer) As Object
Member of...
I am trying to get the Bitrate of an encoded audio file, but I run into a little problem with a returned data type. The code example I have been given is:
Dim AC As Integer
Dim MyRate As Long
AC = Player1.currentMedia.getAttributeCountByType("Bitrate", "") - 1
MyRate =...
Paszt, and everyone else!
That did the trick, thanks a lot. It is too bad that the examples given within the Help feature of .NET does not have the code documented correctly. It makes it harder to learn something. Thanks again
It just doesn't seem to work for me, I wonder what I am doing worng. Sorry this editor sucks.
WMEncoder.OnStateChange
The OnStateChange event receives an event notice indicating whether the encoding process has been started or stopped.
Syntax
WMEncoder.OnStateChange(enumState)
Parameters...
I’ve been creating a simple Media Encoder program and it seems to work fine except the following. Can someone tell me why I can’t get an event to fire under OnStateChange? Here’s my code.
Private Sub MyEncoder_OnStateChange(ByVal enumState As WMEncoderLib.WMENC_ENCODER_STATE)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.