Hi, i am not sure if this is a good place to ask the following, but...
is there a method to export/import a playlist into Windows Media Player (10 and above?)
I'm creating a media manager database in Access 2007. I will have a collection of various files (audio, video, images, .PPT, .DOC, ..). If i could build a playlist containing a collection of my files, I want a format that can be imported into Windows Media Player.
I see iTunes has a feature that allows Import/Export of a playlist and thought something might also exist in the Microsoft environment.
If anyone have any idea to do this please reply me.
I created one WPF dll usig C#.And im using that in VC++.I added that WPF control.dll through add reference.
But i nedd is, when i click the button in that WPFcontrol.dll,it should invoke the fucntion in vc++.
If i created one MFC dialog in VC++,when i press that button in WPF control,it should show the dialog created in vc++.
How can i do that. Pls help me.
I have not seen WPF so I may be wrong here.
You should, if possible, create a delegate for the button click in your WPF dll. Then, wherever you use that dll, handle the click event in the parent form/page.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
I have an object called "user" on the codebehind of a mainpage that shows if is anyone signed up on the webpage. The structure of the silverlight app is: a mainpage and a navigation:frame inside. I want to access to public object "user" from the navigation frame. the navigation frame is a xaml navigation:page.
First - your URI @"C:\Dokumente und Einstellungen\THI\Desktop\stage2.xml"
is not going to work. Silverlight runs on the client and does not allow
direct access to the client's file system without asking the user first,
using the OpenFileDialog class.
The XmlReader.Create() method that takes a URI string only works for files
packaged in the Silverlight application's XAP file.
If the XML file you need to open is on the client's computer, you
need to use OpenFileDialog, not HttpWebRequest.
So where is the XML file you need to load?
I dont understand how to write the RequestState class and i dont understand what is: allDone.WaitOne() or allDone.Set()
All web requests in Silverlight are asynchronous. That means
the request is sent, processing continues, and at some later time
when a reply is received, the app is notified.
The example code you linked to uses an EventWaitHandle to wait
on the requesting thread until the reply is received, then continues
processing, essentially making the web request synchronous. IMO
it's a bad example - a reply could take many seconds, so if the
request is made on the UI thread, you've halted the UI thread,
which could lead to a bad user experience.
allDone is an EventWaitHandle or one of its derived classes, so if
you're new to threading, you may want to look at that documentation.
The RequestState can be anything you want - an existing object of any
class. Its purpose is to allow you to pass something across the asynchrounous
call. Whatever object you pass in the request will be available to you in the
What this text says is, that the Silverlight-Runtime looks first for a certain security-file when a resource is called from a server: the clientaccesspolicy.xml. When this file is not correct or not there at all then a security exception is thrown.
The problem was:
This file was not there so i had to put i manually on my localhost.
(I have apache. The clientaccesspolicy.xml has to be put in the htdocs folder.)