Previously I used VS2005 with NetAdvantage 10.3. Everything worked fine in all situations.
I upgraded to VS2008 with NetAdvantage 11.2 and the app still compiles and runs without any problems, but if I open any form in the designer I find that some of the controls are drawn at Location 0,0 within their parent control.I also find that I am unable to click on many of the controls. I have to select them from the dropdown list if I want to see their properties.For example, the only way to change tabs on your UltraTabControl is to select the tab control from the dropdown list and then change its SelectedTab property.
Each dialog has a System.Windows.Forms.Panel on it with Dock=Fill, as the background control.For most controls (but not all) it acts as though this panel is at the front - but SendToBack makes no difference.It also displays many of the controls in the bar below the design surface where it normally displays non- visual controls.
It looks like maybe there is a mismatch between the Designer.vb file and the resx file (eg. Location)
Could something be causing it to use the designer from one version of your controls with the actual control from another?Any other ideas?
ThanksMike
Hello Mike,
What you could try here is to go to the Infragistics assemblies that you are referencing and set their "Specific Version" property to False. Also please open your "licenses.licx" file and remove the Infragistics content from there.Once you have done so, please "clean" and "rebuild" your application.
If you have any other questions with this matter please do not hesitate to contact us.
I had already deleted the contents of the license file and done a Clean / Rebuild.
You were correct that it was related to the version though. I had installed build 2034 but the project file still referenced build 2019. (2019 was available in the GAC but 2034 was in the 'Program Files\...' directory you install into)
When I changed the version number in the vbproj file it started working correctly.
For future reference. How do I 'go to' an assembly and set its properties?
Assembly references are only made in the vbproj file as far as I know, and I thought a specific version was required in those entries. Can you give me an example of how I would set it to 'Version independent'.
Thanks
Hello MikeDempsey,
What you could do here is to click on your solution and after that and after that in the "Solution Explorer" tab there is a "Show All" button (in the header area, the second option), and once you click it, it will show your "References". If you now expand them, you could select of the Infragistics assemblies, and set the Specific Version of them to False. This means that regradless of the service release installed on your machine, either base version, or any service release from a given version like 11.1 will be pointed correctly from your GAC and your application will be able to compile and run.
If that is not what you are looking please feel free to let me know.