manney_mcvicker
asked on
Linking OLE Objects
We have linked an RTF file to a Report header.
On our development machines .RTF files are associated with WordPad.exe.
We have tried to install the report on a client that has had Microsoft Word installed and the file association has been replaced and was associated with WinWord.exe. When we try to run the report on the client we get the following errors
1) Some links could not be updated because their sources are presently unavailable.
2) Failed to launch server application when i try to open source
I have tried deleting the file association to WINWORD and re-associationg it with WordPad but to no avail.
Helllllpppppp!!
On our development machines .RTF files are associated with WordPad.exe.
We have tried to install the report on a client that has had Microsoft Word installed and the file association has been replaced and was associated with WinWord.exe. When we try to run the report on the client we get the following errors
1) Some links could not be updated because their sources are presently unavailable.
2) Failed to launch server application when i try to open source
I have tried deleting the file association to WINWORD and re-associationg it with WordPad but to no avail.
Helllllpppppp!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys,
SJWood, that worked a treat! Have you had this problem before or something ?? Cheers anyways
Manney
SJWood, that worked a treat! Have you had this problem before or something ?? Cheers anyways
Manney
The reason why you got the "Some links could not be updated because their sources are presently unavailable." error message is that with OLE Object, upon running the report (RPT), it will look for the RTF file associated to it at the directory where it is located when you created the report. Say if you inserted an OLE object (in your case an RTF file) at designed time located at "c:\temp\oleobjects\My.RTF
On the client machine, try making a directory the same as in your development machine and copy the RTF file on it. This will solve your problem.
I don't know if there's a property we can set to specify the path of the OLE object at runtime but the thing I mentioned above will work fine for now.
Best of luck,
jrmn