MakeCabFile Method
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate Namespace > Utilities Class : MakeCabFile Method



source
The directory which contains the files that must be included in the cabinet or xsn file.
destination
The location of the cabinet or xsn file.
temp
A temporary directory in which the cabinet file is created before copying it to the destination.

Glossary Item Box

Makes a cabinet or xsn file from a list of files in a directory.

Syntax

Visual Basic (Declaration) 
Public Shared Sub MakeCabFile( _
   ByVal source As DirectoryInfo, _
   ByVal destination As FileInfo, _
   ByVal temp As DirectoryInfo _
) 
Visual Basic (Usage)Copy Code
Dim source As DirectoryInfo
Dim destination As FileInfo
Dim temp As DirectoryInfo
 
Utilities.MakeCabFile(source, destination, temp)
C# 
public static void MakeCabFile( 
   DirectoryInfo source,
   FileInfo destination,
   DirectoryInfo temp
)
C++/CLI 
public:
static void MakeCabFile( 
   DirectoryInfo^ source,
   FileInfo^ destination,
   DirectoryInfo^ temp
) 

Parameters

source
The directory which contains the files that must be included in the cabinet or xsn file.
destination
The location of the cabinet or xsn file.
temp
A temporary directory in which the cabinet file is created before copying it to the destination.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also