Its been awhile but maybe this can help others.
I had a similar problem. What I discovered is that the appupdater
control was trapping resource exeptions in the application. In my
particular case I had included a graphic and an icon in my application.
When the form that used these resources loaded it would trigger the
exception. However I found that if I clicked Ok on the alert that the
form loaded anyway and it found the resource. I also examined the
resources embedded in the app execuatable and found that the resources
were there. By all accounts it should have worked but I was still
getting this dang exception. I am not sure what caused the original
exception but the way I solved the problem was to include the two files
in my project and to change their build properties to "embedded". I then
modified the form code that loaded those resouces as follows:
---->>>>replace this vvvvvvvvvvvvvvv vvvvvvv
this.pictureBox 1.Image =
((System.Drawin g.Image)(resour ces.GetObject(" pictureBox1.Ima ge")));
---->>>with this vvvvvvvvvvvvvvv
Bitmap image = new Bitmap (GetType (), "logogr-b.gif");
this.pictureBox 1.Image = image;
AND
---->>>replace this vvvvvvvvvvvvvvv vvvvvv
this.Icon =
((System.Drawin g.Icon)(resourc es.GetObject("$ this.Icon")));
---->>>>with this vvvvvvvvvvvvvvv vvvvvvvvvvv
Icon icon = new Icon(GetType(), "ball.ico") ;
this.Icon = icon;
The problem will go away.
Hope this helps. But if it doesn't you can setup you debugging
environment to trap on the exception and step through the code and see
what is going on.
--
gkochanowsky
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------