473,805 Members | 2,016 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 1632

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

Similar topics

1
7899
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
5194
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
1385
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
40930
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
2670
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
4283
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
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
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,...
1
10364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7645
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
6875
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
5541
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...
1
4317
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
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.