HomeОбразованиеRelated VideosMore From: CharnyCoding

[C#] How to add and use images from resources

219 ratings | 112274 views
LIKE US ON FACEBOOK : http://www.facebook.com/pages/Charny-Coding/146893872037989 In this video I'll show you how to add and use images from resources. In this video I'm using Visual Studio 2010
Html code for embedding videos on your blog
Text Comments (28)
Zev Goldstein (1 month ago)
thank you, even though the text is in another language, it's easy to understand. I was having trouble figuring out how to add resources. I knew it was simple, I just didn't know how and you explained it well.
MegaVinylshaker (3 months ago)
change VS language to english.....
how we can do that using code ether run time project ??
Wim Lambert (1 year ago)
Good video. Short, simple and to the point.
Diego Ulises (1 year ago)
Get path!
Parkourchinx (1 year ago)
Thanks so much dude
Sáng Vũ (1 year ago)
you can write image from resource to disk? I can full example, i try search stackoverflow and very many page, but i don't understand do it, please help me
Rob Drake (2 years ago)
Thanks for the video. It's easy to follow and works. Also consider using a sound file in resources. I saw this on my Google search : http://stackoverflow.com/questions/4125698/how-to-play-wav-audio-file-from-resources Thanks to Evan Mulawski System.IO.Stream str = Properties.Resources.mySoundFile; //mySoundFile - reference in the resources file. Appears with intellisense. System.Media.SoundPlayer snd = new SoundPlayer(str); snd.Play(); Also a good idea to add the number of milliseconds to play the sound - it saves working on the actual file: System.Threading.Thread.Sleep(5000); snd.Stop(); Ciao Rob
Moaad Amer (2 years ago)
and if the image was placed in a folder in the resourse folder?
EnnJayy (2 years ago)
thanks.
Edgar Medina (2 years ago)
Can you help me with the resources , I need one page where I can download to add it to my proyect , thanks :-) regards
idris sparrow (2 years ago)
thousand thank you for you..because of you i've completed my project.. really appreciate your video
Liudvikas Guess (2 years ago)
is there any similar programs on linux i got tired using bash to program everything script kiddies rule
jaap aarts (2 years ago)
Use a Windows vm or mono develop
asdf fdas (2 years ago)
Thanks, helped me complete an assignment I was working on in school.
kin Yarnoclum (3 years ago)
relevant unlike msdn
naldo br (3 years ago)
Thank U
dob1997 (3 years ago)
I got very excited by this ! :D Incredibly useful
Devendra Yadav (3 years ago)
how to stop  rotation of image/ball on  roulette acording in wpf/c#
Paolo MyRage (4 years ago)
I FUCKING LOVE YOU
Ehrenfried (4 years ago)
nice video
羅凱文 (4 years ago)
Thanks a lot! Wacthing how to do that is much efficeient than reading and googling the article about that
bmsppt (4 years ago)
Thanks. The video was very helpful.
Paper Bag Man (5 years ago)
Oh thank you! Jesus Christ, I love you man! You see, I'm transferring over from Visual Basic to C#. A lot of things are the same, but a lot MORE things are different, these resources being one of those. Thanks a bunch.
Ömer Gültekin (5 years ago)
Thank you too much,,, I very searched how to add an image on my projects, and I have found finally,, İt is very helpful video
ladri (5 years ago)
thanks, that was really helpful.
Guided Hacking (5 years ago)
Thanks mate, something so simple got me stuck for a while :)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.