Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Underlining Picture in Word when Word minimized
Message
De
24/07/2006 17:03:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Underlining Picture in Word when Word minimized
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01139442
Message ID:
01139442
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform