could anyone help me with, easiest way to map resources to a button.
i have resources added in my project. when i click on a button call " open tutorial" i want it to open this resource. its(the resource is) a power point presentation.
thank you
Printable View
could anyone help me with, easiest way to map resources to a button.
i have resources added in my project. when i click on a button call " open tutorial" i want it to open this resource. its(the resource is) a power point presentation.
thank you
How exactly have you added this file to your project?
well, they are under a folder... i havnt created this program, am just editing some part of it. i dont mind if i have to relocate the resource file and then map it.. i could copy and paste it to another location if i should
thanks
What version of VB? Please use the radio buttons provided to specify when creating a new thread.
Can you see the files on the Resources tab of the project properties or have they just been added to the project with their Build Action property set to Embedded Resource?
i can see them in my resources tab. and i am using visual studio 2005
thanks
i didnt get you, what you mean by use radio buttons when creating a new thread please.
If the file is present in the Resources tab then you can access it via My.Resources in code. What is the type of the property by which you access it? It will likely be Byte() or UnamanagedMemoryStream or the like.