Efficient File Handling: Mastering iFile Component Usage

Efficient File Handling: Mastering iFile Component Usage

John Lv8

Efficient File Handling: Mastering iFile Component Usage

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

IFilesComponent

The interface is desgined to get files from a project or to add new ones.

Declaration

IFileComponent : IDispatch

https://techidaily.com

Properties

Array Files - Gets all the simple files from the project in an array.

https://techidaily.com

Methods

AddFile(IFolder target, String source) - Adds a new file in the project and returns the file as an object. IFolder target is the directory in which the new file is added. The source as a string is the disk location from which the file is added.

AddFileS(String target, String source) - Adds a new file in the project and returns the file as an object. Target as a string is the folder in Advanced Installer where the file is added. The source as a string is the disk location from which the file is added.

FindFileByPath(String filePath) - Searches for the file in AdvancedInstaller at the specified internal filePath. In case the file is found, an IFile object is returned; otherwise, a null reference is provided.

FindFileBySourcePath(String sourcePath) - Searches for the file in AdvancedInstaller that has the specified sourcePath. In case the file is found an IFile object is returned, otherwise a null reference is provided.

AddFolderContent(IFolder target, String sourcePath) - Adds all the files from the specified sourcePath folder in the target folder.

AddFolderContentS(String target, String sourcePath) - Adds all the files from the specified sourcePath folder in target specified as a string.

Ifilescomponent

https://techidaily.com

See also

IAdvinstProject

IFile

IFolder

IPredefinedFolders

https://techidaily.com

Topics

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Efficient File Handling: Mastering iFile Component Usage
  • Author: John
  • Created at : 2024-10-03 16:00:27
  • Updated at : 2024-10-10 23:25:03
  • Link: https://fox-search.techidaily.com/efficient-file-handling-mastering-ifile-component-usage/
  • License: This work is licensed under CC BY-NC-SA 4.0.