Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can we obtain the currency value from the database table Pin
Wendelius18-Oct-08 7:22
mentorWendelius18-Oct-08 7:22 
QuestionMultiple Radio buttons in a listbox Pin
chicago7617-Oct-08 4:53
chicago7617-Oct-08 4:53 
AnswerRe: Multiple Radio buttons in a listbox Pin
half-life17-Oct-08 8:25
half-life17-Oct-08 8:25 
JokeRe: Multiple Radio buttons in a listbox Pin
Mycroft Holmes17-Oct-08 23:42
professionalMycroft Holmes17-Oct-08 23:42 
AnswerRe: Multiple Radio buttons in a listbox Pin
Mycroft Holmes17-Oct-08 23:42
professionalMycroft Holmes17-Oct-08 23:42 
QuestionImport existing WMP playlist to a WindowsMediaPlayClass IWMPlaylist object Pin
aj.esler17-Oct-08 3:37
aj.esler17-Oct-08 3:37 
AnswerRe: Import existing WMP playlist to a WindowsMediaPlayClass IWMPlaylist object Pin
Anthony Mushrow17-Oct-08 15:08
professionalAnthony Mushrow17-Oct-08 15:08 
GeneralRe: Import existing WMP playlist to a WindowsMediaPlayClass IWMPlaylist object Pin
aj.esler17-Oct-08 16:39
aj.esler17-Oct-08 16:39 
I can read them with an XmlReader no problem, but i cant get a .wpl file to a IWMPlaylist format so i can use the mPlayer.playlistCollection.importPlaylist(IWMPlaylist playlist) method;
I could recreate the whole playlist, by reading the xml and using the media src property to create new IWMPMedia items, then loading each of those into a new playlist, but i cant believe there isnt a simple way to import a playlist...

This is what i am doing at the moment:
<br />
// create the new playlist<br />
playlist = mPlayer.newPlaylist(plName, openFileDialog.FileName);<br />
<br />
// load the playlist into the playlist collection<br />
mPlayer.playlistCollection.importPlaylist(playlist);<br />

but this creates a copy of the playlist, so if i open playlist.wpl, i get a new file called playlist(2).wpl, appearing, then if i open it again later, i get playlist(2)(2).wpl.

I could delete the duplicate file every time i open a playlist, but im thinking there has to be a better way...

all i want is a method that lets me create a IWMPlaylist object from a path to a .wpl file.
MSDN has been absolutely no help...
QuestionHow to position cursor at some position in RichTextBox Pin
AndrusM17-Oct-08 2:50
AndrusM17-Oct-08 2:50 
AnswerRe: How to position cursor at some position in RichTextBox Pin
LeandroABorges17-Oct-08 3:22
LeandroABorges17-Oct-08 3:22 
GeneralRe: How to position cursor at some position in RichTextBox Pin
Simon P Stevens17-Oct-08 3:25
Simon P Stevens17-Oct-08 3:25 
AnswerRe: How to position cursor at some position in RichTextBox Pin
Simon P Stevens17-Oct-08 3:23
Simon P Stevens17-Oct-08 3:23 
QuestionDeadlock in SqlBulkCopy.WriteToServer() Pin
JuergenThome17-Oct-08 2:32
JuergenThome17-Oct-08 2:32 
AnswerRe: Deadlock in SqlBulkCopy.WriteToServer() Pin
Wendelius17-Oct-08 7:54
mentorWendelius17-Oct-08 7:54 
QuestionGetDetailsOf Efficiency Pin
Ankit Rajpoot17-Oct-08 1:50
Ankit Rajpoot17-Oct-08 1:50 
AnswerRe: GetDetailsOf Efficiency Pin
Simon P Stevens17-Oct-08 3:21
Simon P Stevens17-Oct-08 3:21 
AnswerRe: GetDetailsOf Efficiency Pin
jzonthemtn17-Oct-08 8:40
jzonthemtn17-Oct-08 8:40 
QuestionFile Of Records(Structure) In C# Pin
Member 202517617-Oct-08 1:17
Member 202517617-Oct-08 1:17 
AnswerRe: File Of Records(Structure) In C# Pin
Guffa17-Oct-08 2:41
Guffa17-Oct-08 2:41 
Questioni need my application to access the Excel function wizard and use the results. Pin
tozy17-Oct-08 0:43
tozy17-Oct-08 0:43 
RantRe: i need my application to access the Excel function wizard and use the results. Pin
Ashfield17-Oct-08 0:57
Ashfield17-Oct-08 0:57 
GeneralRe: i need my application to access the Excel function wizard and use the results. Pin
Paul Conrad24-Oct-08 5:51
professionalPaul Conrad24-Oct-08 5:51 
QuestionUrgent Plz HELP Error Provider in c# Pin
tonyjsebastian116-Oct-08 23:23
tonyjsebastian116-Oct-08 23:23 
AnswerRe: Urgent Plz HELP Error Provider in c# PinPopular
Simon P Stevens16-Oct-08 23:34
Simon P Stevens16-Oct-08 23:34 
AnswerRe: Urgent Plz HELP Error Provider in c# Pin
Eslam Afifi17-Oct-08 4:10
Eslam Afifi17-Oct-08 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.