How to use windows media player in vb6.0




















That is working however, I have split my display so that one half is for the program and the other is for a projector conntected to the hdmi output on my computer using hp lap top.

I want to have the windows media player control that is in my program display on the projector. How can I do this? Thanks for your help. Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. VB Forums - moderator. Manage the visual appearance of the control using the uimode property. You can do so in two ways. You can use the Select a mode drop-down list in the Windows Media Player Properties dialog box, or you can type the correct value in the Properties window.

In particular, do not use the visible property to hide the control; instead, assign the value "invisible" to the uimode property. Player Control Guide. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. I tried playing it through this code but it didn't work.

The statement you show is correct. Are you sure of the file path, file type, and that the file is okay? The URL is specified without double quotes even if it has spaces in the path. Can you play the file in Windows Media Player if you just open it? If none of these help, can you post the actual code and the actual url you are setting? Second, make Windows Media Player to play multimedia file, use object. In your question,use this:.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. The design would look like the one shown in Figure 3. ShowOpen Text1. FileName End Sub. Now run the program and click on the Open button. A dialog box will appear that allows you to choose your media files, as shown in Figure 4. After selected the file and click on the Play button, it will play the selected media file as shown in Figure 5.



0コメント

  • 1000 / 1000