TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vasu Gadhiya
NA
429
103.1k
How to add more image in project.
Oct 30 2013 6:34 AM
Hello
I Write Code for use image in project.
object O = MyPro.Properties.Resources.ResourceManager.GetObject("img_1");
Picturebox1.Image = (Image)O;
--------------------------------------------------------------------------------------
Its Work Completely But i want to use More image in Project (15000 images) So i add all images but after Project can't Build.
Error - There are no enough space to write metadata.
So i nee other way to add more image in project.
Any Other Way to add more image in project ??
--------------------------------------------------------------------------------------
Also i try Class Library but its always return null.
Assembly _assembly = Assembly.LoadFile(@"H:\MyPro\Master\bin\Debug\ClassLibrary1.dll");
Stream _imageStream;
_assembly = Assembly.GetExecutingAssembly();
_imageStream = _assembly.GetManifestResourceStream("img_1");
pictureBox1.Image = new Bitmap(_imageStream);
--------------------------------------------------------------------------------------
I need other way that i can add more images in other project and can use in main project.
Thanks in advance.
Reply
Answers (
2
)
sql query how to order by using in combobox
sql query order by clause