Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,

What is the Difference between Loading a picture in Picturebox
Through (Importing)
1) Local Resource
2) Project Resource File.

Which is More Advantageous.
Kindly Reply


Regards,
Lakshman
Posted

1 solution

It depends on what you are trying to achieve. If you have a local resource, then you need to redistribute the bitmap with the application. If you have a resource bitmap, then you don't need to but the size of your exe will increase.
If you plan to change the bitmaps, it is easier to have them as local files because you don't need to recompile your application everytime a bitmap changes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900