what is wrong? Please help....

G

Guest

Hi, friends,

In a VC# user control, I have a TreeView control, which has its property
ImageList = TreeViewImageList control. All images are added into this
TreeViewImageList control, and everything looks fine.

However, when I compiled it, it stopped at:

this.TreeViewImages.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("TreeViewImages.ImageStream")));

Further error messages say:

Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure
"RepositoryFileSelect.resources" was correctly embedded or linked into
assembly "RepositoryFileSelect".
baseName: RepositoryFileSelect locationInfo:

What does it really want me to do? I already added all image .bmp files into
the user control library project....

Thanks a lot.
 
F

Frans Bouma [C# MVP]

Andrew said:
Hi, friends,

In a VC# user control, I have a TreeView control, which has its property
ImageList = TreeViewImageList control. All images are added into this
TreeViewImageList control, and everything looks fine.

However, when I compiled it, it stopped at:

this.TreeViewImages.ImageStream =
((System.Windows.Forms.ImageListStreamer)(resources.GetObject("TreeViewImage
s.ImageStream")));

Further error messages say:

Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure
"RepositoryFileSelect.resources" was correctly embedded or linked into
assembly "RepositoryFileSelect".
baseName: RepositoryFileSelect locationInfo:

What does it really want me to do? I already added all image .bmp files
into the user control library project....

Odd answer, but do you use a .manifest file for vs.net? If so, remove it.

Frans.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top