Groups | Blog | Home
all groups > dotnet general > march 2004 >

dotnet general : Resources in VB.NET


Ehsan
3/12/2004 11:11:06 PM
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
Ehsan
3/13/2004 2:56:05 AM
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.
Cor
3/13/2004 9:05:45 AM
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/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformstooltipclasstopic.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformserrorproviderclasstopic.asp

I hope this helps?

Cor

[quoted text, click to view]
like a tool tip which usually appears on bottom-right side of screen when
anything happens-for example when a new hardware is found.
[quoted text, click to view]
appearance,I added a label control and set its Image property to point to an
icon and built the project.no errors occured.
[quoted text, click to view]

Cor
3/13/2004 12:11:16 PM
Hi Ehsan,

There are good samples in this resource kit about GTI+ have a look at that.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And if you have problems installing it

http://msdn.microsoft.com/vbasic/vbrkit/faq/#installvdir

It can be that that fits to your needs?

Cor

AddThis Social Bookmark Button