Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Underlining Picture in Word when Word minimized
Message
From
24/07/2006 17:03:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Underlining Picture in Word when Word minimized
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139442
Message ID:
01139442
Views:
52
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
Map
View

Click here to load this message in the networking platform