Unofficial Content
  • This documentation is valid for:

All about the IGX File

It basically lets us add routines, forms, DLLs, etc. to a VB project.

When you specify a MAIN object, the Visual Basic proyect (*.VBP) is generated; what the generator does is add everything it finds in the IGX file (same name as the EXE GeneXus generates, but with IGX extension) .
- It’s a flat file
- The IGX file must be in the same folder as the EXE
- The routines (*.bas) and forms (*.frm) must also be copied to the EXE’s folder
- It’s not necessary to copy the DLLs, OCXs, etc. registered in the registry to the folder (that’s what the registry is used for).


 

Example: How the IGX is generated to include a DLL
- Open the proyect (*.VBP) with Visual Basic
- Manually include the necessary DLL
- Open the proyect with Notepad or similar program
- Copy the sentences which correspond to the DLL
- Create a file with the same name as the EXE, but with a IGX extension.
- Paste what you just copied.
- In case of working with GeneXus 7.5 or higher, you have to substitute the # for ##
- Verify that there’s an Enter at the end of each line (to be sure, you can leave a blank line).
- With GeneXus, it’s necessary to once again specify the MAIN object
- If VB was opened, close it (in these cases Reload does not work)


Example
Reference=*\G{00000201-0000-0010-8000-00AA006D2EA4}##2.1##0##C:\Program Files\Common Files\System\ADO\msado21.tlb##Microsoft ActiveX Data Objects 2.1 Library
Reference=*\G{420B2830-E718-11CF-893D-00A0C9054228}##1.0##0##C:\WINNT\System32\Scrrun.dll##Microsoft Scripting Runtime
Module=VariablesGenerales;Inetwork_VarGen .bas

Ricardo Coulthurst
soporte@inetwork.com.uy
www.inetwork.com.uy

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant