B
Boas Enkler
Hi
I've an Application on my PocketPC Running.
Everything worked fine for weeks. Now I wanted to try some installation
things. and the program doesn't start anymore
these lines of code are producing the error
InitializeComponent();
Icon icon;
icon = new
Icon(this.GetType().Module.Assembly.GetManifestResourceStream("smartCRMPDA13.ico.remote.ico"));
try
{
// Here it Crashes! The Icon is set as embedded source and when I
// COpy the application folder to an other PPC everything works fine!
this.ImageList16px.Images.Add(icon);
}
catch(Exception oErr)
{
// The Exception only says "Exception"....
program.ShowMessageBox(oErr.Message,"Fehler",2);
}
So any hints? I've absolutly no Idea whats going wrong here....
I've an Application on my PocketPC Running.
Everything worked fine for weeks. Now I wanted to try some installation
things. and the program doesn't start anymore
these lines of code are producing the error
InitializeComponent();
Icon icon;
icon = new
Icon(this.GetType().Module.Assembly.GetManifestResourceStream("smartCRMPDA13.ico.remote.ico"));
try
{
// Here it Crashes! The Icon is set as embedded source and when I
// COpy the application folder to an other PPC everything works fine!
this.ImageList16px.Images.Add(icon);
}
catch(Exception oErr)
{
// The Exception only says "Exception"....
program.ShowMessageBox(oErr.Message,"Fehler",2);
}
So any hints? I've absolutly no Idea whats going wrong here....