Discussion:
VBIDE Addins
(too old to reply)
River Plate
2006-04-30 14:46:41 UTC
Permalink
Hi All,

I have a question relating to VBIDE Addins and how to modify th
picture property of a control.

I've tried this statement,which loads the name of an icon into the ico
list for the specified object, which must be a form.

Set VBIDE.VBE.ActiveVBProject.VBComponents(1).Properties _
("Icon").Object = LoadPicture("Baseball.ico")

But..It didn't work because of an automation error.

Any insight will be appreciated.

Regards,

River Plat


-
River Plat
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------
Donald A. Herman
2006-05-01 02:19:54 UTC
Permalink
I am not sure I get what you are asking. Is it the icons in the toolbox? or
the icons for the vb addin you made?
something else?
--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://don_herman.tripod.com

Office Extras, Addins
http://don_herman.tripod.com/msoextras
Post by River Plate
Hi All,
I have a question relating to VBIDE Addins and how to modify the
picture property of a control.
I've tried this statement,which loads the name of an icon into the icon
list for the specified object, which must be a form.
Set VBIDE.VBE.ActiveVBProject.VBComponents(1).Properties _
("Icon").Object = LoadPicture("Baseball.ico")
But..It didn't work because of an automation error.
Any insight will be appreciated.
Regards,
River Plate
--
River Plate
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
Loading...