Solved

Word OLE Conainer

Posted on 1997-06-12
2
384 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
select query - oracle 16 100
Delphi and Access based Enumeration 9 64
Delphi: barcode reading on android platform 1 30
Delphi: sending SMS on android platform 1 21
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

832 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