what is wrong? Please help....

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top