Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

.net - Is it possible to pause/resume the default music player from c# (maybe using the windows API) -


is there windows api command pause , resume default/current media player? if it, or need spoof keyboard input somehow?

my reasoning... multimedia keyboards (or in fact modern usb keyboard) have pause buttons seem pause (commercial) music or video players (windows media player, spotify player , windvd respect command on current windows 7 , win xp machines).

i'm guessing keyboard drivers aren't aware of these apps (besides which, haven't installed multimedia keyboard driver in decade), standard event being raised apps respondind to? what's event, , can raise (or cause raised) myself c#?

at worst there must standard input usb human interface device standard? spoof that?

you might consider simulating multimedia key press event in windows. it's not guaranteed work media software, many will.

these 3 items may have pieces you'll need:


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -