Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can not add any control to a form and save it (Read 1995 times)
CanadaProgrammer
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 113
Joined: Jun 30th, 2011
Can not add any control to a form and save it
Jul 29th, 2015 at 6:31am
Print Post  
I drag and control from toolbox to add a control to a form such Diagram, DiagramView. But I can not save the form. When I do it I get a error like what attachment shows.

My VS is 2013 Ultimate, OS is Win8 64bit
  

Untitled_014.png ( 8 KB | 145 Downloads )
Untitled_014.png
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Can not add any control to a form and save it
Reply #1 - Jul 29th, 2015 at 7:14am
Print Post  
This happens if currently registered Diagramming.WinForms.Design.dll does no match the Diagramming.WinForms.dll used in project, or if VS has loaded two copies of the diagramming.dll. Have you uninstalled your previous version of the control before installing current one? You should still be able to save by resetting Diagram.DefaultShape to its default value so VS does not try to generate assignments for it, and set it later from Load handler.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint