D
Dhonan
I am trying to show an icon on an Access form (e.g. the Word or Excel icon)
for an embedded object. Here is my code:
[Case Notes].Class = "Word.document" ' Set class name.
[Case Notes].OLETypeAllowed = acOLEEmbedded
[Case Notes].DisplayType = True
[Case Notes].SourceDoc = Application.CurrentProject.Path &
"\CaseNotesTemplate.doc"
[Case Notes].Action = acOLECreateEmbed
[Case Notes].SizeMode = acOLESizeZoom
This creates a square on my form that simply says "Word Document". However,
if I right click on the object and insert the object, the proper icon is
displayed.
Any ideas - thank!
for an embedded object. Here is my code:
[Case Notes].Class = "Word.document" ' Set class name.
[Case Notes].OLETypeAllowed = acOLEEmbedded
[Case Notes].DisplayType = True
[Case Notes].SourceDoc = Application.CurrentProject.Path &
"\CaseNotesTemplate.doc"
[Case Notes].Action = acOLECreateEmbed
[Case Notes].SizeMode = acOLESizeZoom
This creates a square on my form that simply says "Word Document". However,
if I right click on the object and insert the object, the proper icon is
displayed.
Any ideas - thank!