General information
Category:
COM/DCOM and OLE Automation
Title:
Underlining Picture in Word when Word minimized
Hi Everyone:
I have an interesting one here.
I have a VFP program that creates a frame in a Word 97 document. Within the program, I then insert a graph as a picture into the frame.
When I run the program with Word minimized, the picture/graph in the frame gets underlined (not what I'm looking for). When I run the program with Word not minimized, the underlining doesn't happen.
I've also tried running the program and in the middle of running it switching to Word by clicking on the Word Icon. All graphs created before I switch are underlined, and all of them created after I switch to Word are not.
The 2 lines at which the problem occurs are:
oword.Selection.Frames(1).Select
oword.Selection.InlineShapes.AddPicture(addbs(current_directory)+ ;
"picname" + ".wmf",.f.,.t.)
if anyone has any suggestions, it would be appreciated. Thanks.
Paul
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only