Hi,
I have develop a project using infragistics win form control the application contains all infragistics controls like GRID, TextBox, Combo and application stylishness
The problem is this when I deploy on Win Vista or Win 7 it works 100% OK, but when I run it on Win XP it shoot a error - please see the attachment file
Please help me it is very important for me.
Thank you!
Atif
Normally this kind of crash comes because one of two problems:
1) You're missing Microsoft .NET run times on the client machine for the .NET version you used on your development machine.
2) Possibly developed on a x86 system with the platform target set to Any CPU and the XP you deployed to was a 64-bit OS.
Additionally, it could happen during the loading of your ISL style file in Program.cs. This happened to me once at a client site when I started using ClickOnce on their solution.
Try using the variable snippet below to use with the style loading method.
String CURRENT_DIRECTORY = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); Infragistics.Win.AppStyling.StyleManager.Load(CURRENT_DIRECTORY + "\\Virtual Horse Manager.isl");