How do I go about passing a variable from one application to another using VB6? I would like to have a main executable that starts a second, third, etc.. executable which then in turn start up based upon a variable passed from the first.
i.e. -
User selects "ACCOUNTING - ENTRY" in Main.exe
Main.exe sets variable "varFormName" to "frm_DataEntry"
Main.exe opens Accounting.exe
Accounting.exe evaluates variable "varFormName" and acts accordingly, opening "frm_DataEntry" instead of another form.
i.e. -
User selects "ACCOUNTING - ENTRY" in Main.exe
Main.exe sets variable "varFormName" to "frm_DataEntry"
Main.exe opens Accounting.exe
Accounting.exe evaluates variable "varFormName" and acts accordingly, opening "frm_DataEntry" instead of another form.