Click here to Skip to main content
15,909,747 members
Home / Discussions / C#
   

C#

 
Question.Net version of depends? Pin
Russell Jones3-Mar-08 5:52
Russell Jones3-Mar-08 5:52 
AnswerRe: .Net version of depends? Pin
Ed.Poore3-Mar-08 8:02
Ed.Poore3-Mar-08 8:02 
AnswerRe: .Net version of depends? Pin
Dave Kreskowiak3-Mar-08 9:39
mveDave Kreskowiak3-Mar-08 9:39 
GeneralRe: .Net version of depends? Pin
Russell Jones3-Mar-08 22:49
Russell Jones3-Mar-08 22:49 
Generaldatabind myTextbox.Text to myXmlElement.Value Pin
buchstaben3-Mar-08 4:42
buchstaben3-Mar-08 4:42 
QuestionGetManifestResource problem Pin
JustRonald3-Mar-08 4:36
JustRonald3-Mar-08 4:36 
GeneralRe: GetManifestResource problem Pin
led mike3-Mar-08 5:02
led mike3-Mar-08 5:02 
GeneralRe: GetManifestResource problem [modified] Pin
DaveyM693-Mar-08 6:07
professionalDaveyM693-Mar-08 6:07 
There's an example here[^]

The only problem I've found is you need to specify the file's location as
"yournamespace.Resources.filename.ext"

e.g.
GetManifestResourceStream("My_App.Resources.new.wav");

Edit: You needto use Winmm.dll not Coredll.dll


Improved solution/example below

Dave

modified on Monday, March 3, 2008 2:51 PM

GeneralRe: GetManifestResource problem Pin
Giorgi Dalakishvili3-Mar-08 6:20
mentorGiorgi Dalakishvili3-Mar-08 6:20 
GeneralRe: GetManifestResource problem Pin
DaveyM693-Mar-08 8:51
professionalDaveyM693-Mar-08 8:51 
GeneralRe: GetManifestResource problem Pin
ADLER13-Mar-08 11:24
ADLER13-Mar-08 11:24 
GeneralMonth and year control Pin
Yulianto.3-Mar-08 3:40
Yulianto.3-Mar-08 3:40 
GeneralRe: Month and year control Pin
Pete O'Hanlon3-Mar-08 3:46
mvePete O'Hanlon3-Mar-08 3:46 
GeneralRe: Month and year control Pin
Yulianto.3-Mar-08 3:49
Yulianto.3-Mar-08 3:49 
GeneralRe: Month and year control Pin
Pete O'Hanlon3-Mar-08 4:18
mvePete O'Hanlon3-Mar-08 4:18 
GeneralRe: Month and year control Pin
Yulianto.3-Mar-08 4:24
Yulianto.3-Mar-08 4:24 
GeneralRe: Month and year control Pin
Pete O'Hanlon3-Mar-08 5:04
mvePete O'Hanlon3-Mar-08 5:04 
GeneralRe: Month and year control Pin
PIEBALDconsult3-Mar-08 8:45
mvePIEBALDconsult3-Mar-08 8:45 
GeneralRetrieving text at a specific index from a text file Pin
jimmy2shoes3-Mar-08 3:21
jimmy2shoes3-Mar-08 3:21 
AnswerRe: Retrieving text at a specific index from a text file Pin
Eslam Afifi3-Mar-08 6:12
Eslam Afifi3-Mar-08 6:12 
Questionhow to add database fields dynamically to a crystal report in .net 2005 #1 Pin
Member 36683083-Mar-08 2:07
Member 36683083-Mar-08 2:07 
QuestionDatagridview, disable row selection Pin
alexander_perdum3-Mar-08 1:44
alexander_perdum3-Mar-08 1:44 
GeneralRe: Datagridview, disable row selection Pin
Xmen Real 3-Mar-08 4:51
professional Xmen Real 3-Mar-08 4:51 
GeneralRe: Datagridview, disable row selection Pin
alexander_perdum3-Mar-08 5:01
alexander_perdum3-Mar-08 5:01 
GeneralRe: Datagridview, disable row selection Pin
Xmen Real 3-Mar-08 5:12
professional Xmen Real 3-Mar-08 5:12 

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.