Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: export from grid to excel,word Pin
Manoj Kumar Rai26-May-07 7:02
professionalManoj Kumar Rai26-May-07 7:02 
QuestionOpen File Dialog again Pin
mihksoft26-May-07 3:02
mihksoft26-May-07 3:02 
QuestionHashtable Pin
pranu_1326-May-07 2:55
pranu_1326-May-07 2:55 
AnswerRe: Hashtable Pin
Dave Herren26-May-07 5:00
Dave Herren26-May-07 5:00 
AnswerRe: Hashtable Pin
Kevin McFarlane26-May-07 5:25
Kevin McFarlane26-May-07 5:25 
AnswerRe: Hashtable Pin
Kevin McFarlane26-May-07 5:30
Kevin McFarlane26-May-07 5:30 
QuestionPicture box and drawing Pin
Anka_Ame26-May-07 0:44
Anka_Ame26-May-07 0:44 
QuestionGet "current playing" movie/song in WMP Pin
mulybenj26-May-07 0:22
mulybenj26-May-07 0:22 
Hello there! I've been trying, without any luck for the past week or so to get the "currently playing" movie/song in my Windows Media Player.

I know I need to use SendMessage to send and receive info from WMP. I've managed to write Play/Pause/Stop methods:

Example:
---
// stop WMP movie/song
IntPtr ptrWindow = FindWindow("WMPlayerApp", "Windows Media Player");
if (ptrWindow == IntPtr.Zero)
return;
SendMessage(ptrWindow, WM_COMMAND, 0x00004979, 0x00000000);

---

However, this doesn't get me anywhere near the "Currently Playing" movie/song. I've looked into the WMP SDK, but that doesn't seem to help. I don't want to make a new instance of WMP. I want to read the currently playing info from my own WMP app that's open.

I'd appreciate any help in getting closer to what I need.

Thanks in advance.

AnswerRe: Get "current playing" movie/song in WMP Pin
henur26-May-07 21:38
henur26-May-07 21:38 
GeneralRe: Get "current playing" movie/song in WMP Pin
mulybenj27-May-07 1:09
mulybenj27-May-07 1:09 
GeneralRe: Get "current playing" movie/song in WMP Pin
henur27-May-07 4:54
henur27-May-07 4:54 
QuestionExecuting an exe file from a Windows Service Pin
M. J. Jaya Chitra25-May-07 23:10
M. J. Jaya Chitra25-May-07 23:10 
AnswerRe: Executing an exe file from a Windows Service Pin
kubben26-May-07 3:11
kubben26-May-07 3:11 
GeneralRe: Executing an exe file from a Windows Service Pin
mav.northwind26-May-07 23:00
mav.northwind26-May-07 23:00 
GeneralRe: Executing an exe file from a Windows Service Pin
kubben28-May-07 1:59
kubben28-May-07 1:59 
GeneralRe: Executing an exe file from a Windows Service Pin
M. J. Jaya Chitra27-May-07 16:57
M. J. Jaya Chitra27-May-07 16:57 
GeneralRe: Executing an exe file from a Windows Service Pin
kubben28-May-07 1:59
kubben28-May-07 1:59 
Questionweird problem with ComboBox - DataSource contains data, but the Items collection stays empty Pin
Marek Grzenkowicz25-May-07 23:02
Marek 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
Marek Grzenkowicz27-May-07 21:41 
QuestionC# Control for volume Pin
henur25-May-07 22:54
henur25-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
henur26-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
henur27-May-07 4:56 

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.