How to extract Resources(easy)

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
5 posts Page 1 of 1
Contributors
User avatar
Proprogrammer
VIP - Donator
VIP - Donator
Posts: 415
Joined: Sun Oct 03, 2010 11:14 pm

How to extract Resources(easy)
Proprogrammer
Ok guys just going to make this quick and say that you can just put this anywhere, whatever reason you need this for, it works well.
Code: Select all
Using sCreateMSIFile As New FileStream(OUTPUT, FileMode.Create)
                    sCreateMSIFile.Write(My.Resources.Setup, 0, My.Resources.Setup.Length)
                End Using
Can be used for a setup program and ect. as you see. Where OUTPUT is, that is where My.Resources.Setup will be extracted to.

EASY, SIMPLE, PRO!
------------------------------------------------------------------------------
Proprogrammer, not just a Programmer.
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: How to extract Resources(easy)
clanc789
Hmn okay seems nice tut: simple yet effective! Good job!
Practice makes perfect!

VIP since: 6-10-2011
User avatar
Coolblade
VIP - Site Partner
VIP - Site Partner
Posts: 126
Joined: Mon Oct 24, 2011 7:04 pm

Simply honlesty a B+ as a grade Good Job.
http://www.codingpalace.tk/
User avatar
lesan101
Top Poster
Top Poster
Posts: 193
Joined: Tue Jun 29, 2010 8:10 am

Re: How to extract Resources(easy)
lesan101
what if i wanted to extract it to the desktop?
Image
User avatar
Bogoh67
VIP - Site Partner
VIP - Site Partner
Posts: 656
Joined: Sun Apr 18, 2010 8:20 pm

Re: How to extract Resources(easy)
Bogoh67
lesan, where it says output write My.Computer.FileSystem.SpecialDirectories.Desktop
BTW think its either filesystem or something else (dont have vb on thiss computer)
5 posts Page 1 of 1
Return to “Tutorials”