Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing error when openning Word Documents
Message
From
23/07/1998 11:14:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/07/1998 11:05:37
Joao Godinho
Fredesenvolv, Lda
Lisbon, Portugal
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00120477
Message ID:
00120483
Views:
16
>How can i handle the error when openning an word document that is allready open
>I'm using VFP 5.0 and Word 7.0
If you mean fileopen error simply try to fopen() the file first and if handle returns > 0 close and open in word. If you mean new word instance then use getobject() instead of createobject.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform