|
-
Dec 17th, 2008, 09:10 PM
#1
Thread Starter
New Member
resources
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
-
Dec 17th, 2008, 09:16 PM
#2
Re: resources
How exactly have you added this file to your project?
-
Dec 18th, 2008, 02:49 AM
#3
Thread Starter
New Member
Re: resources
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
-
Dec 18th, 2008, 03:08 AM
#4
Re: resources
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?
-
Dec 18th, 2008, 04:03 AM
#5
Thread Starter
New Member
Re: resources
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.
-
Dec 18th, 2008, 04:10 AM
#6
Re: resources
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|