|
-
March 9th, 1999, 02:53 PM
#1
How can I retrieve a picture at Add-In side?
I declared a variable, say ctl, as VBControl.
I need to display the control's caption and picture if they exist.
I can retrieve the caption like the following,
Dim strTemp as string
strTemp = ctl.properties!caption
However the following code to get the picture does not work:
Dim pic as picture
set pic = ctl.properties!picture
I guess this is because ctl.properties!picture is regarded as "object" by Add-in, no as "Picture". But how can I convert it to a "picture" object?
Thanks a lot!
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
|