hi people
I try to open(import) a *.doc file in TRichView, but it gives error.
Error is : Unable to load graphics conversion filter. Continue with document conversion?
i installed OfficeConversion,
i installed Microsoft Word with all options, but doesnt change anything.
also its working many diffrent computers.
please help
my computer doesnt support word document file (*.doc)
-
- Posts: 5
- Joined: Wed Jan 04, 2006 11:13 am
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 5
- Joined: Wed Jan 04, 2006 11:13 am
i used your "Actions" example and this code
i tried the project diffrent two computer and it works perfect
Code: Select all
function TrvActionsResource.IthalEt(RVE: TCustomRichViewEdit): boolean;
var
od:TOpenDialog;
oc:TRVOfficeConverter;
begin
Result:=false;
od:=TOpenDialog.Create(nil);
oc:=TRVOfficeConverter.Create(nil);
try
oc.ExtensionsInFilter:=true;
od.Filter:=oc.GetImportFilter;
if od.Execute and rvActionSave1.CanCloseDoc(frmMMWord.RichViewEdit1) then
begin
RVE.Clear;
RVE.Format;
RVE.Update;
RVE.Clear;
Result:= oc.ImportRV(od.FileName, rve, od.FilterIndex-1);
if Result then
begin
rve.Format;
rve.SetFocus;
end
else
Application.MessageBox('Import File Error','Error');
end;
finally
od.Free;
oc.Free;
end;
end;
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: