I tried to ditribute an object that I wrote. Because I want that when the distribute project is rerun, the repair option will allways be selected I change the OnMainUIBefore code to include the following:
ComponentReinstall();
// setup default status
SetStatusWindow(0, "");
Enable(STATUSEX);
StatusUpdate(ON, 100);
When using this code the object is not distributed.
Does anyone knows how to distribute an object that always activate the repair option, in the OnMaint option?
Thank you,
Merav.
P.S. when I used the original code of the OnMaintUiBefore (that shows the dialog with the 3 options) it worked Ok, but I dont want that this dialog will be displayed.
Merav.