Click here to Skip to main content
15,907,281 members
Home / Discussions / C#
   

C#

 
QuestionExporting Large images into PDF through iTextSharp Pin
K V Sekhar17-Oct-08 20:56
K V Sekhar17-Oct-08 20:56 
QuestionOverflow Exception Pin
pabloraul17-Oct-08 18:17
pabloraul17-Oct-08 18:17 
AnswerRe: Overflow Exception Pin
Guffa18-Oct-08 0:50
Guffa18-Oct-08 0:50 
GeneralRe: Overflow Exception Pin
pabloraul18-Oct-08 11:36
pabloraul18-Oct-08 11:36 
AnswerRe: Overflow Exception Pin
GLLNS19-Oct-08 14:16
GLLNS19-Oct-08 14:16 
QuestionCreating a C++ library for use in C# project Pin
SRogers8817-Oct-08 10:36
SRogers8817-Oct-08 10:36 
AnswerRe: Creating a C++ library for use in C# project Pin
Richard Andrew x6417-Oct-08 12:37
professionalRichard Andrew x6417-Oct-08 12:37 
AnswerRe: Creating a C++ library for use in C# project Pin
Anthony Mushrow17-Oct-08 15:13
professionalAnthony Mushrow17-Oct-08 15:13 
AnswerRe: Creating a C++ library for use in C# project Pin
N a v a n e e t h17-Oct-08 17:42
N a v a n e e t h17-Oct-08 17:42 
QuestionOutOfRangeException Pin
kankeyan17-Oct-08 9:59
kankeyan17-Oct-08 9:59 
AnswerRe: OutOfRangeException Pin
Caio Kinzel Filho17-Oct-08 10:12
Caio Kinzel Filho17-Oct-08 10:12 
AnswerRe: OutOfRangeException Pin
Ashfield17-Oct-08 10:13
Ashfield17-Oct-08 10:13 
GeneralRe: OutOfRangeException PinPopular
Guffa17-Oct-08 11:10
Guffa17-Oct-08 11:10 
QuestionHow can we obtain the currency value from the database table Pin
ATC17-Oct-08 9:17
ATC17-Oct-08 9:17 
AnswerRe: How can we obtain the currency value from the database table Pin
Wendelius17-Oct-08 9:26
mentorWendelius17-Oct-08 9:26 
GeneralRe: How can we obtain the currency value from the database table Pin
ATC17-Oct-08 11:39
ATC17-Oct-08 11:39 
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 

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.