Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation of Word document inserted into a general fied
Message
From
06/04/2000 11:59:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/04/2000 10:51:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00356259
Message ID:
00356333
Views:
14
>I'd like to make changes to a Word document which has been inserted into a general type field.
>
>I'd like to get an object reference just like when you issue something like oWord = CreatObject('Word.Application') and issue command like:
>
>oWord.selection.Bookmarks('Fecha').select
>
>oWord.selection.insertafter('MyName')
>
>How can I automate the dcument inserted into the general field in order to make changes to it through its Word basic?
>
>Thanks a lot for any advise.
>
>Oscar Corte


Oscar,
Think :
oWord = CreatObject('Word.Application')
As :
oWord = thisform.myOleBoundControl

You could createobject("Form") and add your oleboundcontrol to it. It doesn't need to be shown at all.
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