G
Guest
I am using ClickOnce to distribute a program. It works well except for one
detail. When a new version is installed, the program does not initialize
properly immediately after the update. The sequence is the user starts the
program, is informed a new version is ready, installs it, when it is complete
and the main form is displayed, the user needs close the form, and restarts
the program to the form to initialize properly.
The problem is that several controls are left disabled. The program uses
MDI with a main form and several child forms as needed. The problem is on
the main form. The controls that are not enabled are two list boxes, a tool
bar, and a user control containing a numeric control. The menu and form tool
bar initialize ok. The form uses the table layout control and several
panels’ controls. The controls that do not initialize properly are in there
own panel in a cell of the table layout control. It is like the list boxes
are not there, they control the other controls determining when they are
enabled.
One list box is bound to a table and is filled. However, the value change
event does not seam to be working. The other list box, contains a the list
of the available MDI child forms and is filled in manually. It list is not
filled in or updated even when I generate a new MDI child form.
Restarting the program and every thing works normally.
How do I get the form to run normally form the start?
detail. When a new version is installed, the program does not initialize
properly immediately after the update. The sequence is the user starts the
program, is informed a new version is ready, installs it, when it is complete
and the main form is displayed, the user needs close the form, and restarts
the program to the form to initialize properly.
The problem is that several controls are left disabled. The program uses
MDI with a main form and several child forms as needed. The problem is on
the main form. The controls that are not enabled are two list boxes, a tool
bar, and a user control containing a numeric control. The menu and form tool
bar initialize ok. The form uses the table layout control and several
panels’ controls. The controls that do not initialize properly are in there
own panel in a cell of the table layout control. It is like the list boxes
are not there, they control the other controls determining when they are
enabled.
One list box is bound to a table and is filled. However, the value change
event does not seam to be working. The other list box, contains a the list
of the available MDI child forms and is filled in manually. It list is not
filled in or updated even when I generate a new MDI child form.
Restarting the program and every thing works normally.
How do I get the form to run normally form the start?