Streamline Your Code with the Advanced Features of iFile Component Technology

Streamline Your Code with the Advanced Features of iFile Component Technology

John Lv8

Streamline Your Code with the Advanced Features of iFile Component Technology

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.

https://techidaily.com

Declaration

IFileComponent : IDispatch

https://techidaily.com

Properties

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

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: Streamline Your Code with the Advanced Features of iFile Component Technology
  • Author: John
  • Created at : 2024-10-05 07:30:50
  • Updated at : 2024-10-11 00:31:47
  • Link: https://fox-search.techidaily.com/streamline-your-code-with-the-advanced-features-of-ifile-component-technology/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Streamline Your Code with the Advanced Features of iFile Component Technology