Very simple image dll no coding required
Posted: Sat Sep 18, 2010 5:52 pm
hi i've got an idea today i didn't thought that it will work but it did
in this tutorial i will show you how to store an image in a dll file and load it in your project
Absolutely no coding required
i repeat this is the simple way
Create the dll
1. create a new classlibrary project and name it what ever you want
2. go to Project--Add UserControl
3. pot an imagebox on the usercontrol and set its dock property to Fill
4. Delete the class (it has to remain only the UserControl)
5. load your image in the picturebox and debug/build your app
Add to windows form
1. create a new project
2. go to Toolbox -- Chose Toolbox Items --Browse ----> select the dll that you created
3. Go to you Toolbox and you will find a new control with your dll name
4. Drag it in to your form and that's it your image will appear there
I don't know if someone else did this(if you find it elsewhere you have my word that I've not copied it its pure coincidence)
That's it guys i hope you like it is not very advanced but it could prove very useful to someone..... someday
in this tutorial i will show you how to store an image in a dll file and load it in your project
Absolutely no coding required
i repeat this is the simple way
Create the dll
1. create a new classlibrary project and name it what ever you want
2. go to Project--Add UserControl
3. pot an imagebox on the usercontrol and set its dock property to Fill
4. Delete the class (it has to remain only the UserControl)
5. load your image in the picturebox and debug/build your app
Add to windows form
1. create a new project
2. go to Toolbox -- Chose Toolbox Items --Browse ----> select the dll that you created
3. Go to you Toolbox and you will find a new control with your dll name
4. Drag it in to your form and that's it your image will appear there
I don't know if someone else did this(if you find it elsewhere you have my word that I've not copied it its pure coincidence)
That's it guys i hope you like it is not very advanced but it could prove very useful to someone..... someday