Click here to Skip to main content
14,272,647 members
   

C#

 
AnswerRe: Hashtable Pin
Dave Herren26-May-07 5:00
memberDave Herren26-May-07 5:00 
AnswerRe: Hashtable Pin
Kevin McFarlane26-May-07 5:25
memberKevin McFarlane26-May-07 5:25 
AnswerRe: Hashtable Pin
Kevin McFarlane26-May-07 5:30
memberKevin McFarlane26-May-07 5:30 
QuestionPicture box and drawing Pin
Anka_Ame26-May-07 0:44
memberAnka_Ame26-May-07 0:44 
QuestionGet "current playing" movie/song in WMP Pin
mulybenj26-May-07 0:22
membermulybenj26-May-07 0:22 
AnswerRe: Get "current playing" movie/song in WMP Pin
henur26-May-07 21:38
memberhenur26-May-07 21:38 
GeneralRe: Get "current playing" movie/song in WMP Pin
mulybenj27-May-07 1:09
membermulybenj27-May-07 1:09 
GeneralRe: Get "current playing" movie/song in WMP Pin
henur27-May-07 4:54
memberhenur27-May-07 4:54 
You must have AxWMPLib in your reference of your C#-project.

Then you have to add the Mediaplayer as a control to your form.
For instance, name the control to "WMP".

After that you can do.

WMP.URL = "the musicfile full path";
string cName = WMP.currentMedia.name;

Heino
QuestionExecuting an exe file from a Windows Service Pin
M. J. Jaya Chitra25-May-07 23:10
memberM. J. Jaya Chitra25-May-07 23:10 
AnswerRe: Executing an exe file from a Windows Service Pin
kubben26-May-07 3:11
memberkubben26-May-07 3:11 
GeneralRe: Executing an exe file from a Windows Service Pin
mav.northwind26-May-07 23:00
membermav.northwind26-May-07 23:00 
GeneralRe: Executing an exe file from a Windows Service Pin
kubben28-May-07 1:59
memberkubben28-May-07 1:59 
GeneralRe: Executing an exe file from a Windows Service Pin
M. J. Jaya Chitra27-May-07 16:57
memberM. J. Jaya Chitra27-May-07 16:57 
GeneralRe: Executing an exe file from a Windows Service Pin
kubben28-May-07 1:59
memberkubben28-May-07 1:59 
Questionweird problem with ComboBox - DataSource contains data, but the Items collection stays empty Pin
Marek Grzenkowicz25-May-07 23:02
memberMarek Grzenkowicz25-May-07 23:02 
AnswerRe: weird problem with ComboBox - DataSource contains data, but the Items collection stays empty Pin
Marek Grzenkowicz27-May-07 21:41
memberMarek Grzenkowicz27-May-07 21:41 
QuestionC# Control for volume Pin
henur25-May-07 22:54
memberhenur25-May-07 22:54 
AnswerRe: C# Control for volume Pin
Giorgi Dalakishvili26-May-07 0:22
mentorGiorgi Dalakishvili26-May-07 0:22 
AnswerRe: C# Control for volume Pin
Thomas Stockwell26-May-07 15:24
professionalThomas Stockwell26-May-07 15:24 
GeneralRe: C# Control for volume Pin
henur26-May-07 21:42
memberhenur26-May-07 21:42 
GeneralRe: C# Control for volume Pin
Thomas Stockwell27-May-07 3:09
professionalThomas Stockwell27-May-07 3:09 
GeneralRe: C# Control for volume Pin
henur27-May-07 4:56
memberhenur27-May-07 4:56 
GeneralRe: C# Control for volume Pin
Thomas Stockwell28-May-07 9:05
professionalThomas Stockwell28-May-07 9:05 
GeneralRe: C# Control for volume Pin
henur28-May-07 9:50
memberhenur28-May-07 9:50 
QuestionHow put the PNG-Pictrue into the pictureBox? Pin
jason_mf25-May-07 21:42
memberjason_mf25-May-07 21:42 

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.