Resources in VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to add images to my project,but it seems very complicated to me
in VB6 it was very easy,but now..
I wanted to create something like Windows XP baloons,you know,something like a tool tip which usually appears on bottom-right side of screen when anything happens-for example when a new hardware is found
I created a class library project,added a form and changed it's appearance,I added a label control and set its Image property to point to an icon and built the project.no errors occured
when I try to use this component in another project,an error like "Missing resource manifest" occurs
I even tried it with an ImageList control,but the same error happened
Generally,I need some information about adding images to resource files,the same thing that could be done in VB6 using its resource editor
Thanx in advance,Ehsan.
 
Hi Ehsan,

When you want the balloons, you should make them yourself, but when you want
tooltips or errorprovider than it is there for you.

Have a look at those two pages.
http://msdn.microsoft.com/library/d.../frlrfsystemwindowsformstooltipclasstopic.asp

http://msdn.microsoft.com/library/d...systemwindowsformserrorproviderclasstopic.asp

I hope this helps?

Cor
I want to add images to my project,but it seems very complicated to me.
in VB6 it was very easy,but now...
I wanted to create something like Windows XP baloons,you know,something
like a tool tip which usually appears on bottom-right side of screen when
anything happens-for example when a new hardware is found.
I created a class library project,added a form and changed it's
appearance,I added a label control and set its Image property to point to an
icon and built the project.no errors occured.
when I try to use this component in another project,an error like "Missing resource manifest" occurs.
I even tried it with an ImageList control,but the same error happened!
Generally,I need some information about adding images to resource
files,the same thing that could be done in VB6 using its resource editor.
 
Hi Cor.
Thanks for your reply,Those were good links.but my information about tooltips is complete and I don't think I will need error providers.
Let's consider it this way:I just need information about adding pictures to projects and resource files of a project,and displaying them correctly on a form.
You know,the same thing that could be done in VB6 using resource editor,as I mentioned.
Thank you.
Ehsan.
 
Back
Top