Writes a target file for the active target language.

Syntax:

WriteTargetFile( TargetFile As String, PseudoTranslation As Boolean ) As Boolean
Return: Boolean
Parameters: TargetFile Name and path of the target file.
PseudoTranslation If "PseudoTranslation" is set to "True," the target file will be written with pseudo-translations as determined in the pseudo-translation properties.

Example:
Dim ProjFile As ProjectFile
Dim RetVal As Boolean

Set ProjFile = Application.ActiveProjectFile
RetVal = ProjFile.WriteTargetFile("C:\Data\Target.rc", False)

If Application.Errors.Count > 0 Then
  MsgBox ( Application.Errors.LastError )
End If

See also:

Class ProjectFile | ProjectFile.IsUpToDate | ProjectFile.WriteTargetFile_2


Last Updated: 10/18/09