![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Handling Bitmaps at Module Attribute level, not Object-level. Topic Summary: Are there equivelant 'oleInsert', 'oleOpen', 'oleCopy' etc commands for Module attributes? Created On: 1-Sep-2008 15:43 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I have a Module Attribute named 'Project Logo' which currently stores the fullpath and filename of a selected bitmap image. The image is located, somewhere on the computer's hard drive. It is hoped that the image located at the specified location can then be copied and subsequently pasted into a Microsoft Word application during an export process. Are any of you out there able to assist me in finding a method to copy the image (possibly into the system clipboard) and paste it into Word as I can only find procedures which would have been useful had I of been using an object-level attribute? If this is not possible, perhaps you can show me how I can copy the actual image itself into a Module-level attribute - and its associated copy/paste to Microsoft Word. All the very best to you, Chris. |
|
![]() |
|
![]() |
|
Chris
Easiest approach may be to use: -- Use a word template with picture embedded or -- Use a word VBA script to import the picture given the name. The VBA script could be either stored in msword and activated with file name or you could send the vba script to word as a string. Edited: 2-Sep-2008 at 17:28 by ron lewis |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.