Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE from VFP3 to Microsoft Word!
Message
From
08/05/1998 10:55:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00097617
Message ID:
00098087
Views:
33
>>>I think the main problem is in localID. Code posted here generally (always) assume the OLEAutomationobjects use English instructions. If this theory is true sys(3006,1033) would fix it.
>
>This would cause Data Type Mismatch Errors????? Also, isn't this only relevant for OLE Bound/Container Controls???
John,
What I mean here.
oWord = createobject("word.application")
* or oWord = thisform.olewordcontrol
* =sys(3006,1033)  && Rem'med out
with oWord
   ...
   .ActiveDocument.close(..  && Work normally in English versions
                             && Generate unknown name etc in Turkish
   .AktifDokuman.kapat(...   && Is for Turkish word installations
   ...
endwith
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
Next
Reply
Map
View

Click here to load this message in the networking platform