Solved

Word OLE Conainer

Posted on 1997-06-12
2
373 Views
Last Modified: 2010-04-06
I am using Delphi 3.0 C/S (although I get the same thing when using 2.0). I am using a TOleContainer, and loading a file into it using:
   OleContainer.CreateObjectFromFile(WordFileName);
When I double click on the OleContainer, Word's Toolbar appears. Some of the buttons, however, are not enabled (such as Save, Open, etc). Does anyone know why? How to enable them? If I cant, is there a way to do inplace activation w/o showing Word's toolbar?
0
Comment
Question by:vbfischer
2 Comments
 
LVL 1

Expert Comment

by:miv
ID: 1336979
Just following this thread...(Had to make a comment to get a e-mail notification)
0
 
LVL 1

Accepted Solution

by:
Gabor earned 100 total points
ID: 1336980
You have to use OleContainer.CreateLinkToFile(WordFileName,FALSE) instead to hold the link to the original file.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now