CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MMControls

  1. #1
    Join Date
    Jan 2000
    Posts
    3

    MMControls

    How do I play an avi file with an MMcontrol? also where can I find information about drag and drop?



  2. #2
    Join Date
    Feb 2000
    Location
    Kansas
    Posts
    49

    Re: MMControls

    First you have to set the device type and then open it:

    MMControl.DeviceType = "AVIVideo"
    MMControl.Command = "Open"



    Then set the avi file you want to play and play it:

    MMControl.FileName = "somefile.avi"
    MMControl.Command = "Play"



    Don't forget to close it when your done

    MMControl.Command = "Close"



    Here are some other commands you can use:

    MMControl.Command = "Pause"
    MMControl.Command = "Back"
    MMControl.Command = "next"
    MMControl.Command = "Stop"




    A good place for info for dragging and dropping is microsofts site (microsoft.com) and go to the search link at the top right side of the sight.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured