473,796 Members | 2,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.net windows media player component

The folowing code works for windows media player 7 but no longer works
in windows media player 10. These properties have chaged and I am not
quite sure how perform the same operations.

Can anyone help?

'Me.lblAiudioSt ream.Text = cstr(Me.AxWindo wsMediaPlayer1. audiostream)

'Me.lblCurrentP ostion.Text =
CStr(Me.AxWindo wsMediaPlayer1. CurrentPosition )

'Me.lblSelectio nStart.Text =
Cstr(me.AxWindo wsMediaPlayer1. SelectionStart)

'Me.lblSelectio nEnd.Text = CStr(Me.AxWindo wsMediaPlayer1. SelectionEnd)

Thanks

Feb 8 '06 #1
0 1629

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7898
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is create a simple console application which will be able to find out what the values of a currently playing tack. I've downloaded the Windows Media player SDK which come with some IDL and
0
1202
by: yin heng | last post by:
I used "Choose Tool Box Items" from "Tool" and added the "Windows Media Player" component in the ToolBox. After I draged the windows mdia to the Form, I definited its name as"player1". The problem is when I wrote the code, I can't find the attribute of player1.FileName which is supposed to be in player1. what can i do with this? Is there some problem with definitate the player component? thanks.
3
5193
by: UJ | last post by:
I have a .avi file that uses the Divx codec. If I load it with windows media player program it works fine. If I load it using my control in a program, it doesn't display. Over standard media files work fine so it's this particular file. Do I have to do anything when the file uses a non-included codec? How can I tell what Codec it's using? TIA - Jeff.
0
448
by: Tormin | last post by:
The folowing code works for windows media player 7 but no longer works in windows media player 10. These properties have chaged and I am not quite sure how perform the same operations. Can anyone help? 'Me.lblAiudioStream.Text = cstr(Me.AxWindowsMediaPlayer1.audiostream) 'Me.lblCurrentPostion.Text = CStr(Me.AxWindowsMediaPlayer1.CurrentPosition)
2
1384
by: Aussie Rules | last post by:
Hi. I want to play some video content on my web page but can not see a media player component in VS2005. How would I add a player to my page ? Thanks
1
2100
by: stever412 | last post by:
Hi I have installed Vista Ultimate on a new XP box, without setting up the Windows Media Player, I use the msdxm.ocx component in my VB 6.0 application. After installing Vista and then running Windows Media Player 11.0, the msdxm.ocx is only 4k in size and normally it is 484k, so my app doesn't player any .avi files in it. And I can't copy the old msdxm.ocx into c:\windows\system32 folder, does WiMP or Vista not handle this component anymore,...
21
40928
by: Cashie | last post by:
Hi I used to have an old version of Windows Media Player (pre-version 8), which used to play most tracks (WMA files) fine but I thought that I would upgrade to version 11. I upgraded to this at the weekend but now I cannot play any tracks that I have. Whenever I attempt to play a track, windows displays a message: Windows Media Player cannot play the protected file because a security upgrade is required. Do you want to download the...
0
2669
by: artsohc | last post by:
Hey Everyone, this is my first time posting so go easy on me. I am trying to hook up music-on-hold at the office I work at. I got all the music loaded and I got Windows Media Player working while the phones are on hold, but now I am trying to write a script that will allow Windows Media Player to run as a service so I can make it auto-start with out needing a user logged in on the computer. Also it would allow the music-on-hold to work if we...
2
4282
by: MC | last post by:
Using the Windows Media Player Component, what is the best way to play several video files in immediate succession? Is there an option that will make the component wait until it's finished? Or should I loop until its playState changes to stopped and then feed it the next file?
0
9531
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10459
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10237
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7553
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6795
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5446
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5578
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3735
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.