Click here to Skip to main content
15,901,373 members
Home / Discussions / C#
   

C#

 
QuestionDropDownWidth ignored in DataGridViewComboBoxColumn Pin
AndrusM26-May-07 8:51
AndrusM26-May-07 8:51 
Questionhow to tell to regex (regular expression) that ignore some charachters ? Pin
hdv21226-May-07 8:40
hdv21226-May-07 8:40 
AnswerRe: how to tell to regex (regular expression) that ignore some charachters ? Pin
mav.northwind26-May-07 21:59
mav.northwind26-May-07 21:59 
QuestionSetStyle( ) to eliminate flicker causes problem. Pin
Ylno26-May-07 7:56
Ylno26-May-07 7:56 
Questionclearing table or dataGrid and make the table selected fit in my dataGrid Pin
spawn_ro198526-May-07 6:16
spawn_ro198526-May-07 6:16 
QuestionDirectoryInfo Problem Pin
Mohammed Elkholy26-May-07 5:20
Mohammed Elkholy26-May-07 5:20 
AnswerRe: DirectoryInfo Problem Pin
kubben26-May-07 7:14
kubben26-May-07 7:14 
AnswerRe: DirectoryInfo Problem Pin
Luc Pattyn26-May-07 8:28
sitebuilderLuc Pattyn26-May-07 8:28 
Questionexport from grid to excel,word Pin
praveenanand26-May-07 3:18
praveenanand26-May-07 3:18 
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 

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.