Click here to Skip to main content
15,898,373 members
Home / Discussions / WPF
   

WPF

 
Questionsql server express [modified] Pin
arkiboys17-Jan-11 2:30
arkiboys17-Jan-11 2:30 
AnswerRe: sql server express Pin
Pete O'Hanlon17-Jan-11 3:12
mvePete O'Hanlon17-Jan-11 3:12 
AnswerRe: sql server express Pin
Abhinav S17-Jan-11 5:34
Abhinav S17-Jan-11 5:34 
QuestionGridview not showing items [modified] [Solved] Pin
V.17-Jan-11 1:22
professionalV.17-Jan-11 1:22 
QuestionColumnbar styling quesiton in SL4 [modified] Pin
CrafterIt16-Jan-11 22:46
CrafterIt16-Jan-11 22:46 
AnswerRe: Columnbar styling quesiton in SL4 Pin
CrafterIt17-Jan-11 2:23
CrafterIt17-Jan-11 2:23 
Questioncant play sound from source using MediaElement Pin
igalep13215-Jan-11 12:09
igalep13215-Jan-11 12:09 
AnswerRe: cant play sound from source using MediaElement Pin
omeriko916-Jan-11 6:59
omeriko916-Jan-11 6:59 
Hi Igal,

Please see here:
http://social.expression.microsoft.com/Forums/en-US/blend/thread/760fb27c-5f2b-4084-ba9c-a5fa1c16b5b7/[^]

Apparently, Pack Uri for MediaElement.Source is not supported yet (according to that post, in .NET 3.5, but I checked in 4 and it's the same).

If you must make the sound file a resource, consider extracting the sound file yourself from the resource stream to a temp file, see Hau Chen's code here:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/906773b5-a5dd-40bd-bb2b-73ac4d3c3a46/[^]

Otherwise use the "Content" build action and access it as you suggested.

Omer
GeneralRe: cant play sound from source using MediaElement Pin
igalep13216-Jan-11 11:45
igalep13216-Jan-11 11:45 
GeneralRe: cant play sound from source using MediaElement Pin
omeriko916-Jan-11 20:21
omeriko916-Jan-11 20:21 
GeneralRe: cant play sound from source using MediaElement Pin
igalep13216-Jan-11 20:41
igalep13216-Jan-11 20:41 
GeneralRe: cant play sound from source using MediaElement Pin
omeriko916-Jan-11 20:43
omeriko916-Jan-11 20:43 
Questionwpf 2010 express Pin
arkiboys14-Jan-11 20:18
arkiboys14-Jan-11 20:18 
AnswerRe: wpf 2010 express Pin
Praveen Raghuvanshi15-Jan-11 4:30
professionalPraveen Raghuvanshi15-Jan-11 4:30 
AnswerRe: wpf 2010 express Pin
Abhinav S16-Jan-11 2:18
Abhinav S16-Jan-11 2:18 
QuestionThe property 'ContentStringFormat' does not exist on the type Pin
CrafterIt13-Jan-11 22:45
CrafterIt13-Jan-11 22:45 
AnswerRe: The property 'ContentStringFormat' does not exist on the type Pin
Pete O'Hanlon13-Jan-11 23:12
mvePete O'Hanlon13-Jan-11 23:12 
GeneralRe: The property 'ContentStringFormat' does not exist on the type Pin
CrafterIt13-Jan-11 23:18
CrafterIt13-Jan-11 23:18 
GeneralRe: The property 'ContentStringFormat' does not exist on the type Pin
Pete O'Hanlon13-Jan-11 23:26
mvePete O'Hanlon13-Jan-11 23:26 
GeneralRe: The property 'ContentStringFormat' does not exist on the type Pin
CrafterIt14-Jan-11 0:04
CrafterIt14-Jan-11 0:04 
QuestionMVVM Patter and databinding [modified] Pin
ToddHileHoffer13-Jan-11 15:18
ToddHileHoffer13-Jan-11 15:18 
AnswerRe: MVVM Patter and databinding Pin
Abhinav S13-Jan-11 17:50
Abhinav S13-Jan-11 17:50 
AnswerRe: MVVM Patter and databinding Pin
Pete O'Hanlon13-Jan-11 21:19
mvePete O'Hanlon13-Jan-11 21:19 
AnswerRe: MVVM Patter and databinding Pin
Soulus8319-Jan-11 20:52
Soulus8319-Jan-11 20:52 
QuestionAsync Exception with WCF - Silverlight Pin
avnerpeer13-Jan-11 0:29
avnerpeer13-Jan-11 0:29 

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.