Suppose you are interested in upgrading-to-.NET a number of VB6 projects, as listed in the example below:
In this example, the Migration Set contains 7 VB6 projects (.vbp), all located in the following source directory tree:
[WorkDir]\src, where [WorkDir] is D:\gmSamples\newsamples\FMstocks
The purpose of this exercise is to produce correct Interface Description Files (IDFs) for all the externals (libraries and components of .dll, *.ocx, *.tlb, or *.olb extension, for example) referenced by a group of well-formed VB6 projects (.vbp), as listed above for example.
It is assumed that all externals referenced by these projects are properly registered (and licensed, for third-party proprietary components) on the machine where the projects (VBPs) build correctly.
The outputs of this exercise are the IDFs (*.xml files) listed in Step 8.
In gmStudio, select [File][Upgrade Project Wizard …] and press [Next] when ready
In the Form below
Press [Next] when ready to move on with the selected list of projects (seven (7) in this case)
Step 3. Specify Target Output Parameters
In the Form below
In this example, all translation outputsgenerated by gmStudio will be written in the following output directory tree:
[WorkDir]\proj, where [WorkDir] is D:\gmSamples\newsamples\FMstocks
The Form below shows the various translation steps as they are being completed.
Press [Next] to move on to reviewing the results of the translation process.
In the Form below, press the [No, thank you … Next] button, to move on.
In the Form below, press the [Finish] button, to move on.
From the Title Menu, select [View][Interface Description Files] to move to the next step.
The snapshot below shows a listing of the IDFs (*.xml text files), as generated by gmStudio for all the externals referenced in this Upgrade Project. These are contained in following directory:
[WorkDir]\proj\idf\FromIdl, where [WorkDir] is D:\gmSamples\newsamples\FMstocks
In File Explorer, select the [WorkDir]\proj\idf\FromIdl folder and right-click [Send to][Compressed (zipped) folder] in order to compress all of the IDFs into a zip file, FromIdl.zip, as shown below.
At this point, these IDFs will be ready to "ship" for use in gmStudio – on a machine that may not have the corresponding externals properly registered (or licensed in the case of licensed third-party components).