473,672 Members | 3,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

End of AxWMPLib.AxWind owsMediaPlayer media playback event

Using VB in VS.NET 2003,
I have an app that plays audio clips triggered by clicks on nodes in a
TreeView control. This works great using the windows meduia player.... I've
just received a new requirement stating that if this is the 1st time this
audio clip has been played then it must be played to completion before other
tree nodes are selected.

My problem is knowing when the media player has finished playing the current
clip... I don't see any events associated with AxWMPLib.AxWind owsMediaPlayer
that provide this information.

Any ideas on how to solve this?

I guess that threading would do it but I'm a complete novie with threads...
any pointers would be appreciated!
Sep 5 '06 #1
0 4252

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

Similar topics

2
1340
by: Andrew Poulos | last post by:
With a "standard" Mozilla install on Win XP how can I detect whether or not MZ can play/display a specific media file type, for example WMA and WMV files? (Sorry for inadvertantly originally posting this as a reply to Hans' question.) Andrew Poulos
1
1121
by: vishalsharma | last post by:
Hi i am working on an online music store project and so i need to detect th media player available on the client system and giving him/her option to select in between them. also tell how to send the stream to client for instant playback of audio/video content. i am using asp.net with c#
2
10178
by: mmdst23 | last post by:
I'm working on a video player app, and I want to implement a trackbar that behaves like the one in Media Player, that is the cursor position moves to where the user clicked instead of moving in that direction by a fixed value. Has anyone implemented something like this before? I haven't found anything on codeproject, or searching the .NET newsgroups. This seems like it would be a common control type, am I missing the easy solution? I...
3
4542
by: sean.j.gage | last post by:
I'm attempting to download a windows media video file from a remote server and I would like to start playing it as soon as it starts downloading. Is there some special way to save the file that will allow Windows Media Player to play the file as I transfer it? Cheers!
0
1373
makoy
by: makoy | last post by:
is it possible in AxWindowsMediaPlayer to do something like this : AxWindowsMediaPlayer1.Ctlcontrols.play(Start Time, End Time) because i want to play a file in specific part, not the whole file. thank you very much.
2
3206
by: \Frank\ | last post by:
I have vs2005, XP, and framework 3.0 I try to run an example and the following: Imports System.Windows.Controls Imports System.Windows.Media Imports System.Windows.Media.Imaging
4
8051
by: Kevin | last post by:
Hi! What is the best way to reproduce media files (mp3, wav, wma, wmv, etc)? Thanks =)
1
6403
by: =?Utf-8?B?amFtZXNjaGk=?= | last post by:
I'm trying to figure out how to programatically set the dvd chapter using the AxWindowsMediaPlayer ocx control in a C# project with no avail. My goal is to capture the in and out point of a dvd, then be able to programmatically play back that portion of the DVD. The problem I'm having is navigating the logical chapters in a DVD with the control. Am I missing something? I know there is the .next() method, but I still have not figured out...
0
3359
by: ventsislav | last post by:
I use this code to repeat my background sound, but it can' t find AxWMPLib._WMPOCXEvents_PlayStateChangeEvent and tells me: "Error 1 No overload for 'BackgroundMusic_PlayStateChange' matches delegate 'WMPLib._WMPOCXEvents_PlayStateChangeEventHandler' C:\Users\Ventsislav\Documents\Visual Studio 2008\Projects\WMGame\WMGame\Game.cs 87 13 WMGame " What reference I have to insert to find this AxWMPLib, because my BackgroundMusic object is only...
0
8419
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
7475
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
6255
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
5720
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
4242
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
4439
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2837
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
2093
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1837
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.