Search results for query: *

  • Users: Tome`
  • Order by date
  1. T

    Not the same signature for an Event.

    Ok just got it, simple simple simple, e.newState.
  2. T

    Not the same signature for an Event.

    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
  3. T

    Not the same signature for an Event.

    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...
  4. T

    Bitrate from Encoded Media Player file.

    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...
  5. T

    Bitrate from Encoded Media Player file.

    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 =...
  6. T

    OnStateChange()

    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
  7. T

    OnStateChange()

    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...
  8. T

    OnStateChange()

    Sorry I am really new to this so I don't follow what you are saying.
  9. T

    OnStateChange()

    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)...
Back
Top