Message 1 of 4
Programing with OLE Image

Not applicable
01-09-2013
07:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to automate some drawing (.idw) revision processes.
I am able to delete existing/replace/addnew OLE References.
What I am having troubles with is manipulating the actual OLE Image container.
So if I was to add a new OLE Reference like you would when clicking Manage > Insert Object > Create From File.
ReferencedOLEFileDescriptors.Add("Filename",3331)
All this code does is add the new ref to the 3rd Party Folder.
I have no idea how to create/move this new referenced container.
These OLE objects seem to be global. In the sense that each new sheet added to the .idw can have this reference turned visible and moved but its actual handle is unknown to me??
The OLE reference documents used are circuit diagrams made in Visio.
Any help would be much appreciated.
Mark