Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Word in a VFP form
Message
From
28/02/2005 13:18:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/02/2005 13:10:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00991182
Message ID:
00991289
Views:
12
Good question. Normally this is supposed to work but doesn't (does work with Excel):

oWord.Commandbars("Standard").Visible = .t.
oWord.Commandbars("Formatting").Visible = .t.

For open/save dialog search for it. I don't remember the solution but was solved (hard to find code in which it was solved).
Cetin

>Cetin,
>
>Just one more thing: how can I make the Word toolbars appear, and bypass the "open/save" dialog?
>
>Fernando
>
>>>Hi,
>>>
>>>I have Outlook right in my front now, and am editing an email message. The text is written in an "editbox" where MS Word is doing the editing work, behind the scenes.
>>>
>>>I can see the "new message" as a form where Word is embedded, with its toolbars etc.
>>>
>>>I already use automation but all my attempts to "embed" Word in a form resulted in very poor results.
>>>
>>>Can I mimic that Outlook's "form" in VFP?
>>>
>>>Regards,
>>>
>>>Fernando
>>>
>>>PS. In the Tools > Options > Mail Format, I checked the "Use Microsoft Word to edit emails" checkbox.
>>>
>>>Using Outlook and Word 2002
>>
>>Fernando,
>>You could but however somewhat painfull. Create an emty doc file. Use a web browser control and navigate2 to created .doc file. I was even be able to invoke word's macro recording from there in the past as I remember (my preference is to invoke word in its own window and actually hate outlook's behavior).
>>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