> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ConvertFromOldVersion Method of FRDocument Object

> ConvertFromOldVersion method of the FRDocument Object in the ABBYY FineReader Engine API — Loads the contents of an FRDocument from a folder saved by previous FineReader Engine versions; for FRE 12 documents, use LoadFromFolder instead.

This method loads the contents of the [FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument) object from the specified folder, where it should have previously been saved by the [SaveToFolder](/fine-reader/engine/api-reference/document-related-objects/frdocument/savetofolder-method) method.

<Warning>
  Use this method to load the document saved only by the previously supported versions of ABBYY FineReader Engine. If you want to load the documents saved by ABBYY FineReader Engine 12, use the [LoadFromFolder](/fine-reader/engine/api-reference/document-related-objects/frdocument/loadfromfolder-method) method instead.
</Warning>

## Syntax

### C++

```cpp theme={null}
HRESULT ConvertFromOldVersion(
  BSTR                 Path,
  FREngineVersionEnum  FreVersion
);
```

### C\#

```csharp theme={null}
void ConvertFromOldVersion(
  string               Path,
  FREngineVersionEnum  FreVersion
);
```

### Visual Basic .NET

```vb theme={null}
Sub ConvertFromOldVersion( _
  Path As String, _
  FreVersion As FREngineVersionEnum _
)
```

## Parameters

Path

\[in] This variable contains the full path to the folder to load document from.

FreVersion

\[in] This variable specifies the previously supported version of ABBYY FineReader Engine. See the [FREngineVersionEnum](/fine-reader/engine/api-reference/enumerations/frengineversionenum) description for the list of supported versions.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[FRDocument](/fine-reader/engine/api-reference/document-related-objects/frdocument)
