Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
Embed styles files in a ClickOnce app
posted

I'm trying to embed style (.isl) files into my windows form app and deploy it as a ClickOnce app, but the files are not going into the ClickOnce, how do I deploy them and then load them?

 

My code looks like this:

 

StyleManager.Load(@Application.StartupPath + @"\Styles\Office2007Black.isl");

But, I keep getting an exception on them when the application is launched from the browser, complaining that the file was not found.

 

Thanks,

Ninos

Parents
No Data
Reply Children
No Data