Link to home
Start Free TrialLog in
Avatar of fortressmedical
fortressmedical

asked on

OLE object on datawindow will not save

We have one user who cannot save a datawindow once they have embedded a Microsoft OLE Object (Word/Excel/Powerpoint).   They get an error that it was unable to write <datawindow>.bin ....   We know that a datawindow is saved in two parts, the main datawindow and bin section for the OLE object.   Any other user with the same library and embedded word document does not have this problem.  It is peculiar to this machine.  We have run a Microsoft Office repair on the computer with no luck.  This Infomaker 6.5.1 with MS Office 2003.   Is there an MS Office OLE configuration area?  Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of sandeep_patel
sandeep_patel
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fortressmedical
fortressmedical

ASKER

Thanks, Sandeep
We have successfully saved other OLE controls (non-office) so I think it may be a MS Word Ole issue.
Do you know wow to unregister/register MS Word?

Regards,
Mark
Hi,

May i know how are you inserting OLE in datawindow?

When you insert OLE there are three tabs on that 'Insert Control' window. Last tabpage is for 'Insert Control'...select the OLE you are using...click on 'Browse' button to see which dll or OCX is associated. Click on 'Unregister' and 'Register' to re-register that control...

To register you can type regsvr32 "dll or ocx path" in run window (start > run).

Regards,
Sandeep

The insert of the datawindow is by:
1) selecting Objects/OLE Object on the menu and clicking on the datawindow.
2) Either choosing Create from File and browsing to a Word Document or Create New and selecting Microsoft Word Document.
3) The word document will then appear in the OLE Object
3) When the user tries to save the datawindow they get the error message displayed in the attached image.

OLE-Object-error-screenshot.doc
Hi,
Hope you have already tried to import working datawindow from another machine. Can you attach/paste here datawindow source?
The issue is that the person who is the user who has this problem is a screen developer.  If she works on another users machines she does not have this problem but she has to be able to use her own machine.  We know this all works fine on another machine.  We have re-installed Infomaker. I have looked at the datawindow source and see no issues.  She has started with a blank library , created a new datawindow based on a simple select and then added the OLE object and then hits this error trying to save for the first time.
All to no avail.   I still think it is an interaction of applications causing OLE problems on her computer.  The problem is not limited to MS Word but also MS Excel and MS Powerpoint which all exhibit the same problem.   She can view OLE objects embedded by other correctly and can add objects herself but not save them!

Regards,
             Mark
Here is the answer we determined.
Sometimes, when Outlook is installed the OLE connection between Outlook & Word does not take and when you try to print HTML files you will get the error. (matters not if you use word as editor or not --
I guess that Outlook always uses Word as it's HTML Editor). Seems that sometimes the office installation fails to register ole32.dll correctly (or not at all)

To fix this, run this command by clicking Start Run
Regsvr32.exe %Windir%\System32\Ole32.dll
You will get a confirmation that it has succeeded and this should instantly fix your problem (well it did for me).
Thanks for your answer. It was correct but without knowing which OLE object was involved we needed to do more research.