Hello,
How do I explictly destruct a MediaPlayer object?
The compiler complained about overriding Finalize.
MediaPlayer does not implement IDisposable.
Any suggestions?
Thanks,
William Johnston 3 2964
On Mar 14, 2:13 pm, "William Johnston" <willi...@tenba se2.comwrote:
The compiler complained about overriding Finalize.
MediaPlayer does not implement IDisposable.
What was it's complaint, exactly?
If it is not implimenting IDisposable, then just let it go, as in objMP =
null.
"William Johnston" wrote:
>
Hello,
How do I explictly destruct a MediaPlayer object?
The compiler complained about overriding Finalize.
MediaPlayer does not implement IDisposable.
Any suggestions?
Thanks,
William Johnston
"William Johnston" <wi******@tenba se2.comwrote in message
news:12******** *****@news.news ville.com...
>
Hello,
How do I explictly destruct a MediaPlayer object?
The compiler complained about overriding Finalize.
MediaPlayer does not implement IDisposable.
Any suggestions?
Thanks,
William Johnston
MediaPlayer is a COM object, so you have to call Marshal.Release ComObject
when you want to "release" it's instance.
Willy. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DotNetMania |
last post by:
hi..
i have some questions about media player article on codeproject
website......
http://www.codeproject.com/cs/media/directshowmediaplayer.asp?df=100&forumid=4399&select=820191#xx793428xx
i have a media player class..
|
by: Christian Steck |
last post by:
Hello all,
sorry about my english, i don´t speak english very well, but i try it ;-)
at the time i write my own ui for the mediaplayer 10 and i
have a problem with changing the visualization effects. in the sdk
i have found a class (WMPEFFECTS), providing all the functions i need to
change
and list the current vis effect (while playing an audio file). but when i
try to
|
by: Nonee |
last post by:
Hello-
I have a form with the mediaplayer referenced to play mp3's and avi's
and I believe that is what is causing the problem. I am not sure, but
I am hoping. Anyway, I "published" the vb.net app and moved it to
another computer and I get the following error msg when I load the
form with the mediaplayer on it. I upgraded this project from a
standard vb app to the .net version (vb express anyway) and that is
when the problem arose. ...
|
by: Stephen |
last post by:
Here is my issue. I have a <asp:listbox control that is populated with movie
titles and url for the media file
from a database. No problem.
No what I want is the
OnSelectedIndexChanged event to be able to change the mediaplayer.url on
the webpage sound simple
but intellisnse doesnt see the
|
by: Sagaert Johan |
last post by:
Hi
I have 2 audio cards and want my first mediaplayer object to play through
soundcard 1 and the other object on card 2.
I can't find any properties to set, so i fear this will not be possible.
Any hints or workarounds ?
J.
| |
by: xhunter |
last post by:
ok here is my problem,
I am trying to change the source file of the mediplayer using javascript, my script works perfectly in "Internet Explorer", but no matter what I do, it doesn't work in Firefox
here is my player :
<OBJECT classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
height=276 id=mediaPlayer type=application/x-oleobject width=320
standby="Loading Video...">
<embed
|
by: William Johnston |
last post by:
Hi,
I modified a thumbnail creation app and get black images since the first second is black as well.
My questions are:
1. How do I set the MediaPlayer.Clock property to start screen capture at two seconds?
2. How do I open a file without using a URI?
Here's the sample code:
|
by: William Johnston |
last post by:
|
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,...
|
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...
|
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,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |