Of course, I know what to do this, you need to use the FCICreate and FCIAddFile functions from the library cabinet.dll . Moreover, I understand perfectly well that these functions use the CDecl convention. However, I could not find the code for VB on the Internet. I know that this is a very complex code, but I thought maybe someone already had it written. For example, I was able to find such a code in Delphi quite calmly.